diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 2e2f2d1..4231707 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -68,28 +68,14 @@ vim.keymap.set("n", "cx", ":CopilotChatReset", { desc = "Reset Copil -- Configure Buffer Navigation vim.keymap.set("n", "", ":BufferPrevious", { desc = "Previous Buffer" }) vim.keymap.set("n", "", ":BufferNext", { desc = "Next Buffer" }) -vim.keymap.set("n", "", ":BufferPrevious", { desc = "Previous Buffer" }) -vim.keymap.set("n", "", ":BufferNext", { desc = "Next Buffer" }) +vim.keymap.set("n", "", ":BufferPrevious", { desc = "Previous Buffer" }) +vim.keymap.set("n", "", ":BufferNext", { desc = "Next Buffer" }) vim.keymap.set("n", "bq", ":BufferClose", { desc = "Close Buffer" }) vim.keymap.set("n", "bQ", ":BufferWipeout", { desc = "Wipeout Buffer" }) 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/.config/nvim/lua/plugins/nvim-tmux-navigator.lua b/.config/nvim/lua/plugins/nvim-tmux-navigator.lua index d67bdb5..1e7cbc3 100644 --- a/.config/nvim/lua/plugins/nvim-tmux-navigator.lua +++ b/.config/nvim/lua/plugins/nvim-tmux-navigator.lua @@ -4,8 +4,4 @@ return { vim.keymap.set('n', '', ':TmuxNavigateRight'), vim.keymap.set('n', '', ':TmuxNavigateUp'), vim.keymap.set('n', '', ':TmuxNavigateDown'), - vim.keymap.set('n', '', ':TmuxNavigateLeft'), - vim.keymap.set('n', '', ':TmuxNavigateRight'), - vim.keymap.set('n', '', ':TmuxNavigateUp'), - vim.keymap.set('n', '', ':TmuxNavigateDown'), } diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index a3fb9fc..1be3077 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -38,10 +38,10 @@ bind -n C-Up select-pane -U bind -n C-Down select-pane -D -bind -n M-h select-pane -L -bind -n M-j select-pane -D -bind -n M-k select-pane -U -bind -n M-l select-pane -R +bind -n C-H select-pane -L +bind -n C-J select-pane -D +bind -n C-K select-pane -U +bind -n C-L select-pane -R bind -n C-S-Left previous-window bind -n C-S-Right next-window @@ -83,10 +83,10 @@ set -g @open-S 'https://search.brave.com/search?q=' # Integrate with nvim navigation set -g @plugin 'christoomey/vim-tmux-navigator' -set -g @vim_navigator_mapping_left "M-h" #C-Left" # C-h" -set -g @vim_navigator_mapping_right "M-l" #C-Right" # C-l" -set -g @vim_navigator_mapping_up "M-k" #C-Up" # C-k" -set -g @vim_navigator_mapping_down "M-j" #C-Down" # C-j" +set -g @vim_navigator_mapping_left "C-Left" # C-h" +set -g @vim_navigator_mapping_right "C-Right" # C-l" +set -g @vim_navigator_mapping_up "C-Up" # C-k" +set -g @vim_navigator_mapping_down "C-Down" # C-j" # Load Plugins run '~/.tmux/plugins/tpm/tpm' diff --git a/.zshrc b/.zshrc index fa03e16..2ff7fd6 100644 --- a/.zshrc +++ b/.zshrc @@ -147,6 +147,7 @@ zinit light zsh-users/zsh-autosuggestions zinit light zsh-users/zsh-syntax-highlighting # Key bindings config -KEYTIMEOUT=5 +#KEYTIMEOUT=5 # ^[ for esc; ^I for tab bindkey '^a' autosuggest-accept +