neovim better escape mappings
This commit is contained in:
parent
b902354702
commit
0fbdae557d
@ -32,8 +32,8 @@ map('n', '<C-f>', ':set hlsearch<CR>/\\V<C-r><C-w>\\C<CR>')
|
||||
map('n', '<Leader>hl', create_function_tabdo('lua toggle_number_style()'),
|
||||
{desc = "Toggle line number style"})
|
||||
|
||||
map('i', 'jf', '<ESC>')
|
||||
map('i', 'оа', '<ESC>')
|
||||
map('i', 'jf', '<ESC>`^')
|
||||
map('i', 'оа', '<ESC>`^')
|
||||
|
||||
map('n', '<Enter>', 'o<ESC>')
|
||||
map('n', '<Space>', 'O<ESC>')
|
||||
|
||||
@ -4,6 +4,7 @@ return {
|
||||
require("better_escape").setup({
|
||||
mapping = {'jf', 'оа'},
|
||||
timeout = vim.o.timeoutlen,
|
||||
keys = '<ESC>`^'
|
||||
})
|
||||
end,
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user