Some update
[dotfiles.git] / vim / .vimrc
index bf5bb9c..794c49c 100644 (file)
@@ -1,6 +1,3 @@
-" Package manager
-execute pathogen#infect()
-
 " Automaticly source some files after writing
 autocmd! bufwritepost .vimrc source %
 autocmd! bufwritepost .bashrc !source %
@@ -9,6 +6,7 @@ autocmd! bufwritepost .Xresources !xrdb -merge %
 " Some general options
 syntax enable
 filetype indent plugin on
+color torte
 set encoding=utf-8
 set history=1000
 set number
@@ -25,10 +23,11 @@ set colorcolumn=80
 set textwidth=79
 set shiftwidth=4
 set tabstop=4
+set nowrap
 
 " List characters to mark trailing whitespace etc
 set listchars=nbsp:¬,tab:▸\ ,eol:↩,extends:»,precedes:«,trail:•
-set nolist
+set list
 
 " Move through long lines as they were short multiple lines
 map j gj
@@ -44,6 +43,10 @@ map <TAB>k <C-W>k
 nnoremap n nzzzv
 nnoremap N Nzzzv
 
+" Fold settings
+set foldmethod=syntax
+set foldlevelstart=99
+
 " Unbind arrow keys, who has them anyways on the keyboard...
 for prefix in ['i', 'n', 'v']
        for key in ['<UP>', '<DOWN>', '<LEFT>', '<RIGHT>']