Skip to content

Easy cross-navigation between tmux and other terminal applications.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

TheSast/tmux-nav-master

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tmux Nav Master

This plugin is currently an extended version of vim-tmux-navigator made to complement Astronvim's default keybindings.
The goal is to eventually have a great, easy-to-set-up, largely non-intrusive plugin to help with navigation. For this very reason PRs are welcome!

Preview

img/preview.gif

Usage

This plugin provides the following mappings in both "default" and "copy-mode-vi" modes

Mapping Action
<C-h> Go Left
<C-j> Go Down
<C-k> Go Up
<C-l> Go Right
<prefix><C-h> Send an escaped <C-h>
<prefix><C-j> Send an escaped <C-j>
<prefix><C-k> Send an escaped <C-k>
<prefix><C-l> Send an escaped <C-l>
<prefix>H Swap Left
<prefix>J Swap Down
<prefix>K Swap Up
<prefix>L Swap Right
<C-Left> Resize Left
<C-Down> Resize Down
<C-Up> Resize Up
<C-Right> Resize Right

These mapping are setup to work intuitively with some software (e.g. nvim, fzf) by being selectively disabled or by acting differently when needed. If you know of any others that might benefit from this behaviour please open an issue.

Installation

  1. You can use TPM to install this plugin.
  2. Add the following line to your tmux.conf:
set -g @plugin 'TheSast/tmux-nav-master'
  1. Install the plugin with I, unless you changed @tpm-install, in which case you need to use the keybind you set.

Other plugins

You might also like these plugins:

Licence

MIT and Apache 2.0

About

Easy cross-navigation between tmux and other terminal applications.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Languages