chore: hide OA, OB in shell history
See https://vi.stackexchange.com/questions/27015/vim-mouse-scrolling-on-konsole-show-oa-at-the-top-and-ob-at-the-bottom-of-thmain
parent
4db9e400ac
commit
9980e8999d
|
@ -15,6 +15,8 @@ history_filter = [
|
||||||
"^builtin",
|
"^builtin",
|
||||||
"^z$",
|
"^z$",
|
||||||
'^\[',
|
'^\[',
|
||||||
|
"OA",
|
||||||
|
"OB",
|
||||||
]
|
]
|
||||||
|
|
||||||
enter_accept = false
|
enter_accept = false
|
||||||
|
|
|
@ -590,19 +590,4 @@ require("lazy").setup({
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- https://github.com/ray-x/go.nvim
|
|
||||||
{
|
|
||||||
"ray-x/go.nvim",
|
|
||||||
dependencies = {
|
|
||||||
"ray-x/guihua.lua",
|
|
||||||
"neovim/nvim-lspconfig",
|
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
},
|
|
||||||
config = function()
|
|
||||||
require("go").setup()
|
|
||||||
end,
|
|
||||||
event = { "CmdlineEnter" },
|
|
||||||
ft = { "go", "gomod" },
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Put this on top of ~/.zshrc
|
# Put this on top of ~/.zshrc
|
||||||
|
|
||||||
# https://zsh.sourceforge.io/Doc/Release/Parameters.html#Parameters-Used-By-The-Shell
|
# https://zsh.sourceforge.io/Doc/Release/Parameters.html#Parameters-Used-By-The-Shell
|
||||||
export HISTORY_IGNORE="(ls|ll|la|ls *|ll *|la *|cd|pwd|exit|builtin *|*:|z|[*)"
|
export HISTORY_IGNORE="(ls|ll|la|ls *|ll *|la *|cd|pwd|exit|builtin *|*:|z|[*|OA|OB)"
|
||||||
export HISTSIZE=100000000
|
export HISTSIZE=100000000
|
||||||
export SAVEHIST=$HISTSIZE
|
export SAVEHIST=$HISTSIZE
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue