This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bash prompt for deep paths | |
PS1='\[\033[01;32m\]$(p=${PWD/$HOME/\~};((${#p}>30))&&echo "…${p:(-29)}"||echo "\w")\[\033[00m\]$ ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# No annoying audible bell, using "visual bell" | |
vbell on | |
startup_message off | |
defscrollback 32000 | |
# start some programs in the given window numbers: | |
# screen -t emacs 0 emacs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-key global-map [(f3)] 'next-error) | |
(define-key global-map [(f7)] 'ispell-region) | |
(define-key global-map [M-left] 'backward-sexp) | |
(define-key global-map [M-right] 'forward-sexp) | |
(show-paren-mode t) | |
(setq ediff-split-window-function 'split-window-horizontally) |