-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
16 lines (16 loc) · 699 Bytes
/
vimrc
File metadata and controls
16 lines (16 loc) · 699 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
set nocp
execute pathogen#infect()
map <C-n> :NERDTreeToggle<CR>
" cmap w!! w !sudo tee % >/dev/null
filetype plugin indent on
set backspace=2 " backspace in insert mode works like normal editor
syntax on " syntax highlighting
filetype indent on " activates indenting for files
set autoindent " auto indenting
set number " line numbers
set t_Co=256
colorscheme molokai " colorscheme desert
set statusline=%<%F%h%m%r\ [%{&ff}]\ %{fugitive#statusline()}\ (%{strftime(\"%H:%M\ %d/%m/%Y\",getftime(expand(\"%:p\")))})%=%l,%c%V\ %P
" highlight LineNr ctermbg=lightgray ctermfg=black
set nobackup " get rid of anoying ~file
set laststatus=2