My terminal sends
for backspace and
To get these keys working in
vim like they work in other programs,
into my .vimrc. Of course, one must use ^V <backspace> and ^V <delete> to insert the characters into the text.
Another set of essential settings for me is to change the arrow keys to work by visual lines, not physical lines. [HJKL isn't for me. I'm a 90s kid, all I know is ↑←↓→ and WASD.]
nnoremap <Down> gj
nnoremap <Up> gk
vnoremap <Down> gj
vnoremap <Up> gk
inoremap <Down> <C-o>gj
inoremap <Up> <C-o>gk
I've found some servers which tell me
"Invalid command: [vim]"
and only have
vi is always just a link to
but in that awful lets-emulate-the-bad-times mode.
Hence, this minimal
.vimrc to get a usable environment.
Vim beeps too much. Here's how to make it STFU.
autocmd GUIEnter * set visualbell t_vb=
:set option? gets the current value of option.
Originally posted 2014-06-18, last edited 2016-01-16. | home