@@ -20,7 +20,8 @@ I think I got it pretty close:
2020 syntax on
2121 filetype plugin indent on
2222 set nocompatible
23- set modelines=0
23+ set modeline
24+ set modelines=5
2425 set encoding=utf-8
2526 set relativenumber
2627 set guioptions=
@@ -31,6 +32,7 @@ I think I got it pretty close:
3132 set incsearch
3233 set smartcase
3334 set smartindent
35+ set hlsearch
3436 set autoindent
3537 set expandtab
3638 set smarttab
@@ -66,8 +68,15 @@ I think I got it pretty close:
6668 map <leader>x :ToggleBg<CR>
6769 map <leader>c :ToggleScheme<CR>
6870 map <leader>n :NERDTreeToggle<CR>
69- map <leader>] :tabnext<CR>
70- map <leader>[ :tabprevious<CR>
71+ " === thanks Ian, http://statico.github.com/vim.html
72+ map <leader>] :bnext<CR>
73+ map <leader>[ :bprev<CR>
74+ nmap <leader>e :e#<CR>
75+ nmap j gj
76+ nmap k gk
77+ nmap <leader>h :nohlsearch<CR>
78+ nmap <leader>s :SyntasticCheck<CR>
79+ nmap <leader>p :CtrlPBuffer<CR>
7180 " === config vars ===
7281 let g:indent_guides_guide_size = 1
7382 " === colors ===
@@ -77,8 +86,7 @@ I think I got it pretty close:
7786 if !has('gui_running')
7887 set listchars=tab:▸\ ,eol:¬,trail:⋅
7988 set background=dark
80- " nocto adapts to the term env.
81- colorscheme noctu
89+ colorscheme shiny-ninja
8290 if &term =~ "xterm"
8391 set t_Co=256
8492 if has("terminfo")
@@ -92,6 +100,10 @@ I think I got it pretty close:
92100 endif
93101 " === auto commands ===
94102 au BufNewFile,BufRead *.jsm set filetype=javascript
103+ au BufNewFile,BufRead *.less syn cluster sassCssAttributes add=@cssColors
104+ " === syntastic
105+ " let g:syntastic_<filetype>_checkers=['<checker-name>']
106+ let g:syntastic_javascript_checkers=['jslint']
95107 {% endhighlight %}
96108
97109 Here is a list of dependencies to reproduce this setup:
@@ -99,3 +111,5 @@ Here is a list of dependencies to reproduce this setup:
99111 + [shiny-ninja](/assets/shiny-ninja.vim)
100112 + [hemisu](https://github.com/noahfrederick/Hemisu)
101113 + [noctu](https://github.com/noahfrederick/vim-noctu)
114+
115+*Note*: Post updated on March 25th, 2013