Jump to any point in the buffer fast.
Go to file
Sebastian Schasse ed965db0cb
Merge pull request #47 from MaxG87/enable-smart-case-search-configuration
feat: add configurable case sensitivity
2026-07-23 16:29:42 +02:00
assets add lgpl-3.0 2020-02-10 21:22:51 +01:00
scripts feat: add configurable case sensitivity (ignorecase/smartcase/casesensitive) 2026-07-14 19:08:27 +02:00
spec feat: add configurable case sensitivity (ignorecase/smartcase/casesensitive) 2026-07-14 19:08:27 +02:00
.travis.yml test older ruby versions 2020-02-10 21:10:24 +01:00
Gemfile add a testsuite 2019-08-28 09:32:28 +02:00
Gemfile.lock add a testsuite 2019-08-28 09:32:28 +02:00
LICENSE add lgpl-3.0 2020-02-10 21:22:51 +01:00
README.md feat: add configurable case sensitivity (ignorecase/smartcase/casesensitive) 2026-07-14 19:08:27 +02:00
THANKS.md Create THANKS.md 2019-12-17 11:11:56 -08:00
tmux-jump.tmux Add tmux note to keybinding for list-keys 2022-09-19 01:27:17 +01:00

Vimium/Easymotion like cursor jump for tmux.

Build Status

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

tmux-jump-demo

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 via TPM

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.

Manual Installation

Clone the repository:

git clone https://github.com/schasse/tmux-jump ~/.tmux-jump

Add the following to .tmux.conf:

run-shell ~/.tmux-jump/tmux-jump.tmux

Reload tmux:

tmux source-file ~/.tmux.conf

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 in any program and during copy mode.

You can customize the key binding in your .tmux.conf:

set -g @jump-key 's'

You can also customize foreground and background color:

set -g @jump-bg-color '\e[0m\e[90m'
set -g @jump-fg-color '\e[1m\e[31m'

And the keys position:

# keys will overlap with the word (default)
set -g @jump-keys-position 'left'

# keys will be at the left of the word without overlap
set -g @jump-keys-position 'off_left'

And the keys:

set -g @jump-keys 'aoeuidhtns'

The case sensitivity setting can be configured as well. The default is case-insensitive search. With casesensitive tmux-jump will only match the search character if the case matches. With smartcase, tmux-jump will match the search character case-insensitively if the search character is lowercase, and case-sensitively if the search character is uppercase.

# case-insensitive search (default)
set -g @jump-key-case 'ignorecase'

# case-sensitive only when the search character is uppercase
set -g @jump-key-case 'smartcase'

# always case-sensitive
set -g @jump-key-case 'casesensitive'

Similar Projects