fixed up/down arrow behavior in insert mode
This commit is contained in:
parent
2ef3190380
commit
72e7f7e079
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@ vim.api.nvim_set_keymap('', 'k', 'gk', snoremap)
|
|||
vim.api.nvim_set_keymap('', 'j', 'gj', snoremap)
|
||||
vim.api.nvim_set_keymap('', '<Up>', 'gk', snoremap)
|
||||
vim.api.nvim_set_keymap('', '<Down>', 'gj', snoremap)
|
||||
vim.api.nvim_set_keymap('i', '<Up>', '<c-\\><c-o>gk', snoremap)
|
||||
vim.api.nvim_set_keymap('i', '<Down>', '<c-\\><c-o>gj', snoremap)
|
||||
|
||||
-- file navigation
|
||||
vim.api.nvim_set_keymap('n', '-', '<cmd>lua require("telescope").extensions.vinegar.file_browser()<cr>', noremap)
|
||||
|
|
Loading…
Reference in a new issue