nvim remove jf escape
This commit is contained in:
parent
82d9a032ab
commit
6f13de7d44
@ -101,30 +101,6 @@ return {
|
||||
require("marks").setup()
|
||||
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',
|
||||
config = function()
|
||||
|
||||
@ -44,12 +44,13 @@ return {
|
||||
["<C-p>"] = actions.preview_scrolling_up,
|
||||
["<C-a>"] = actions.toggle_all,
|
||||
["<C-o>"] = actions.toggle_selection,
|
||||
["?"] = actions.which_key,
|
||||
["jf"] = { "<esc>", type = "command" },
|
||||
},
|
||||
n = {
|
||||
["jf"] = actions.close,
|
||||
["?"] = actions.which_key,
|
||||
["<C-j>"] = actions.move_selection_next,
|
||||
["<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 = " ",
|
||||
|
||||
@ -1,10 +1,7 @@
|
||||
|
||||
KEYTIMEOUT=1
|
||||
# Activate vim mode.
|
||||
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 'a' vi-add-next
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user