From 4e3102753b3e607ef8a67af632565ef81dd5a214 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Sun, 15 May 2016 08:55:50 +0200 Subject: [PATCH] Enable cscope git hooks --- .git_template/hooks/post-checkout | 1 + .git_template/hooks/post-commit | 1 + .git_template/hooks/post-merge | 1 + .inputrc | 2 +- .vimrc | 7 ++++--- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.git_template/hooks/post-checkout b/.git_template/hooks/post-checkout index 745c5f9..f6c2774 100755 --- a/.git_template/hooks/post-checkout +++ b/.git_template/hooks/post-checkout @@ -1,3 +1,4 @@ #!/bin/sh .git/hooks/ctags >/dev/null 2>&1 & .git/hooks/gtags >/dev/null 2>&1 & +.git/hooks/cscope >/dev/null 2>&1 & diff --git a/.git_template/hooks/post-commit b/.git_template/hooks/post-commit index 745c5f9..f6c2774 100755 --- a/.git_template/hooks/post-commit +++ b/.git_template/hooks/post-commit @@ -1,3 +1,4 @@ #!/bin/sh .git/hooks/ctags >/dev/null 2>&1 & .git/hooks/gtags >/dev/null 2>&1 & +.git/hooks/cscope >/dev/null 2>&1 & diff --git a/.git_template/hooks/post-merge b/.git_template/hooks/post-merge index 745c5f9..f6c2774 100755 --- a/.git_template/hooks/post-merge +++ b/.git_template/hooks/post-merge @@ -1,3 +1,4 @@ #!/bin/sh .git/hooks/ctags >/dev/null 2>&1 & .git/hooks/gtags >/dev/null 2>&1 & +.git/hooks/cscope >/dev/null 2>&1 & diff --git a/.inputrc b/.inputrc index df0e02e..6911450 100644 --- a/.inputrc +++ b/.inputrc @@ -60,4 +60,4 @@ set convert-meta off # Include system wide settings which is ignored # by default if one has own .inputrc -# $include /etc/inputrc \ No newline at end of file +$include ~/inputrc_local diff --git a/.vimrc b/.vimrc index 21ebfd0..46a3a83 100644 --- a/.vimrc +++ b/.vimrc @@ -62,9 +62,10 @@ set smarttab " sw at the start of the line, sts everywhere else setglobal tags=./tags; set timeoutlen=1200 " A little bit more time for macros set ttimeoutlen=50 " Make Esc work faster -if exists('+undofile') - set undofile -endif +"if exists('+undofile') +" set undofile +"endif +set nobackup set visualbell set virtualedit=block set wildmenu -- 2.43.0