no more tmux-nvim-navigator -> sepatated navigation

This commit is contained in:
Mathias Schneider
2026-04-09 20:41:48 +02:00
parent 99ad8ee4aa
commit d735d7efb6
2 changed files with 13 additions and 18 deletions
@@ -1,15 +0,0 @@
return {
"christoomey/vim-tmux-navigator",
cmd = {
"TmuxNavigateLeft",
"TmuxNavigateDown",
"TmuxNavigateUp",
"TmuxNavigateRight",
},
keys = {
{ "<C-h>", "<cmd>TmuxNavigateLeft<cr>", desc = "Navigate left (tmux/nvim)" },
{ "<C-j>", "<cmd>TmuxNavigateDown<cr>", desc = "Navigate down (tmux/nvim)" },
{ "<C-k>", "<cmd>TmuxNavigateUp<cr>", desc = "Navigate up (tmux/nvim)" },
{ "<C-l>", "<cmd>TmuxNavigateRight<cr>", desc = "Navigate right (tmux/nvim)" },
},
}
+13 -3
View File
@@ -1,5 +1,6 @@
# ── General ─────────────────────────────────────────────────────────────────── # ── General ───────────────────────────────────────────────────────────────────
set -g default-terminal "tmux-256color" set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB" set -ag terminal-overrides ",xterm-256color:RGB"
@@ -14,9 +15,21 @@ set -g focus-events on # pass focus events through (needed by Neovim)
# ── Keybinds ────────────────────────────────────────────────────────────────── # ── Keybinds ──────────────────────────────────────────────────────────────────
# Leader key
unbind C-b
set -g prefix C-x
bind C-x send-prefix
# Reload config
unbind r unbind r
bind r source-file ~/.config/tmux/tmux.conf \; display "Config reloaded" bind r source-file ~/.config/tmux/tmux.conf \; display "Config reloaded"
# Pane navigation
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# ── Plugins ─────────────────────────────────────────────────────────────────── # ── Plugins ───────────────────────────────────────────────────────────────────
@@ -27,9 +40,6 @@ if "test ! -d ~/.config/tmux/plugins/tpm" \
set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-sensible'
# Seamless navigation between tmux panes and Neovim splits
set -g @plugin 'christoomey/vim-tmux-navigator'
# Catppuccin theme # Catppuccin theme
set -g @plugin 'catppuccin/tmux' set -g @plugin 'catppuccin/tmux'
set -g @catppuccin_flavor "mocha" set -g @catppuccin_flavor "mocha"