Skip to content

Instantly share code, notes, and snippets.

" Use Vim settings, rather than Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
" allow backspacing over everything in insert mode
set backspace=indent,eol,start
" jj key is <Esc> setting
inoremap jj <Esc>
@T-Kuhn
T-Kuhn / .vimrc
Last active June 10, 2020 11:26
vimrc for raspberry pi
" When started as "evim", evim.vim will already have done these settings.
if v:progname =~? "evim"
finish
endif
" Use Vim settings, rather than Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
" allow backspacing over everything in insert mode
@T-Kuhn
T-Kuhn / vimrc
Last active July 11, 2016 23:10
" When started as "evim", evim.vim will already have done these settings.
if v:progname =~? "evim"
finish
endif
" Use Vim settings, rather than Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
" allow backspacing over everything in insert mode