https://github.com/ek9/tmux-vim-bindings
tmux vim compatible bindings (TPM plugin)
https://github.com/ek9/tmux-vim-bindings
dotfiles tmux tmux-bindings tmux-conf tmux-config tmux-configs tmux-configuration tmux-hotkeys tmux-plugins tpm tpm-plugin vim vim-bindings
Last synced: 3 months ago
JSON representation
tmux vim compatible bindings (TPM plugin)
- Host: GitHub
- URL: https://github.com/ek9/tmux-vim-bindings
- Owner: ek9
- License: mit
- Created: 2017-05-29T15:38:10.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-09T17:23:33.000Z (almost 9 years ago)
- Last Synced: 2025-03-12T07:53:31.354Z (about 1 year ago)
- Topics: dotfiles, tmux, tmux-bindings, tmux-conf, tmux-config, tmux-configs, tmux-configuration, tmux-hotkeys, tmux-plugins, tpm, tpm-plugin, vim, vim-bindings
- Language: Shell
- Size: 7.81 KB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
tmux-vim-bindings
=================
[tmux-vim-bindings][0] is vim-compatible tmux bindings (hotkeys) configuration
as a TPM plugin. This plugin is compatible with [ek9/tmux-config][1] and
[ek9/vim-config][2].
**Note!** For an example config please check [tmux.conf in ek9/shell-config][9].
Part of [ek9/dotfiles][10] collection.
## Requirements
- [tmux][3]
- [TPM][4]
## Install
Add plugin to the list of [TPM][4] plugins in `.tmux.conf`:
```
set -g @plugin 'ek9/tmux-vim-bindings'
```
Hit `prefix + I` to fetch the plugin and source it.
## Bindings
### General
- `Alt+a` (`M-a`) - prefix, used to issue commands. Most of the commands are
bound to `Alt` key directly (e.g. `Alt+num` to change windows instead of
`Alt+a num`).
- `Alt+a d` - detach
- `Alt+q` - list key bindings (hotkeys)
- `Alt+c` - tmux cmd prompt
- `Alt+m` - tmux man prompt
Minor `tmux` key optimizations:
- `Alt+a a` (`M-a a`) - fast switching between alternate Windows
- `Alt+a r` (`M-a r`) - reload tmux configuration (source `~/.tmux.conf`)
### Sessions
- `Alt+e` (`M-e`) - list sessions
### Windows
- `Alt+t` (`M-t`) - new window
- `Alt+\`` (`M-\``) - toggle last window
- `Alt+NUM`(`M-NUM`) - select window NUM (1-9)
- `Alt+s` (`M-s`) - split window horizontally
- `Alt+v` (`M-v`) - split window vertically
- `Alt+w` (`M-w`) - close window
### Panes
- `Alt+Tab` (`M-Tab`) - toggle last pane
- `Alt+h/l/j/k` (`M-h/l/j/k`) - pane selection (hljk)
- `Alt+Shift+h/l/j/k` (`M-H/L/J/K`) - pane resize
- `Alt+d` (`M-d`) - swap pane forward
- `Alt+Shift+d` (`M-D`) - swap pane backward
- `Alt+w` (`M-w`) - close pane
## Authors
Copyright (c) 2015-2017 ek9 (https://ek9.co).
## License
Licensed under [MIT License](LICENSE).
[0]: https://github.com/ek9/tmux-vim-bindings
[1]: https://github.com/ek9/tmux-config
[2]: https://github.com/ek9/vim-config
[3]: https://github.com/tmux/tmux
[4]: https://github.com/tmux-plugins/tpm
[9]: https://github.com/ek9/shell-config/blob/master/.tmux.conf
[10]: https://github.com/ek9/dotfiles