remap toggle terminal and switch from terminal mode to C-_

This commit is contained in:
lupan committed 2023-09-02 22:29:34 +02:00
1 parent 7f85740946
commit 5eee614863
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -137,7 +137,7 @@ require('lazy').setup({
version = "*",
opts = {
direction = "float",
open_mapping = [[<C-\>]],
open_mapping = [[<C-_>]],
}
},
+1 -1
View File
@@ -75,7 +75,7 @@ vim.keymap.set("n", "<leader>ss", "<cmd>source ~/.config/nvim/after/plugin/luasn
-- terminal
key('t', '<C-g>', '<C-\\><C-n>')
key('t', '<C-_>', '<C-\\><C-n>')
-- harpoon