Browse Source

tmux: fix swapping windows keybinding

red-hat-laptop
Kevin Mok 5 years ago
parent
commit
a40cdd8962
Signed by: Kevin-Mok GPG Key ID: 6E920656BBAD3E6C
  1. 4
      aliases/key_aliases.tmpl
  2. 3
      aliases/key_dirs.tmpl
  3. 4
      dot_tmux.conf

4
aliases/key_aliases.tmpl

@ -743,6 +743,10 @@ dea "deactivate"
whe "watch echo" whe "watch echo"
nst "cp ~/Documents/workout-logs/stretching.md /tmp && nvim /tmp/stretching.md" nst "cp ~/Documents/workout-logs/stretching.md /tmp && nvim /tmp/stretching.md"
# Red Discord bot
rde "pyenv shell red-discord-bot-test"
rdb "redbot --dev --debug"
# ]]] coding projs # # ]]] coding projs #
# games [[[ # # games [[[ #

3
aliases/key_dirs.tmpl

@ -38,7 +38,8 @@ hbd ~/.habitctl
ib ~/linux-config/dot_config/i3blocks/scripts ib ~/linux-config/dot_config/i3blocks/scripts
ra ~/linux-config/dot_config/ranger ra ~/linux-config/dot_config/ranger
rd ~/Documents/red-discord-bot rd ~/Documents/red-discord-bot
rdt ~/coding/red-discord-bot
rdt ~/coding/discord-bots
rdp ~/coding/discord-bots/pinky/cogs
sr ~/linux-config/scripts sr ~/linux-config/scripts
snp ~/.vim/plugged/vim-snippets/UltiSnips snp ~/.vim/plugged/vim-snippets/UltiSnips
sw ~/.local/share/nvim/swap/ sw ~/.local/share/nvim/swap/

4
dot_tmux.conf

@ -57,8 +57,8 @@ bind-key -n M-a command-prompt "rename-window '%%'"
bind-key -n M-p previous-window bind-key -n M-p previous-window
bind-key -n M-n next-window bind-key -n M-n next-window
bind-key -n C-Left swap-window -t -1; previous-window
bind-key -n C-Right swap-window -t +1; next-window
bind-key -n C-Left swap-window -t -1\; previous-window
bind-key -n C-Right swap-window -t +1\; next-window
# }}} windows # # }}} windows #

Loading…
Cancel
Save