mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-13 19:32:58 +01:00
fix toggleterm keybindings
This commit is contained in:
parent
a04f193729
commit
0d082554f6
2 changed files with 1 additions and 7 deletions
|
@ -7,12 +7,6 @@ map("t", "<Esc>", "<C-\\><C-n>", {})
|
|||
map("n", "ff", "<cmd>Telescope find_files<cr>", { silent = true })
|
||||
map("n", "fg", "<cmd>Telescope live_grep<cr>", { silent = true })
|
||||
|
||||
-- neoterm.nvim
|
||||
map("n", "tt", "<cmd>NeotermToggle<cr>", { silent = true })
|
||||
map("n", "tr", ":NeotermRun<space>", {})
|
||||
map("n", "te", "<cmd>NeotermExit<cr>", { silent = true })
|
||||
map("n", "ta", "<cmd>NeotermRerun<cr>", { silent = true })
|
||||
|
||||
-- Quick cursor movement
|
||||
map("n", "<C-Down>", "5j", { noremap = true })
|
||||
map("n", "<C-Up>", "5k", { noremap = true })
|
||||
|
|
|
@ -2,6 +2,6 @@ local tterm = require "toggleterm"
|
|||
|
||||
tterm.setup {
|
||||
size = 64,
|
||||
open_mapping = [[tt]],
|
||||
open_mapping = [[<C-t>]],
|
||||
direction = "vertical",
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue