Mercurial > dotfiles.old
changeset 160:eb9ee89c7ccb
Use less as git diff pager
author | zegervdv <zegervdv@me.com> |
---|---|
date | Fri, 24 Oct 2014 19:23:17 +0200 |
parents | ec65f74e44ff |
children | 53a5e5db21c5 |
files | gitconfig vimrc |
diffstat | 2 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/gitconfig Fri Oct 24 19:05:35 2014 +0200 +++ b/gitconfig Fri Oct 24 19:23:17 2014 +0200 @@ -16,6 +16,7 @@ excludesfile = ~/.gitignore editor = vim autocrlf = input + pager = less -+F [apply] whitespace = nowarn [mergetool]
--- a/vimrc Fri Oct 24 19:05:35 2014 +0200 +++ b/vimrc Fri Oct 24 19:23:17 2014 +0200 @@ -277,7 +277,7 @@ " object of the given type. These don't necessarily have to be in the current " line. " -" Currently works for (, [, {, and their shortcuts b, r, B. +" Currently works for (, [, {, and their shortcuts b, r, B. " " Next kind of works for ' and " as long as there are no escaped versions of " them in the string (TODO: fix that). Last is currently broken for quotes @@ -344,7 +344,7 @@ let open = '' let close = '' - if c ==# "(" + if c ==# "(" let open = "(" let close = ")" elseif c ==# "{" @@ -403,7 +403,9 @@ endif endif endfunction + " }}} + " VHDL ctags 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' " }}} @@ -530,8 +532,8 @@ return "\<CR>" endif endfunction -" <CR> close popup and save indent or expand snippet -imap <expr> <CR> CleverCr() +" <CR> close popup and save indent or expand snippet +imap <expr> <CR> CleverCr() " }}} " Neo Snippets {{{ imap <C-k> <Plug>(neosnippet_expand_or_jump)