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"
Bookmarks inbookmarks:mine
inbookmarks:1234
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 user 2798

Vim reads initialization commands from a file called vimrc on startup. This can be used to set settings, define functions, execute autocommands, and more.

7
votes
2answers
I'm trying to tune the highlighting in my vim and I'm trying to set some syntax groups via the match command and highlight them in my vimrc file, because those groups are generic and do not belong to any … This is the code (the relevant part) of my vimrc. …
asked Jan 18 '16 by Dmitry Koroliov
1
vote
2answers
I know I can create a Bash-script but is it possible to do it only in vimrc? Thank you. …
asked Jun 3 '17 by Dmitry Koroliov
1
vote
Currently I did it with the help of the eval bash program: set makeprg=eval\ 'closure-compiler\ %\ 1>/dev/null' This approach doesn't require a separate bash script, so make can be called independe …
answered Jun 21 '17 by Dmitry Koroliov
3
votes
1answer
I would like to set a different highlighting for windows EOL characters. I have tried several approaches and some of them worked when I did : so $MYVIMRC, which is pretty strange, because after I clo …
asked Jan 18 '16 by Dmitry Koroliov
1
vote
One must use the dollar $ sign which marks eol in regex expressions which are not in the multiline mode. That is the substitution of \n to $ in the first example call matchadd("NewLineWin", "\r$") di …
answered Jan 18 '16 by Dmitry Koroliov
4
votes
3answers
Once completed, your new font will contain the more subtle dotted guide and all you have to do is set that glyph to g:indentLine_char in your .vimrc file. … I got this: But when I tried to define the glyph for a Unicode character from "the Private Use Area", namely U+DE90, I could not insert it into my vimrc file. …
asked Jan 19 '16 by Dmitry Koroliov
2
votes
2answers
I define several functions in my vimrc file. It used to work, but now it looks like definition rules have changed or something like that: function! … file: "/etc/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" defaults file: "$VIMRUNTIME/defaults.vim" fall-back for $VIM: …
asked Aug 20 '21 by Dmitry Koroliov