Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 31698

Adding highlighting to the document other than syntax highlighting (such as hlsearch or :match)

1 vote
0 answers
12 views

How to get highlight style used for the text under cursor? [duplicate]

There is some text under my cursor that specific highlight is used. I do not know which highlight is that. I can type :highlight and randomly guess which could that be. … Is there a method to just place my cursor over some text and then do :get_highlight_under_cursor-ish command to get the highlight used to display the character under the cursor? …
KamilCuk's user avatar
  • 277
4 votes
1 answer
5k views

How to highlight cursor line number without cursor line?

The highlight CursorLineNR is only active when set cursorline is set. …
KamilCuk's user avatar
  • 277
0 votes
1 answer
36 views

How to put sync region start=<this> into a variable?

I have the following code: com! -nargs=* ShFoldFunctions <args> fold ShFoldFunctions syn region shFunctionOne start="^\s*[A-Za-z_0-9:,][-a-zA-Z_0-9:]*\s*()\_s*{" end="}" ShFoldFunctions syn reg …
KamilCuk's user avatar
  • 277