diff --git a/.vimrc b/.vimrc index 1880a281..7f9f1139 100755 --- a/.vimrc +++ b/.vimrc @@ -11,15 +11,11 @@ set hidden " file settings set encoding=utf-8 -" plugins -execute pathogen#infect() -filetype plugin indent on - " key mappings let mapleader = "," nmap p :set paste! nmap h :set hlsearch! -nmap t :w :Make test +nmap t :wa :Make test " navigate buffers by ctrl-b nmap :bprevious @@ -48,6 +44,10 @@ set softtabstop=4 set shiftwidth=4 set expandtab +" plugins +execute pathogen#infect() +filetype plugin indent on + " colours [need pathogen] set t_Co=256 syntax enable