Easy way to find text, jump to it and cycle through matches, directly in your active editor window.
- Press a keybinding to activate search mode
- Enter your search text
- Every new character will show new matches and select the closest match automatically
- Press another key (e.g. TAB) to cycle through the matches
The difference to other extensions like this is that every keystroke will show & select new matches, without the need to confirm your search first.
- Case-sensitive search
findAndJump.caseSensitiveSearch
- default: false
- Show a tooltip if the current search has no matches
findAndJump.showTooltipIfNoMatches
- default: false
- Minimum number of characters to execute the search
findAndJump.minimumCharactersToExecuteSearch
- default: 2
- Custom background color for all matches
findAndJump.matchesColor.background
- default: "#3e56c2"
- Custom foreground color for all matches
findAndJump.matchesColor.foreground
- default: "white"
- Custom background color for the currently selected match
findAndJump.currentMatchColor.background
- default: "#132eab"
- Custom foreground color for the currently selected match
findAndJump.currentMatchColor.foreground
- default: "white"
There are three main keybindings: activate, exit and cycle through matches.
- Activate search mode
findAndJump.activateSearchMode
- default: Alt + Q
- Exit search mode
findAndJump.exitSearchMode
- default: Escape & arrow keys
- Cycle through results in search mode. Only active when search mode is active.
findAndJump.cycleThroughMatches
- default: Tab
- Cycle backwards through results in search mode. Only active when search mode is active.
findAndJump.cycleThroughMatchesBackwards
- default: Shift + Tab
Here's the default keybindings for the JSON settings:
{
"key": "alt+q",
"command": "findAndJump.activateSearchMode",
"when": "editorTextFocus"
},
{
"key": "tab",
"command": "findAndJump.cycleThroughMatches",
"when": "editorTextFocus && findAndJump.isSearchModeActive"
},
{
"key": "shift+tab",
"command": "findAndJump.cycleThroughMatchesBackwards",
"when": "editorTextFocus && findAndJump.isSearchModeActive"
},
{
"key": "escape",
"command": "findAndJump.exitSearchMode",
"when": "editorTextFocus && findAndJump.isSearchModeActive"
},
{
"key": "up",
"command": "findAndJump.exitSearchMode",
"when": "editorTextFocus && findAndJump.isSearchModeActive"
},
{
"key": "right",
"command": "findAndJump.exitSearchMode",
"when": "editorTextFocus && findAndJump.isSearchModeActive"
},
{
"key": "down",
"command": "findAndJump.exitSearchMode",
"when": "editorTextFocus && findAndJump.isSearchModeActive"
},
{
"key": "left",
"command": "findAndJump.exitSearchMode",
"when": "editorTextFocus && findAndJump.isSearchModeActive"
}
🚧 Still under construction 🚧