nvim/lua/keymaps/system.lua

13 lines
573 B
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- Выход из режима "ВСТАВКА" (insert)
vim.keymap.set('i', '<C-i>', '<escape>', {noremap = true})
-- Быстрый сдвиг текста в режиме 'ВСТАВКА' (insert)
vim.keymap.set('i', '<tab>', '<cmd>><cr>', {noremap = true})
vim.keymap.set('i', '<s-tab>', '<cmd><<cr>', {noremap = true})
-- Отключение стрелок
vim.keymap.set('n', '<left>', '', {noremap = true})
vim.keymap.set('n', '<up>', '', {noremap = true})
vim.keymap.set('n', '<right>', '', {noremap = true})
vim.keymap.set('n', '<down>', '', {noremap = true})