X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vimrc;h=cfa181bc5f7925f84bc98d3eb86d5795b2d76fd3;hb=75655297669075a6a45a05df38222c556c664aef;hp=374c426930ad9a227847879478248d7eb4719260;hpb=174ef8c368e86bd89add90a27cf875b2685e3f94;p=config%2Fdotfiles.git diff --git a/vimrc b/vimrc index 374c426..cfa181b 100644 --- a/vimrc +++ b/vimrc @@ -25,12 +25,9 @@ set tabstop=8 " Enable auto indention. set autoindent -" Activate lines display. -set number -" Display the ruler with current line/file position. -set ruler -" Display partial commands in the status line. -set showcmd +" Already display matches while typing the search command. This makes spotting +" errors easily. +set incsearch " Activate syntax folding. set foldmethod=syntax @@ -46,6 +43,25 @@ set smartcase set spell set spelllang=en_us + +" Use a dark background. +set background=dark + +" Activate lines display. +set number +" Display the ruler with current line/file position. +set ruler +" Display partial commands in the status line. +set showcmd + +" Visualize the line the cursor is currently in. +set cursorline + +" Display tabs as "^I" and trailing space as "-". +set list +set listchars=trail:- + + " When joining lines only add one space after a sentence. set nojoinspaces @@ -68,11 +84,6 @@ set nomodeline " possible files. set wildmode=longest,list -" Visualize the line the cursor is currently in. -set cursorline - -" Use a dark background. -set background=dark " Use "," as my mapleader.