X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vimrc;h=cd7c90e9ec1a06741bac569d35af9b3f25271516;hb=bf1259ccbdee487fc48c0a8f86815cb2b2476863;hp=5d39f34cf54384612344920b2125c4144a77162a;hpb=f00e64bea12ae41e20f800c6fcb1b644bf1eb23e;p=config%2Fdotfiles.git diff --git a/vimrc b/vimrc index 5d39f34..cd7c90e 100644 --- a/vimrc +++ b/vimrc @@ -31,8 +31,8 @@ set autoindent " When joining lines only add one space after a sentence. set nojoinspaces -" Allow backspacing over autoindent, line breaks and insert mode starts. -set backspace=indent,eol,start +" Allow backspacing over autoindent and line breaks. +set backspace=indent,eol " Start a comment when hitting enter after a commented line (r) and when using " o or O around a commented line (o). @@ -41,6 +41,10 @@ set formatoptions+=ro " started. set formatoptions+=l +" Allow virtual editing (cursor can be positioned anywhere, even when there is +" no character) in visual block mode. +set virtualedit=block + " Already display matches while typing the search command. This makes spotting " errors easily. set incsearch