Fixing vim startup, no gvim anymore, and xmonad urxvt not-c

This commit is contained in:
Hunter Haugen 2009-11-20 16:33:44 +05:30
parent b510ae65a9
commit 57aeed6b9d
3 changed files with 14 additions and 3 deletions

12
.vimrc
View file

@ -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 =

View file

@ -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

3
.zshrc
View file

@ -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