Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit d052a69755993d581ef9b04fcc400bbfae4f2288 @mecury421 committed Nov 15, 2011
Showing with 51 additions and 0 deletions.
  1. +5 −0 .netrwhist
  2. +46 −0 vimrc
@@ -0,0 +1,5 @@
+let g:netrw_dirhistmax =10
+let g:netrw_dirhist_cnt =3
+let g:netrw_dirhist_1='/home/ed/Programming/Libx'
+let g:netrw_dirhist_2='/home/ed/Programming/Libx/src'
+let g:netrw_dirhist_3='/home/ed/Programming/Libx'
@@ -0,0 +1,46 @@
+" ============================================
+" = GENERAL
+" ============================================
+
+" Default indentation settings (use spaces)
+set ts=4 sts=4 sw=4 noexpandtab
+
+" enable line numbers
+set nu
+
+" Show visible tabs and eols
+" set list
+set listchars=tab:▸\ ,eol
+
+" Set colour scheme
+colors blackboard
+
+" ============================================
+" = CUSTOM KEY MAPPING
+" ============================================
+
+" use custom leader
+let mapleader=","
+
+" quick switch of list
+nmap <leader>l :set list!<CR>
+
+
+" ============================================
+" = AUTOCMD SETTINGS
+" ============================================
+
+" Check that we have autocmd installed
+if has("autocmd")
+
+ " enable file type detection
+ filetype on
+
+ " setup file type indentation settings
+ autocmd FileType make setlocal ts=4 sts=4 sw=4 noexpandtab
+
+ " reload the vimrc file if we have just made changes to it!
+ autocmd bufwritepost .vimrc source $MYVIMRC
+endif
+
+

0 comments on commit d052a69

Please sign in to comment.