Multiple minor changes

This commit is contained in:
hellerve
2015-04-12 22:18:03 +02:00
parent bc7dafd50f
commit 05d977ece6
3 changed files with 25 additions and 1 deletions

View File

@@ -13,3 +13,17 @@ set-window-option -g mode-mouse on
set-option -g mouse-select-pane on
set-option -g mouse-select-window on
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
bind m \
set -g mode-mouse on \;\
set -g mouse-resize-pane on \;\
set -g mouse-select-pane on \;\
set -g mouse-select-window on \;\
display 'Mouse: ON'
bind M \
set -g mode-mouse off \;\
set -g mouse-resize-pane off \;\
set -g mouse-select-pane off \;\
set -g mouse-select-window off \;\
display 'Mouse: OFF'

2
vimrc
View File

@@ -81,7 +81,7 @@ Bundle 'christoomey/vim-tmux-navigator'
" Haskell
Bundle 'raichoo/haskell-vim'
Bundle 'enomsg/vim-haskellConcealPlus'
"Bundle 'eagletmt/ghcmod-vim'
Bundle 'eagletmt/ghcmod-vim'
Bundle 'eagletmt/neco-ghc'
Bundle 'Twinside/vim-hoogle'

10
zshrc
View File

@@ -141,6 +141,16 @@ RPROMPT='`rprompt-git-current-branch`'
RPROMPT+="%{$fg[yellow]%}%~%{$reset_color%}"
RPROMPT+=' `cabal_sandbox_info`'
function ghc-pkg-reset() {
read 'ans?erasing all your user ghc and cabal packages - are you sure (y/n) ? '
if [[ "$ans" =~ ^[Yy]$ ]] ; then
echo 'erasing directories under ~/.ghc'; rm -rf `find ~/.ghc -maxdepth 1 -type d`; \
echo 'erasing ~/.cabal/lib'; rm -rf ~/.cabal/lib; \
# echo 'erasing ~/.cabal/packages'; rm -rf ~/.cabal/packages; \
# echo 'erasing ~/.cabal/share'; rm -rf ~/.cabal/share; \
fi
}
extract(){
if [ -f $1 ] ; then
case $1 in