schasse.tmux-jump/README.md
2020-02-01 23:52:26 +01:00

1.7 KiB

Cursor jump for tmux.

Build Status

A fast way to jump wherever you want in your terminal without using the mouse. tmux-jump is written in ruby and can easily be installed via tpm.

tmux-jump

From now to then I think about how to improve my dev tools. Copy and pasting inside the terminal is something I do everyday, all the time. This is one of the most obvious things make more efficient. tmux-yank improved the situation a lot. Though, it felt still annoying to get to the string I wanted to copy. Either I used to enter tmux copy mode and moved the cursor to the string or I used the mouse. I looked for a plugin such as easymotion for vim or ace jump for emacs, but I couldn't find one. So I decided to write my own tmux plugin.

Requirements

Installation

Add plugin to the list of TPM plugins in ~/.tmux.conf:

set -g @plugin 'schasse/tmux-jump

Hit tmux-prefix + I to fetch the plugin and source it. You should now be able to use the plugin.

Usage

  • tmux-prefix + j and enter the first character of a word.
  • The screen will rerender and highlight the keys to press to jump to the word.
  • Type the key sequence of the word to jump to.
  • The cursor moves to the word.

tmux-jump can also be used in copy mode.

Similar Projects

easymotion

ace-jump-mode