diff --git a/.vimrc b/.vimrc index ccccca9..7d77fa9 100644 --- a/.vimrc +++ b/.vimrc @@ -11,6 +11,7 @@ scriptencoding utf-8 " Extra terminal things set termencoding=utf-8 set encoding=utf-8 + " Turn off the menubar so we don't get key accelerators with Meta. " Don't include the toolbar set guioptions=aegiLt @@ -33,6 +34,15 @@ set nocompatible set viminfo='1000,f1,:1000,/1000 set history=500 +" Return to last line +if has("autocmd") + autocmd BufReadPost * + \ if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g`\"" | endif +endif + +" Abbreviate output of commands +set shortmess=a + " Make backspace delete lots of things set backspace=indent,eol,start @@ -730,7 +740,7 @@ 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 -au Filetype html,xml,xsl,sgml,docbook +au Filetype html,xml,xsl,sgml ",docbook " explorador vertical let g:explVertical=1 " define leader como = diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 16f5b7c..dfabc25 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -33,7 +33,7 @@ import qualified XMonad.StackSet as W import qualified Data.Map as M -- mTerminal = "urxvt;ps -U $USER |grep dzen2|awk '{print $1}'|xargs kill -USR1" -mTerminal = "urxvtc" +mTerminal = "urxvt" mBorderWidth = 1 mModMask = mod4Mask diff --git a/.zshrc b/.zshrc index 6a979c2..ff2dcea 100644 --- a/.zshrc +++ b/.zshrc @@ -78,7 +78,8 @@ if [ -n "`which vim`" ] ; then export VISUAL=vim export EDITOR=vim if [ -n "$DISPLAY" ] ; then - alias vi="gvim -font 'APL385 Unicode 8' -c 'set keymap=uniapl385'" + alias gvim="gvim -font 'APL385 Unicode 8' -c 'set keymap=uniapl385'" + alias vi=vim else alias vi=vim fi