6

*CTRL-D* CTRL-D Scroll window Downwards in the buffer. The number of lines comes from the 'scroll' option (default: half a screen). <b>If [count] given, first set 'scroll' option to [count].</b> ... Execute 1<ctrl-d> for one time, it will set 'scroll' to 1, you can then use <c-d> and &...


4

Most likely the developer didn't feel that this feature is important enough to deserve a simple key. On the other hand it is possible to create mappings using 1<C-d> and 1<C-u> when you need it. Remember that vi was initially implemented by Billy Joy in 1976. At that time scrolling the screen might have been an expensive operation.


4

Excluding newlines There is a command for go to next character, it is <space>. I assume the option whichwrap is default of b,s so that space wraps to the next line, and conceallevel is 0 so no chars are skipped. Then to go to the 1723rd character in the file, use :normal! 0go1722 " " simply emphasizes the trailing space. We can make a command ...


2

You need to set virtualedit=all. The virtualedit option controls where you can edit outside of the actual text (there are other options). Read :help 'virtualedit' for more.


2

(Trying to keep answers out of comments and in answers): Most auto-pair-style plugins let you type the closing bracket to “skip over” the automagically-inserted bracket.


1

This has to do with the ^ being a dead key. A dead key doesn't insert a character, but composes a character with the key pressed next. This is the "normal" keyboard layout in some languages. In a german layout the ^ is a dead key. A example usage is ^a which would produce a â. This happens in the keyboard driver. So, to get a ^ delivered to Vim you need ...


1

Yes, it is equivalent, except as you say it doesn't span lines. First the \> matches a "end of a word" ( as defined by iskeyword). So it matches something that you could reach with the e command. The important part is the .\{-}. With it the the expression .\{-}\> becomes "match from here to the next "end of word" in the same line. This is the same as ...


Only top voted, non community-wiki answers of a minimum length are eligible