1234567891011121314151617181920212223242526272829303132333435363738 |
- -- vim:fileencoding=utf-8:foldmethod=marker:foldmarker={{{,}}}
- -- {{{ imports and defines
- require "nvchad.mappings"
- local map = vim.keymap.set
- -- }}}
- -- {{{ Keymaps
- -- {{{ Normal mode
- map("n", ";", ":", { desc = "CMD enter command mode" })
- -- }}}
- -- {{{ Insert mode
- -- {{{ Exit from insert mode
- map("i", "jk", "<ESC>")
- map("i", "jj", "<ESC>")
- map("i", "kk", "<ESC>")
- -- }}}
- -- }}}
- -- {{{ All modes
- -- Don't work in insert mode
- --map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")
- -- }}}
- -- }}}
|