" 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
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
" 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.