From 44063ad379d9281f28a6a91347a138bb086b9873 Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Fri, 11 Jul 2025 17:51:56 -0700 Subject: [PATCH] Remove incorrect config for pane navigation that is handled in plugins --- .config/nvim/init.lua | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 2e2f2d1..a855b7a 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -5,10 +5,7 @@ vim.cmd("set softtabstop=2") vim.cmd("set shiftwidth=2") -- Configure Navigation Keys ---vim.keymap.set('n', '', ':wincmd h') ---vim.keymap.set('n', '', ':wincmd l') ---vim.keymap.set('n', '', ':wincmd k') ---vim.keymap.set('n', '', ':wincmd j') +-- This is all handled by the vim-tmux-navigator plugin now -- Configure Editor Settings vim.cmd("set number") @@ -76,20 +73,6 @@ vim.keymap.set("n", "", ":BufferClose", { desc = "Close Buffer" }) vim.keymap.set("n", "bp", ":BufferPrevious", { desc = "Previous Buffer" }) vim.keymap.set("n", "bn", ":BufferNext", { desc = "Next Buffer" }) --- Configure Pane Navigation -vim.keymap.set("n", "", "") -vim.keymap.set("n", "", "") -vim.keymap.set("n", "", "") -vim.keymap.set("n", "", "") -vim.keymap.set("n", "", ":wincmd h", { desc = "Navigate Left" }) -vim.keymap.set("n", "", ":wincmd j", { desc = "Navigate Down" }) -vim.keymap.set("n", "", ":wincmd k", { desc = "Navigate Up" }) -vim.keymap.set("n", "", ":wincmd l", { desc = "Navigate Right" }) -vim.keymap.set("i", "", ":wincmd h", { desc = "Navigate Left" }) -vim.keymap.set("i", "", ":wincmd j", { desc = "Navigate Down" }) -vim.keymap.set("i", "", ":wincmd k", { desc = "Navigate Up" }) -vim.keymap.set("i", "", ":wincmd l", { desc = "Navigate Right" }) - -- Configure f-key shortcuts vim.keymap.set("n", "", vim.lsp.buf.hover) vim.keymap.set("i", "", vim.lsp.buf.hover)