comparison vimrc @ 160:eb9ee89c7ccb

Use less as git diff pager
author zegervdv <zegervdv@me.com>
date Fri, 24 Oct 2014 19:23:17 +0200
parents 6355d2b31b9a
children b18950d832ab
comparison
equal deleted inserted replaced
159:ec65f74e44ff 160:eb9ee89c7ccb
275 " 275 "
276 " Next acts on the next object of the given type, last acts on the previous 276 " Next acts on the next object of the given type, last acts on the previous
277 " object of the given type. These don't necessarily have to be in the current 277 " object of the given type. These don't necessarily have to be in the current
278 " line. 278 " line.
279 " 279 "
280 " Currently works for (, [, {, and their shortcuts b, r, B. 280 " Currently works for (, [, {, and their shortcuts b, r, B.
281 " 281 "
282 " Next kind of works for ' and " as long as there are no escaped versions of 282 " Next kind of works for ' and " as long as there are no escaped versions of
283 " them in the string (TODO: fix that). Last is currently broken for quotes 283 " them in the string (TODO: fix that). Last is currently broken for quotes
284 " (TODO: fix that). 284 " (TODO: fix that).
285 " 285 "
342 " Vim does the wrong thing when you say vi(. 342 " Vim does the wrong thing when you say vi(.
343 343
344 let open = '' 344 let open = ''
345 let close = '' 345 let close = ''
346 346
347 if c ==# "(" 347 if c ==# "("
348 let open = "(" 348 let open = "("
349 let close = ")" 349 let close = ")"
350 elseif c ==# "{" 350 elseif c ==# "{"
351 let open = "{" 351 let open = "{"
352 let close = "}" 352 let close = "}"
401 401
402 let &whichwrap = whichwrap 402 let &whichwrap = whichwrap
403 endif 403 endif
404 endif 404 endif
405 endfunction 405 endfunction
406 " }}} 406
407 " }}}
408
407 " VHDL ctags 409 " VHDL ctags
408 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' 410 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'
409 " }}} 411 " }}}
410 " Latex {{{ 412 " Latex {{{
411 " Compile using rubber 413 " Compile using rubber
528 endif 530 endif
529 else 531 else
530 return "\<CR>" 532 return "\<CR>"
531 endif 533 endif
532 endfunction 534 endfunction
533 " <CR> close popup and save indent or expand snippet 535 " <CR> close popup and save indent or expand snippet
534 imap <expr> <CR> CleverCr() 536 imap <expr> <CR> CleverCr()
535 " }}} 537 " }}}
536 " Neo Snippets {{{ 538 " Neo Snippets {{{
537 imap <C-k> <Plug>(neosnippet_expand_or_jump) 539 imap <C-k> <Plug>(neosnippet_expand_or_jump)
538 smap <C-k> <Plug>(neosnippet_expand_or_jump) 540 smap <C-k> <Plug>(neosnippet_expand_or_jump)
539 xmap <C-k> <Plug>(neosnippet_expand_target) 541 xmap <C-k> <Plug>(neosnippet_expand_target)