From fc8ecf8c7e24b52f10fef2bd49e50cf0aa6a6607 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Mon, 16 Dec 2024 17:10:03 -0500 Subject: [PATCH] AutoYADM commit: 2024-12-16 17:10:03 --- .config/nvim/lua/config/keymaps.lua | 12 ++++++++---- .config/tmux/tmux.conf | 18 +++++++++++------- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/.config/nvim/lua/config/keymaps.lua b/.config/nvim/lua/config/keymaps.lua index ec1b1525..dd852210 100644 --- a/.config/nvim/lua/config/keymaps.lua +++ b/.config/nvim/lua/config/keymaps.lua @@ -26,10 +26,14 @@ map({ "n", "x" }, "", "j", { desc = "Down", remap = true }) map({ "n", "x" }, "", "h", { desc = "Left", remap = true }) map({ "n", "x" }, "", "l", { desc = "Right", remap = true }) -map({ "n", "t", "i" }, "", " TmuxNavigateLeft", { desc = "Switch Window Left", remap = true }) -map({ "n", "t", "i" }, "", " TmuxNavigateRight", { desc = "Switch Window Right", remap = true }) -map({ "n", "t", "i" }, "", " TmuxNavigateUp", { remap = true }) -map({ "n", "t", "i" }, "", " TmuxNavigateDown", { desc = "Switch Window Down", remap = true }) +-- map({ "n", "t", "i" }, "", " TmuxNavigateLeft", { desc = "Switch Window Left", remap = true }) +-- map({ "n", "t", "i" }, "", " TmuxNavigateRight", { desc = "Switch Window Right", remap = true }) +-- map({ "n", "t", "i" }, "", " TmuxNavigateUp", { remap = true }) +-- map({ "n", "t", "i" }, "", " TmuxNavigateDown", { desc = "Switch Window Down", remap = true }) +map({ "n", "t", "i" }, "", "h", { desc = "Switch Window Left", remap = true }) +map({ "n", "t", "i" }, "", "l", { desc = "Switch Window Right", remap = true }) +map({ "n", "t", "i" }, "", "k", { remap = true }) +map({ "n", "t", "i" }, "", "j", { desc = "Switch Window Down", remap = true }) map({ "x" }, "", "", { remap = true }) map({ "x" }, "", "", { remap = true }) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 9db4ba53..a80799a9 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -40,16 +40,20 @@ set -g bell-action none set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' -set -g @plugin 'christoomey/vim-tmux-navigator' +# set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'niksingh710/minimal-tmux-status' # set -g @plugin 'tmux-plugins/tmux-resurrect' # set -g @plugin 'tmux-plugins/tmux-continuum' -set -g @vim_navigator_mapping_left "C-Left" -set -g @vim_navigator_mapping_right "C-Right" -set -g @vim_navigator_mapping_up "C-Up" -set -g @vim_navigator_mapping_down "C-Down" +# set -g @vim_navigator_mapping_left "C-Left" +# set -g @vim_navigator_mapping_right "C-Right" +# set -g @vim_navigator_mapping_up "C-Up" +# set -g @vim_navigator_mapping_down "C-Down" +bind -n M-m select-pane -L +bind -n M-n select-pane -D +bind -n M-e select-pane -U +bind -n M-i select-pane -R # Theme Settings set -g @minimal-tmux-use-arrow false @@ -80,7 +84,7 @@ bind x kill-window bind -n M-x killp bind -n M-f resize-pane -Z bind - copy-mode -bind -n M-i next-window -bind -n M-m previous-window +bind -n M-u next-window +bind -n M-l previous-window run '/usr/share/tmux-plugin-manager/tpm'