t9md / atom-vim-mode-plus

vim-mode improved
https://atom.io/packages/vim-mode-plus
MIT License
1.4k stars 111 forks source link

feature request: `*` operator to highlight in minimap too. #1073

Open trusktr opened 6 years ago

trusktr commented 6 years ago

Pressing * highlights all the occurrences across panes/buffers, but they don't appear in minimap.

This would be cool!

Maybe if quick-highlight can have an option to store certain highlights under certain letter (similar to vim registers), then we could use the * register to track persistent highlight of * match, then ctrl-c can clear highlight of the * register, and pressing * on another word would change the * highlight.

At the moment, quick-highlight:toggle will clear the one under the cursor, but when using * we may not be with cursor on the same highlight anymore.

debug info with package info ```json { "atom": "1.27.1", "platform": "darwin", "release": "17.5.0", "vmpVersion": "1.32.0", "vmpConfig": { "automaticallyEscapeInsertModeOnActivePaneItemChange": true, "keymapYToYankToLastCharacterOfLine": true, "wrapLeftRightMotion": true, "blackholeRegisteredOperators": [], "startInInsertModeScopes": [], "charactersToAddSpaceOnSurround": [], "highlightSearchExcludeScopes": [], "flashOnOperateBlacklist": [] }, "activeCommunityPackages": [ "atom-material-syntax: 1.0.8", "atom-vim-like-tab: 1.5.1", "hey-pane: 1.1.0", "keystroke: 0.4.0", "minimap: 4.29.8", "minimap-quick-highlight: 1.0.1", "one-tab: 0.10.0", "teletype: 0.13.2", "vim-mode-plus: 1.32.0", "vim-mode-plus-keymaps-for-surround: 0.2.1", "language-pug: 0.0.22", "platformio-ide-terminal: 2.8.1", "minimap-highlight-selected: 4.6.1", "highlight-line: 0.12.0", "quick-highlight: 0.13.0", "vim-mode-plus-macros: 0.1.2", "highlight-selected: 0.13.1" ] } ```