diff --git a/homeConfig/modules/neovim/config/lazyvim/lua/config/autocmds.lua b/homeConfig/modules/neovim/config/lazyvim/lua/config/autocmds.lua index 5ee28b4..e242cc4 100644 --- a/homeConfig/modules/neovim/config/lazyvim/lua/config/autocmds.lua +++ b/homeConfig/modules/neovim/config/lazyvim/lua/config/autocmds.lua @@ -6,6 +6,15 @@ vim.cmd([[ au BufRead,BufNewFile *.purs set filetype=purescript ]]) +require("which-key").register({ + t = { + ":new | setlocal nonumber norelativenumber | resize 10 | terminal", + "Open terminal in new window", + }, +}, { + prefix = "", +}) + require("notify").setup({ background_colour = "#000000", }) diff --git a/homeConfig/modules/neovim/config/lazyvim/lua/config/keymaps.lua b/homeConfig/modules/neovim/config/lazyvim/lua/config/keymaps.lua index 89c36f8..b41e639 100644 --- a/homeConfig/modules/neovim/config/lazyvim/lua/config/keymaps.lua +++ b/homeConfig/modules/neovim/config/lazyvim/lua/config/keymaps.lua @@ -6,9 +6,3 @@ vim.keymap.set("n", "", "zz", { silent = true }) vim.keymap.set("n", "", "zz", { silent = true }) vim.keymap.set("n", "H", ":bprev", { silent = true }) vim.keymap.set("n", "L", ":bnext", { silent = true }) -vim.keymap.set( - "n", - "t", - ":new | setlocal nonumber norelativenumber | resize 10 | terminal", - { noremap = true, silent = true } -)