refactor(nvim): remove split movement keys

These keys were never really used
This commit is contained in:
Price Hiller 2023-09-08 08:44:34 -05:00
parent f912f1881e
commit 03ac137c3c
No known key found for this signature in database

View File

@ -56,12 +56,6 @@ M.setup = function()
vim.opt.spell = not vim.opt.spell:get()
end, { silent = true, desc = "Toggle Spell" })
-- Better split movement
vim.keymap.set("n", "<C-l>", "<C-w>l", { silent = true })
vim.keymap.set("n", "<C-h>", "<C-w>h", { silent = true })
vim.keymap.set("n", "<C-k>", "<C-w>k", { silent = true })
vim.keymap.set("n", "<C-j>", "<C-w>j", { silent = true })
-- Set current focused file as cwd
vim.keymap.set("n", "<leader>cd", ":cd %:p:h<CR>", { silent = true, desc = "Change CWD to Current File" })