Fix bad keymaps
This commit is contained in:
parent
7543e338db
commit
0e22bd6b29
@ -28,14 +28,14 @@ return {
|
||||
-- replaced with true-zen.nvim
|
||||
-- vim.keymap.set('n', [[<C-a>z]], [[<Cmd>ToggleTermToggleAll<CR>]])
|
||||
-- vim.keymap.set('t', [[<C-a>z]], [[<Cmd>tab split<CR>]])
|
||||
{ "t", "<Esc>", [[<C-\><C-n>]], { desc = "Escape terminal mode" } },
|
||||
{ "t", "<C-j>", [[<Cmd>wincmd h<CR>]], { desc = "Move focus down one window" } },
|
||||
{ "t", "<C-k>", [[<Cmd>wincmd k<CR>]], { desc = "Move focus up one window" } },
|
||||
{ "t", "<C-h>", [[<Cmd>wincmd h<CR>]], { desc = "Move focus left one window" } },
|
||||
{ "t", "<C-l>", [[<Cmd>wincmd l<CR>]], { desc = "Move focus right one window" } },
|
||||
{ "n", [[<C-\>]], [[<Cmd>ToggleTerm<CR>]] },
|
||||
{ "n", "<F12>", [[<Cmd>ToggleTerm<CR>]] },
|
||||
{ "t", "<F12>", [[<Cmd>ToggleTerm<CR>]] },
|
||||
{ "<Esc>", [[<C-\><C-n>]], mode = "t", { desc = "Escape terminal mode" } },
|
||||
{ "<C-j>", [[<Cmd>wincmd h<CR>]], mode = "t", { desc = "Move focus down one window" } },
|
||||
{ "<C-k>", [[<Cmd>wincmd k<CR>]], mode = "t", { desc = "Move focus up one window" } },
|
||||
{ "<C-h>", [[<Cmd>wincmd h<CR>]], mode = "t", { desc = "Move focus left one window" } },
|
||||
{ "<C-l>", [[<Cmd>wincmd l<CR>]], mode = "t", { desc = "Move focus right one window" } },
|
||||
{ [[<C-\>]], [[<Cmd>ToggleTerm<CR>]] },
|
||||
{ "<F12>", [[<Cmd>ToggleTerm<CR>]] },
|
||||
{ "<F12>", [[<Cmd>ToggleTerm<CR>]], mode = "t" },
|
||||
-- { "<leader>H", "<cmd>lua _clx_toggle()<CR>", { desc = "Toggle clx (console HackerNews) floating terminal" } },
|
||||
-- { "<leader>G", "<cmd>lua _gitui_toggle()<CR>", { desc = "Toggle gitui floating terminal" } },
|
||||
},
|
||||
|
@ -2,13 +2,13 @@ return {
|
||||
"Pocco81/true-zen.nvim",
|
||||
cmd = { "TZNarrow", "TZFocus", "TZMinimalist", "TZAtaraxis" },
|
||||
keys = {
|
||||
{ "n", "<leader>zn", [[<Cmd>:TZNarrow<CR>]], { desc = "[Z]oom [N]arrow current line" } },
|
||||
{ "v", "<leader>zn", [[<Cmd>:'<,'>TZNarrow<CR>]], { desc = "[Z]oom [N]arrow selected lines" } },
|
||||
{ "n", "<leader>zf", [[<Cmd>:TZFocus<CR>]], { desc = "[Z]oom [N]arrow current buffer in new tab" } },
|
||||
{ "n", "<leader>zm", [[<Cmd>:TZMinimalist<CR>]], { desc = "[Z] Toggle minimalist nvim UI mode" } },
|
||||
{ "n", "<leader>za", [[<Cmd>:TZAtaraxis<CR>]], { desc = "[Z]oom [A]taraxis current buffer minimalist mode" } },
|
||||
{ "<leader>zn", [[<Cmd>:TZNarrow<CR>]], { desc = "[Z]oom [N]arrow current line" } },
|
||||
{ "<leader>zn", [[<Cmd>:'<,'>TZNarrow<CR>]], mode = "v", { desc = "[Z]oom [N]arrow selected lines" } },
|
||||
{ "<leader>zf", [[<Cmd>:TZFocus<CR>]], { desc = "[Z]oom [N]arrow current buffer in new tab" } },
|
||||
{ "<leader>zm", [[<Cmd>:TZMinimalist<CR>]], { desc = "[Z] Toggle minimalist nvim UI mode" } },
|
||||
{ "<leader>za", [[<Cmd>:TZAtaraxis<CR>]], { desc = "[Z]oom [A]taraxis current buffer minimalist mode" } },
|
||||
-- tmux memory for fullscreening nvim window
|
||||
{ "n", [[<C-a>z]], [[<Cmd>:TZFocus<CR>]], { desc = "Toggle [Z]oom current buffer in new tab" } },
|
||||
{ "t", [[<C-a>z]], [[<Cmd>:TZFocus<CR>]], { desc = "Toggle [Z]oom current terminal buffer in new tab" } },
|
||||
{ [[<C-a>z]], [[<Cmd>:TZFocus<CR>]], { desc = "Toggle [Z]oom current buffer in new tab" } },
|
||||
{ [[<C-a>z]], [[<Cmd>:TZFocus<CR>]], mode = "t", { desc = "Toggle [Z]oom current terminal buffer in new tab" } },
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user