mirror of
https://github.com/schasse/tmux-jump.git
synced 2026-09-10 07:06:15 -04:00
update README.md
This commit is contained in:
parent
95fb3305df
commit
0cc33ad179
42
README.md
42
README.md
|
|
@ -1,12 +1,12 @@
|
|||
<p align="center">
|
||||
<img src="assets/tmux-jump-logo.png"
|
||||
alt="Cursor jump for tmux."
|
||||
alt="Vimium/Easymotion like cursor jump for tmux."
|
||||
title="tmux-jump" />
|
||||
</p>
|
||||
|
||||
[](https://travis-ci.org/schasse/tmux-jump)
|
||||
|
||||
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.
|
||||
A fast way to jump wherever you want in your terminal without using the mouse. A plugin similar to [vimium](https://vimium.github.io/) and [easymotion](https://github.com/easymotion/vim-easymotion) but for tmux. tmux-jump is written in ruby and can easily be installed via tpm.
|
||||
|
||||

|
||||
|
||||
|
|
@ -14,29 +14,49 @@ From now to then I think about how to improve my dev tools. Copy and pasting ins
|
|||
|
||||
## Requirements
|
||||
|
||||
* [tpm](https://github.com/tmux-plugins/tpm)
|
||||
* ruby
|
||||
* [tmux](https://github.com/tmux/tmux) >= 1.8
|
||||
* [ruby](https://www.ruby-lang.org/) >= 2.3
|
||||
|
||||
## Installation
|
||||
## Installation with [TPM](https://github.com/tmux-plugins/tpm)
|
||||
|
||||
Add plugin to the list of TPM plugins in `~/.tmux.conf`:
|
||||
|
||||
```
|
||||
set -g @plugin 'schasse/tmux-jump
|
||||
```
|
||||
Hit `tmux-prefix` + <kbd>I</kbd> to fetch the plugin and source it. You should now be able to use the plugin.
|
||||
Hit <kbd>tmux-prefix</kbd> + <kbd>I</kbd> 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` + <kbd>j</kbd> and enter the first character of a word.
|
||||
* <kbd>tmux-prefix</kbd> + <kbd>j</kbd> 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.
|
||||
tmux-jump can also be used in in any program and during copy mode.
|
||||
|
||||
## Similar Projects
|
||||
|
||||
[easymotion](https://github.com/easymotion/vim-easymotion)
|
||||
|
||||
[ace-jump-mode](https://github.com/winterTTr/ace-jump-mode)
|
||||
* [vimium](https://vimium.github.io/)
|
||||
* [easymotion](https://github.com/easymotion/vim-easymotion)
|
||||
* [ace-jump-mode](https://github.com/winterTTr/ace-jump-mode)
|
||||
|
|
|
|||
Loading…
Reference in a new issue