Browse Source

tmux: fix swapping windows keybinding

master
Kevin Mok 6 months ago
parent
commit
a40cdd8962
No known key found for this signature in database
3 changed files with 8 additions and 3 deletions
  1. 4
    0
      aliases/key_aliases.tmpl
  2. 2
    1
      aliases/key_dirs.tmpl
  3. 2
    2
      dot_tmux.conf

+ 4
- 0
aliases/key_aliases.tmpl View File

@@ -743,6 +743,10 @@ dea "deactivate"
whe "watch echo"
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 #

# games [[[ #

+ 2
- 1
aliases/key_dirs.tmpl View File

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

+ 2
- 2
dot_tmux.conf View File

@@ -57,8 +57,8 @@ bind-key -n M-a command-prompt "rename-window '%%'"

bind-key -n M-p previous-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 #


Loading…
Cancel
Save