From 710670fe507bcea2e24905819f44ea876526dc6e Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Mon, 3 May 2010 20:02:10 -0700 Subject: [PATCH] Fixing make commands, and putting Up/down controlling window --- .vimrc | 47 +++++++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/.vimrc b/.vimrc index 34d60d6..7ace63a 100644 --- a/.vimrc +++ b/.vimrc @@ -536,6 +536,10 @@ noremap gj noremap noremap +" Scrolling with arrows controls the window +noremap +noremap + " Useful things from inside imode inoremap w :w inoremap q gq}k$ @@ -545,10 +549,14 @@ inoremap q gq}k$ "imap :silent nohlsearch "nmap :Kwbd "nmap c -"nmap :make all-then-check -"nmap :make -"nmap :!svn update -"nmap :!svn status \| grep -v '^?' \| sort -k2 +"nmap :exec "make check TESTS_ENVIRONMENT=true LOG_COMPILER=true XFAIL_TESTS=" +"nmap :exec "make -C " . expand("%:p:h") . " check TESTS_ENVIRONMENT=true LOG_COMPILER=true XFAIL_TESTS=" +nmap :make all-then-check +nmap :exec "make -C " . expand("%:p:h") . " check" +nmap :make +nmap :exec "make -C " . expand("%:p:h") +"nmap :exec "make -C " . expand("%:p:h") . " check SUBDIRS= check_PROGRAMS=" . GetCurrentTest() +" \ . " TESTS=" . GetCurrentTest() " Insert a single char noremap i ir @@ -848,13 +856,13 @@ if has("eval") let php_htmlInStrings=1 " Settings for taglist.vim - let Tlist_Use_Right_Window=1 - let Tlist_Auto_Open=0 - let Tlist_Enable_Fold_Column=0 - let Tlist_Compact_Format=1 - let Tlist_WinWidth=28 - let Tlist_Exit_OnlyWindow=1 - let Tlist_File_Fold_Auto_Close = 1 + "let Tlist_Use_Right_Window=1 + "let Tlist_Auto_Open=0 + "let Tlist_Enable_Fold_Column=0 + "let Tlist_Compact_Format=1 + "let Tlist_WinWidth=28 + "let Tlist_Exit_OnlyWindow=1 + "let Tlist_File_Fold_Auto_Close = 1 "nnoremap :Tlist " Settings minibufexpl.vim @@ -928,7 +936,7 @@ endif " final commands "----------------------------------------------------------------------- " mio -let Tlist_Ctags_Cmd="/usr/bin/exuberant-ctags" +"let Tlist_Ctags_Cmd="/usr/bin/exuberant-ctags" " plegado ident para python au FileType python set foldmethod=indent " plegado syntax para sgml,htmls,xml y xsl @@ -959,11 +967,11 @@ map :set nu! map ggVGg? map :set encoding=utf-8 | :set fenc=utf-8 map :set encoding=iso8859-15 | :set fenc=iso8859-15 -map :SpellProposeAlternatives -map :SpellCheck -map :let spell_language_list = "english,spanish" -nnoremap :Tlist -nnoremap :TlistSync +"map :SpellProposeAlternatives +"map :SpellCheck +"map :let spell_language_list = "english,spanish" +"nnoremap :Tlist +"nnoremap :TlistSync nnoremap :noh map !!date map :TC @@ -977,9 +985,8 @@ inoremap :syntax sync fromstart syntax sync minlines=200 " Javac -set makeprg=javac\ % -set errorformat=%A%f:%l:\ %m,%-Z%p^,%-C%.%# -map :make +"set makeprg=javac\ % +"set errorformat=%A%f:%l:\ %m,%-Z%p^,%-C%.%# " CVS nmap cadd CVSAdd