updated for multimonitor setup with bar and screen
[dotfiles.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 5d220d7..4886f33 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -1,8 +1,14 @@
+#Shopt options
 shopt -s checkwinsize
 shopt -s histappend
-set -o vi
+
+#Disable bell
 xset -b >/dev/null 2>&1
 
+#Set vim mode and macros
+set -o vi
+bind '"\es":"\e0isudo \e$a"'
+
 #Variables
 export COLORFGBG="default:default"
 export EDITOR=vim
@@ -11,7 +17,7 @@ export HISTSIZE=100000
 export PATH=~/home/bin:$PATH
 export PYTHONDONTWRITEBYTECODE
 export PYTHONPATH=~/home/lib/python2.7/site-packages
-export STCONTROL=ignoreboth
+export HISTCONTROL=ignoreboth
 export TERM=screen
 export TERMINAL=urxvt
 export LD_LIBRARY_PATH=/home/marlub/home/lib64/:/home/marlub/home/lib/:/home/marlub/home/include