Skip to content

Instantly share code, notes, and snippets.

View zsombor's full-sized avatar

Dee Zsombor zsombor

View GitHub Profile
# bash prompt for deep paths
PS1='\[\033[01;32m\]$(p=${PWD/$HOME/\~};((${#p}>30))&&echo "…${p:(-29)}"||echo "\w")\[\033[00m\]$ '
# 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
@zsombor
zsombor / gist:9f684ea6c93a2dba6fb7
Last active August 29, 2015 14:22
custom-set-faces
(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)