SkillAgentSearch skills...

Visualstar.vim

Vim star-search in Visual Mode. Also includes search-and-replace functionality for Normal and Visual modes.

Install / Use

/learn @subnut/Visualstar.vim
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

visualstar.vim

Q. What is this?

A simple plugin to enable * and # searching selected text from Visual mode

Q. But I don't use * or #! I have mapped something else to them!

Seriously?

Well, include the following lines in your .vimrc -

let g:visualstar_mappings_disabled = 1
xmap A <Plug>(VisualstarSearch-*)
xmap B <Plug>(VisualstarSearch-#)

And replace A and B with whatever you have mapped to * and #

Q. Are there any hidden features?

No no, I will not tell you that there is a <Plug>(VisualstarSearchReplace) that can be used in nmap and xmap mappings. :wink:

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated1y ago
Forks0

Languages

Vim script

Security Score

75/100

Audited on Nov 30, 2024

No findings