I really only want to cover a few things in that list because they are the most
frequently used and caused me trouble when I was trying to set this up.
Each of those items up there starting with a
\^ (Circumflex Accent)
represents a control key combination. For instance, eof \^D
will send the
logout signal upon pressing Ctrl+D. The problem here is that those "circumflex
accents" aren’t caret characters. A circumflex accent is its own character. How
do we do these in vi/vim? You need another control key combination to tell
vi/vim that you are going to be pressing a control key combination of course!
To do, for instance, the Ctrl+D sequence in vim, go into insert mode and type
Ctrl+v Ctrl+d
(the d is not capitalized) and you should see \^d
show up.
I did have two problems with this method though: \^S and \^Q. It turns out that
those aren’t Ctrl+S and Ctrl+Q. Since I didn’t know those, I elected to use the
actual digraph instead of the character version to set them. To do this, go
into insert mode again and hit Ctrl\+k
and type the digraph. In the
case of \^Q and \^S, these are D1 and D3, respectively.
Category:Linux
Category:Vim
Category:Unix