Mercurial > dotfiles
comparison vim/vimrc @ 97:e6ecdb8ef62f
Merged changes.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 29 Mar 2012 21:53:12 -0700 |
parents | b96ff0dd0137 822fc8b4405f |
children | 660fc1a54b4a |
comparison
equal
deleted
inserted
replaced
96:4c2c0fadab01 | 97:e6ecdb8ef62f |
---|---|
151 set backspace=indent,eol,start | 151 set backspace=indent,eol,start |
152 | 152 |
153 " Going left and right let you go to other lines. | 153 " Going left and right let you go to other lines. |
154 set whichwrap+=<,>,h,l | 154 set whichwrap+=<,>,h,l |
155 | 155 |
156 " How to show invisible characters | |
157 set listchars=eol:$,tab:>-,trail:-,extends:>,precedes:<,nbsp:%,conceal:. | |
158 | |
156 " Folds are defined by markers in the text. | 159 " Folds are defined by markers in the text. |
157 set foldmethod=marker | 160 set foldmethod=marker |
158 | 161 |
159 " Nice auto-complete menu. | 162 " Nice auto-complete menu. |
160 set completeopt=longest,menuone,preview | 163 set completeopt=longest,menuone,preview |
260 nnoremap <C-down> :wincmd j<cr> | 263 nnoremap <C-down> :wincmd j<cr> |
261 nnoremap <C-left> :wincmd h<cr> | 264 nnoremap <C-left> :wincmd h<cr> |
262 nnoremap <C-right> :wincmd l<cr> | 265 nnoremap <C-right> :wincmd l<cr> |
263 | 266 |
264 " Open NERDtree. | 267 " Open NERDtree. |
265 nnoremap <F2> :NERDTreeToggle<cr> | 268 nnoremap <F2> :NERDTreeToggle %:p:h<cr> |
266 | 269 |
267 " Switch buffers. | 270 " Switch buffers. |
268 nnoremap <F3> :execute ("buffer " . bufname("#"))<cr> | 271 nnoremap <F3> :execute ("buffer " . bufname("#"))<cr> |
269 | 272 |
270 " Common typos. | 273 " Common typos. |