diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-07-24 15:41:03 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-07-24 15:41:03 +0200 |
| commit | 89637b6bfad53a0e7d3ec9cd1a87ba9236776516 (patch) | |
| tree | 2dacafb314f3831a0f7111bf6a3af5f5102f712e | |
| parent | ecfe86e9e2d6994f659711671e6c74e925fc2f75 (diff) | |
| download | dotfiles-89637b6bfad53a0e7d3ec9cd1a87ba9236776516.tar.gz dotfiles-89637b6bfad53a0e7d3ec9cd1a87ba9236776516.zip | |
Make "kj" also exit insert-mode
| -rw-r--r-- | lua/user/keys.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/user/keys.lua b/lua/user/keys.lua index 7275ac8..7fb712f 100644 --- a/lua/user/keys.lua +++ b/lua/user/keys.lua @@ -19,8 +19,9 @@ vim.g.mapleader = ";" -- Repeat last command using `<Space>` instead of `.` NOTE: commented out in favour of "ggandor/flit.nvim" --map("n", "<Space>", ".") --- "jk" to exit insert-mode +-- "jk" and "kj" to exit insert-mode map("i", "jk", "<esc>") +map("i", "kj", "<esc>") -- Reload nvim config map("n", "<leader><CR>", |
