From 238c1286588c9816f5bd5a4613538956d66ee045 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Thu, 21 Mar 2024 13:30:31 -0400 Subject: [PATCH] add open-terminal hotkey --- pkgs/bck-nvim/lua/9-misc.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/bck-nvim/lua/9-misc.lua b/pkgs/bck-nvim/lua/9-misc.lua index 690b15b..d31f39c 100644 --- a/pkgs/bck-nvim/lua/9-misc.lua +++ b/pkgs/bck-nvim/lua/9-misc.lua @@ -26,6 +26,9 @@ vim.keymap.set('n', "", "resize +2") vim.keymap.set('n', "", "vertical resize -2") vim.keymap.set('n', "", "vertical resize +2") +vim.keymap.set('n', "", ":terminal") +vim.keymap.set('n', "", ":terminal") -- This is Ctrl+/ on some terminals? + vim.cmd("autocmd TermOpen * setlocal nonumber norelativenumber signcolumn=no") for _, key in pairs({ 'h', 'j', 'k', 'l' }) do for _, mod in pairs({ 'C', 'A' }) do