AutoYADM commit: 2024-12-16 17:10:03
This commit is contained in:
parent
261d8f3536
commit
fc8ecf8c7e
2 changed files with 19 additions and 11 deletions
|
@ -26,10 +26,14 @@ map({ "n", "x" }, "<Down>", "j", { desc = "Down", remap = true })
|
||||||
map({ "n", "x" }, "<Left>", "h", { desc = "Left", remap = true })
|
map({ "n", "x" }, "<Left>", "h", { desc = "Left", remap = true })
|
||||||
map({ "n", "x" }, "<Right>", "l", { desc = "Right", remap = true })
|
map({ "n", "x" }, "<Right>", "l", { desc = "Right", remap = true })
|
||||||
|
|
||||||
map({ "n", "t", "i" }, "<C-Left>", "<cmd> TmuxNavigateLeft<CR>", { desc = "Switch Window Left", remap = true })
|
-- map({ "n", "t", "i" }, "<C-Left>", "<cmd> TmuxNavigateLeft<CR>", { desc = "Switch Window Left", remap = true })
|
||||||
map({ "n", "t", "i" }, "<C-Right>", "<cmd> TmuxNavigateRight<CR>", { desc = "Switch Window Right", remap = true })
|
-- map({ "n", "t", "i" }, "<C-Right>", "<cmd> TmuxNavigateRight<CR>", { desc = "Switch Window Right", remap = true })
|
||||||
map({ "n", "t", "i" }, "<C-Up>", "<cmd> TmuxNavigateUp<CR>", { remap = true })
|
-- map({ "n", "t", "i" }, "<C-Up>", "<cmd> TmuxNavigateUp<CR>", { remap = true })
|
||||||
map({ "n", "t", "i" }, "<C-Down>", "<cmd> TmuxNavigateDown<CR>", { desc = "Switch Window Down", remap = true })
|
-- map({ "n", "t", "i" }, "<C-Down>", "<cmd> TmuxNavigateDown<CR>", { desc = "Switch Window Down", remap = true })
|
||||||
|
map({ "n", "t", "i" }, "<C-Left>", "<C-w>h", { desc = "Switch Window Left", remap = true })
|
||||||
|
map({ "n", "t", "i" }, "<C-Right>", "<C-w>l", { desc = "Switch Window Right", remap = true })
|
||||||
|
map({ "n", "t", "i" }, "<C-Up>", "<C-w>k", { remap = true })
|
||||||
|
map({ "n", "t", "i" }, "<C-Down>", "<C-w>j", { desc = "Switch Window Down", remap = true })
|
||||||
|
|
||||||
map({ "x" }, "<M-Left>", "<M-h>", { remap = true })
|
map({ "x" }, "<M-Left>", "<M-h>", { remap = true })
|
||||||
map({ "x" }, "<M-Right>", "<M-l>", { remap = true })
|
map({ "x" }, "<M-Right>", "<M-l>", { remap = true })
|
||||||
|
|
|
@ -40,16 +40,20 @@ set -g bell-action none
|
||||||
|
|
||||||
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'
|
||||||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
# set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||||
set -g @plugin 'niksingh710/minimal-tmux-status'
|
set -g @plugin 'niksingh710/minimal-tmux-status'
|
||||||
# set -g @plugin 'tmux-plugins/tmux-resurrect'
|
# set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||||
# set -g @plugin 'tmux-plugins/tmux-continuum'
|
# set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||||
|
|
||||||
set -g @vim_navigator_mapping_left "C-Left"
|
# set -g @vim_navigator_mapping_left "C-Left"
|
||||||
set -g @vim_navigator_mapping_right "C-Right"
|
# set -g @vim_navigator_mapping_right "C-Right"
|
||||||
set -g @vim_navigator_mapping_up "C-Up"
|
# set -g @vim_navigator_mapping_up "C-Up"
|
||||||
set -g @vim_navigator_mapping_down "C-Down"
|
# 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
|
# Theme Settings
|
||||||
set -g @minimal-tmux-use-arrow false
|
set -g @minimal-tmux-use-arrow false
|
||||||
|
@ -80,7 +84,7 @@ bind x kill-window
|
||||||
bind -n M-x killp
|
bind -n M-x killp
|
||||||
bind -n M-f resize-pane -Z
|
bind -n M-f resize-pane -Z
|
||||||
bind - copy-mode
|
bind - copy-mode
|
||||||
bind -n M-i next-window
|
bind -n M-u next-window
|
||||||
bind -n M-m previous-window
|
bind -n M-l previous-window
|
||||||
|
|
||||||
run '/usr/share/tmux-plugin-manager/tpm'
|
run '/usr/share/tmux-plugin-manager/tpm'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue