Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ set -g @jump-keys-position 'left'
set -g @jump-keys-position 'off_left'
```

And the keys:
```
set -g @jump-keys 'aoeuidhtns'
```

## Similar Projects

* [vimium](https://vimium.github.io/)
Expand Down
2 changes: 1 addition & 1 deletion scripts/tmux-jump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# CONFIG
KEYS_POSITION = ENV['JUMP_KEYS_POSITION']
KEYS = 'jfhgkdlsa'.each_char.to_a
KEYS = ENV['JUMP_KEYS'].each_char.to_a
Config = Struct.new(
:pane_nr,
:pane_tty_file,
Expand Down
1 change: 1 addition & 0 deletions scripts/tmux-jump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ source $current_dir/utils.sh
export JUMP_BACKGROUND_COLOR=$(get_tmux_option "@jump-bg-color" "\e[0m\e[32m")
export JUMP_FOREGROUND_COLOR=$(get_tmux_option "@jump-fg-color" "\e[1m\e[31m")
export JUMP_KEYS_POSITION=$(get_tmux_option "@jump-keys-position" "left")
export JUMP_KEYS=$(get_tmux_option "@jump-keys" "jfhgkdlsa")
ruby "$current_dir/tmux-jump.rb" "$tmp_file"