mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
add open-terminal hotkey
This commit is contained in:
parent
5af18122d7
commit
238c128658
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,9 @@ vim.keymap.set('n', "<C-Down>", "<cmd>resize +2<cr>")
|
||||||
vim.keymap.set('n', "<C-Left>", "<cmd>vertical resize -2<cr>")
|
vim.keymap.set('n', "<C-Left>", "<cmd>vertical resize -2<cr>")
|
||||||
vim.keymap.set('n', "<C-Right>", "<cmd>vertical resize +2<cr>")
|
vim.keymap.set('n', "<C-Right>", "<cmd>vertical resize +2<cr>")
|
||||||
|
|
||||||
|
vim.keymap.set('n', "<C-/>", "<cmd>:terminal<cr>")
|
||||||
|
vim.keymap.set('n', "<C-_>", "<cmd>:terminal<cr>") -- This is Ctrl+/ on some terminals?
|
||||||
|
|
||||||
vim.cmd("autocmd TermOpen * setlocal nonumber norelativenumber signcolumn=no")
|
vim.cmd("autocmd TermOpen * setlocal nonumber norelativenumber signcolumn=no")
|
||||||
for _, key in pairs({ 'h', 'j', 'k', 'l' }) do
|
for _, key in pairs({ 'h', 'j', 'k', 'l' }) do
|
||||||
for _, mod in pairs({ 'C', 'A' }) do
|
for _, mod in pairs({ 'C', 'A' }) do
|
||||||
|
|
Loading…
Reference in a new issue