guntbert
  • Member for 6 years, 9 months
  • Last seen this week
1 answers
47 votes
37k views
What is the difference between autoindent and smartindent in vimrc?
Accepted answer
37 votes

autoindent essentially tells vim to apply the indentation of the current line to the next (created by pressing enter in insert mode or with O or o in normal mode. smartindent reacts to the syntax/...

View answer
2 answers
7 votes
297 views
Deleting lines matching a pattern and put them into the buffer
3 votes

The reason why you get only the last line back is that :g works on the found lines line by line. This means that every next delete operation overwrites the previous content of the register used. To ...

View answer
1 answers
3 votes
95 views
Where can I see netrw plugin revision history or changelog?
Accepted answer
3 votes

Not quite a repository but netrw script seems to fit the bill (at least until 2014, or netrw v. 150). From then on you can find the complete history in the file vim/runtime/doc/pi_netrw.txt, the ...

View answer
2 answers
1 votes
49 views
Why is my global command coupled with a range command matching more lines than expected?
2 votes

When you have / characters in your pattern is is better to use another separator, for instance | (see :help :g). I am guessing that too many separators are confusing the parsing engine. The following ...

View answer
1 answers
2 votes
43 views
Showing showbreak character at the end of the line that is wrapping
1 votes

According to :help showbreak String to put at the start of lines that have been wrapped. this seems to not be possible. (As the character is not really a part of the buffer even some elaborate ...

View answer
1 answers
1 votes
93 views
How to show the name of a help buffer in the tabline of the airline?
1 votes

:help opens an unlisted buffer (:help unlisted-buffer) You can make the buffer listed (shown in :buffers) with the command :setlocal buflisted Now you will find the buffer in the list that :buffers ...

View answer
1 answers
1 votes
1k views
Ethan Schoonover's Solarized color scheme does not work as expected
Accepted answer
1 votes

To be able to take advantage of that theme you must select an appropriate palette in your terminal settings as well. If you don't find that palette in your terminal settings (for instance if you are ...

View answer