Skip to content
forked from acejump/AceJump

A single char search, select, and jump

Notifications You must be signed in to change notification settings

sergeyh/AceJump

 
 

Repository files navigation

AceJump

AceJump is a plugin for the IntelliJ Platform that lets you jump to any symbol in the editor with just a few keystrokes. Press the keyboard shortcut for AceAction (Ctrl+; by default) to activate a tooltip overlay. Type any visible string in the editor, followed by one of illustrated tags, to jump its position:

Press the AceJump shortcut a second time before completing a tag to activate Target Mode. Once Target Mode is activated, jumping to a tag will select an entire word. Target Mode can also be activated directly by pressing the shortcut for AceTargetAction (Ctrl+Alt+; by default).

Press the AceJump shortcut for line mode (Ctrl+Shift+; by default), to target the beginning, first non-whitespace characters, and end of every visible line in the editor). Then jump to one by completing the tag.

Press the AceJump shortcut, followed by , , or , to target the last, first, or first non-whitespace characters of every visible line in the editor.

AceJump tags are not case sensitive. Holding down Shift when typing the last tag character will select all text from the current cursor position to that destination.

Tips

Press Tab when searching to jump to the next group of matches in the editor.

If you mis-type a character, just press Backspace to restart from scratch.

If no matches can be found on screen, AceJump will scroll to the next match it can find.

If there is only one tagged result, pressing Enter will jump to that result.

Installing

Install directly from the IDE, via File | Settings | Plugins | Browse Repositories... | 🔍 "AceJump".

Install

Configuring

IdeaVim users can choose to activate AceJump with a single keystroke (f, F and g are arbitrary) by running:

echo -e '

" Press `f` to activate AceJump
map f :action AceAction<CR>
" Press `F` to activate Target Mode
map F :action AceTargetAction<CR>
" Press `g` to activate Line Mode
map g :action AceLineAction<CR>

' >> ~/.ideavimrc

To change the default keyboard shortcuts, open File | Settings | Keymap | 🔍 "AceJump" | AceJump | Enter⏎.

Keymap

Building

To build AceJump, clone then run the Gradle task buildPlugin:

  • git clone https://github.com/johnlindquist/AceJump && cd AceJump
  • ./gradlew buildPlugin

The build artifact will be located in build/distributions/.

Contributing

AceJump is supported by community members like you. Contributions are highly welcome!

To start IntelliJ IDEA CE with AceJump installed, run ./gradlew runIdea.

For documentation on plugin development, see the IntelliJ Platform SDK.

AceJump is written in Kotlin.

Release notes

Please see here for a detailed list of changes.

Acknowledgements

  • Vimium - A Chrome plugin with a similar UI.
  • Vimperator - A Firefox plugin with a similar UI.
  • ace-jump-mode - An emacs plugin with a similar UI.
  • EasyMotion - A Vim plugin with a similar UI.
  • Jumpy - An Atom plugin with a similar UI.

About

A single char search, select, and jump

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 100.0%