diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index a855b7a..2e2f2d1 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -5,7 +5,10 @@ vim.cmd("set softtabstop=2") vim.cmd("set shiftwidth=2") -- Configure Navigation Keys --- This is all handled by the vim-tmux-navigator plugin now +--vim.keymap.set('n', '', ':wincmd h') +--vim.keymap.set('n', '', ':wincmd l') +--vim.keymap.set('n', '', ':wincmd k') +--vim.keymap.set('n', '', ':wincmd j') -- Configure Editor Settings vim.cmd("set number") @@ -73,6 +76,20 @@ 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) diff --git a/.zshrc b/.zshrc index b82db72..fa03e16 100644 --- a/.zshrc +++ b/.zshrc @@ -141,7 +141,7 @@ zinit snippet OMZP::colored-man-pages zinit snippet OMZP::encode64 zinit snippet OMZP::gh zinit snippet OMZP::pip -#zinit snippet OMZP::sudo +zinit snippet OMZP::sudo zinit light zsh-users/zsh-autosuggestions zinit light zsh-users/zsh-syntax-highlighting @@ -150,4 +150,3 @@ zinit light zsh-users/zsh-syntax-highlighting KEYTIMEOUT=5 # ^[ for esc; ^I for tab bindkey '^a' autosuggest-accept -bindkey '^[^[' vi-cmd-mode