diff options
| Commit | aeef6cde1abf7ced1940c27fa71b0fc166c20635 (patch) | |
|---|---|---|
| Author | 2025-07-16 20:41:51 +0300 | |
| Committer | 2025-07-16 20:41:51 +0300 | |
| Files | 8ac03c76cf1a4893629839ff2b3af974672bea25 /lua | |
| anderson-aeef6cde1abf7ced1940c27fa71b0fc166c20635.tar anderson-aeef6cde1abf7ced1940c27fa71b0fc166c20635.tar.gz anderson-aeef6cde1abf7ced1940c27fa71b0fc166c20635.zip | ||
| Parent | 49f7dee15f24c1397611fdf2eef84a27ff3a3b78 (diff) | |
feat: Add Ctrl-t, reset Ctrl-a, Ctrl-x, Tab in command mode
2 files changed, 4 insertions, 4 deletions
| -rw-r--r-- | lua/mappings.lua | 7 | ||||
| -rw-r--r-- | lua/plugins/default.lua | 1 |
diff --git a/lua/mappings.lua b/lua/mappings.lua index 49d7eb0..7ddae81 100644 --- a/lua/mappings.lua +++ b/lua/mappings.lua @@ -52,6 +52,7 @@ end -- Quality of life map.t["Esc><Esc"]("<C-\\><C-N>") +map.n.Control_t(":topl sp | ter" .. keys.Enter) -- Tab navigation map.n.Alt_p("gt") @@ -76,13 +77,13 @@ map.t.Control_k("<C-\\><C-o>" .. windownav("k") .. "<Esc>") -- Ctrl-S, Ctrl-A, Ctrl-C, Ctrol-X map.i.Control_s(icommand(":w")) -map.i.Control_a(keys.Escape .. "ggVG") +-- map.i.Control_a(keys.Escape .. "ggVG") map.n.Control_s(":w" .. keys.Enter) -map.n.Control_a("ggVG") +-- map.n.Control_a("ggVG") map.x.Control_c('"+y') -map.x.Control_x('"+d') +-- map.x.Control_x('"+d') -- Undo/redo map.i.Control_r(keys.Control_o .. keys.Control_r) diff --git a/lua/plugins/default.lua b/lua/plugins/default.lua index f99df26..7f3c3cb 100644 --- a/lua/plugins/default.lua +++ b/lua/plugins/default.lua @@ -49,7 +49,6 @@ return { "luukvbaal/nnn.nvim", keys = { { "<Tab>", ":NnnExplorer<CR>", mode = "n", }, - { "<Tab>", "<C-\\><C-O>:NnnExplorer<CR>", mode = "t", }, }, config = true, opts = { |
