Mercurial > dotfiles.old
comparison vimrc @ 244:50379acb4815
Add spice syntax
author | zegervdv <zegervdv@me.com> |
---|---|
date | Wed, 18 Feb 2015 22:36:23 +0100 |
parents | 5fb4bf06d46d |
children | 624d06dcf54c |
comparison
equal
deleted
inserted
replaced
243:367fd20ecfbc | 244:50379acb4815 |
---|---|
237 | 237 |
238 " Move while in insert mode | 238 " Move while in insert mode |
239 inoremap <C-f> <right> | 239 inoremap <C-f> <right> |
240 | 240 |
241 " Switch between the last two files | 241 " Switch between the last two files |
242 nnoremap <leader><leader> <C-^> | 242 nnoremap <space><space> <C-^> |
243 | 243 |
244 " Very Magic search patterns | 244 " Very Magic search patterns |
245 nmap / /\v | 245 nmap / /\v |
246 cmap s/ s/\v | 246 cmap s/ s/\v |
247 | 247 |
371 au FileType c setlocal foldmethod=syntax | 371 au FileType c setlocal foldmethod=syntax |
372 " }}} | 372 " }}} |
373 " VHDL {{{ | 373 " VHDL {{{ |
374 " VHDL ctags | 374 " VHDL ctags |
375 let g:tlist_vhdl_settings = 'vhdl;d:package declarations;b:package bodies;e:entities;a:architecture specifications;t:type declarations;p:processes;f:functions;r:procedures' | 375 let g:tlist_vhdl_settings = 'vhdl;d:package declarations;b:package bodies;e:entities;a:architecture specifications;t:type declarations;p:processes;f:functions;r:procedures' |
376 " }}} | |
377 " Spice {{{ | |
378 autocmd BufRead *.{net,lib} set filetype=spice | |
376 " }}} | 379 " }}} |
377 | 380 |
378 " Plugin settings | 381 " Plugin settings |
379 " Tabular {{{ | 382 " Tabular {{{ |
380 inoremap <silent> <Bar> <Bar><Esc>:call <SID>align()<CR>a | 383 inoremap <silent> <Bar> <Bar><Esc>:call <SID>align()<CR>a |