nvim remove jf escape
This commit is contained in:
parent
82d9a032ab
commit
6f13de7d44
@ -101,30 +101,6 @@ return {
|
|||||||
require("marks").setup()
|
require("marks").setup()
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"max397574/better-escape.nvim",
|
|
||||||
config = function()
|
|
||||||
require("better_escape").setup({
|
|
||||||
timeout = vim.o.timeoutlen,
|
|
||||||
default_mappings = false,
|
|
||||||
mappings = {
|
|
||||||
i = {
|
|
||||||
j = {
|
|
||||||
f = "<ESC>`^"
|
|
||||||
},
|
|
||||||
["о"] = {
|
|
||||||
["а"] = "<ESC>`^"
|
|
||||||
},
|
|
||||||
},
|
|
||||||
c = {
|
|
||||||
j = {
|
|
||||||
f = "<Esc>",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'Pocco81/auto-save.nvim',
|
'Pocco81/auto-save.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
|
|||||||
@ -44,12 +44,13 @@ return {
|
|||||||
["<C-p>"] = actions.preview_scrolling_up,
|
["<C-p>"] = actions.preview_scrolling_up,
|
||||||
["<C-a>"] = actions.toggle_all,
|
["<C-a>"] = actions.toggle_all,
|
||||||
["<C-o>"] = actions.toggle_selection,
|
["<C-o>"] = actions.toggle_selection,
|
||||||
["?"] = actions.which_key,
|
|
||||||
["jf"] = { "<esc>", type = "command" },
|
|
||||||
},
|
},
|
||||||
n = {
|
n = {
|
||||||
["jf"] = actions.close,
|
["<C-j>"] = actions.move_selection_next,
|
||||||
["?"] = actions.which_key,
|
["<C-k>"] = actions.move_selection_previous,
|
||||||
|
["<C-n>"] = actions.preview_scrolling_down,
|
||||||
|
["<C-p>"] = actions.preview_scrolling_up,
|
||||||
|
["<C-a>"] = actions.toggle_all,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
selection_caret = " ",
|
selection_caret = " ",
|
||||||
|
|||||||
@ -1,10 +1,7 @@
|
|||||||
|
KEYTIMEOUT=1
|
||||||
# Activate vim mode.
|
# Activate vim mode.
|
||||||
bindkey -v
|
bindkey -v
|
||||||
|
|
||||||
bindkey -M viins 'jf' vi-cmd-mode
|
|
||||||
|
|
||||||
bindkey -M visual 'jf' vi-cmd-mode
|
|
||||||
bindkey -M visual 'i' vi-insert
|
bindkey -M visual 'i' vi-insert
|
||||||
bindkey -M visual 'a' vi-add-next
|
bindkey -M visual 'a' vi-add-next
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user