Search Results
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 |
A scripting language embedded into Vim. It can be used to customize Vim to suit your needs and to create plugins. Also called VimL.
1
vote
1
answer
73
views
What does this code from vim-dispatch do?
I was trying to rename mappings in vim-dispatch when I noticed the following in dispatch.vim:
nmap <script> <SID>:. :<C-R>=getcmdline() =~ ',' ? "\0250" : ""<CR>
if !get(g:, 'dispatch_no_maps')
…
1
vote
1
answer
108
views
What are the escaping rules of command arguments?
The following does nothing:
:file /tmp/[some file]
or:
:file "/tmp/[some file]"
The following set's the file to /tmp/[some file]:
:file /tmp/\[some file]
What are the rules that :file arguments are …
1
vote
What are the escaping rules of command arguments?
What are the rules that :file arguments are escaped?
The argument to :file is undergoing expand() function. expand() expands wildcards and all special keywords. All special characters % # <, modifie …
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 …