A powerful navigation plugin ported from vim-EasyMotion for JetBrains IDEs. KJump enhances your code navigation experience by providing quick jump capabilities to characters, words, and lines. It seamlessly integrates with IdeaVim for a more natural Vim-like experience.
- Quick character jump: Jump to any character in the visible area
- Word navigation: Jump to any word or word starting with a specific character
- Line jumping: Quickly navigate to any line
- IdeaVim integration: Works seamlessly with IdeaVim
- Minimal keystrokes: Reach your target with just a few keystrokes
- Open your JetBrains IDE
- Go to
Settings/Preferences → Plugins
- Click on
Marketplace
- Search for "KJump"
- Click
Install
There are no default activated shortcuts. You can assign KJump activation shortcuts in:
Settings → Keymap → KJump
Common shortcut suggestions:
Ctrl+,
for character jumpCtrl+;
for word jump
Add the following commands to your ~/.ideavimrc
:
" Basic jumps
nmap <leader><leader>s :action KJumpAction<cr>
nmap <leader><leader>w :action KJumpAction.Word0<cr>
nmap <leader><leader>l :action KJumpAction.Line<cr>
" Additional jumps
nmap <leader><leader>c :action KJumpAction.Char2<cr>
nmap <leader><leader>f :action KJumpAction.Word1<cr>
Name | Action | Description |
---|---|---|
KJump | KJumpAction | Input 1 character and jump to any same character |
KJump Char 2 | KJumpAction.Char2 | Input 2 characters and jump to any matching position |
KJump Word 0 | KJumpAction.Word0 | Jump to any word |
KJump Word 1 | KJumpAction.Word1 | Input 1 character and jump to any word starting with this character |
KJump Line | KJumpAction.Line | Jump to any line |
- Use Word0 for general word navigation
- Use Char2 for more precise jumps
- Line mode is great for long files
- Combine with IdeaVim for the best experience
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by vim-EasyMotion
- Thanks to all contributors who have helped this project