fix nvim commandline
This commit is contained in:
parent
52f778ff4b
commit
d3883ca1ce
@ -12,9 +12,9 @@ opt.relativenumber = true
|
||||
opt.clipboard:append { 'unnamed' }
|
||||
opt.clipboard:append { 'unnamedplus' }
|
||||
|
||||
opt.shortmess:append { s = true, I = true } -- disable startup message
|
||||
opt.shortmess:append{a = true, s = true, I = true, c = true, S = true } -- disable startup message
|
||||
|
||||
opt.cmdheight = 0
|
||||
opt.cmdheight = 1
|
||||
vim.wo.signcolumn = "yes:2"
|
||||
|
||||
opt.shell = 'zsh'
|
||||
|
||||
@ -1,21 +0,0 @@
|
||||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
config = function()
|
||||
require("neo-tree").setup({
|
||||
close_if_last_window = true,
|
||||
filesystem = {
|
||||
hide_gitignored = true,
|
||||
hijack_netrw_behavior = "open_current",
|
||||
},
|
||||
window = {
|
||||
mappings = {
|
||||
["l"] = "open",
|
||||
}
|
||||
}
|
||||
})
|
||||
end
|
||||
}
|
||||
@ -1,5 +1,8 @@
|
||||
return {
|
||||
"folke/noice.nvim",
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim"
|
||||
},
|
||||
config = function()
|
||||
require("noice").setup({
|
||||
cmdline = {
|
||||
@ -18,6 +21,9 @@ return {
|
||||
messages = {
|
||||
enabled = false,
|
||||
},
|
||||
notify = {
|
||||
enabled = false,
|
||||
}
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
||||
@ -71,8 +71,8 @@ bindkey -M viins '\e.' insert-last-word
|
||||
bindkey -M vicmd '^K' up-line-or-history
|
||||
bindkey -M vicmd '^J' down-line-or-history
|
||||
bindkey '^[[Z' reverse-menu-complete
|
||||
bindkey "^[[A~" history-beginning-search-backward
|
||||
bindkey "^[[B~" history-beginning-search-forward
|
||||
# bindkey "^[[A~" history-beginning-search-backward
|
||||
# bindkey "^[[B~" history-beginning-search-forward
|
||||
|
||||
|
||||
insert-sudo() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user