Add .fluxbox/keys.
[dotfiles-framework.git] / src / .emacs.d / load / wtk_common.el
1 ;------------------------------------------------------------------------------
2 ; Make operating on buffers more convienient
3
4 (setq inhibit-startup-message t)         ; no splash screen
5 (fset 'yes-or-no-p 'y-or-n-p)            ; use y or n instead of yes or n
6 (setq require-final-newline t)           ; always end a file with a newline
7 (setq backup-by-copying-when-mismatch t) ; preserve file's owner and group
8 (when (fboundp 'global-font-lock-mode)   ; turn on font-lock mode
9   (global-font-lock-mode t))
10 (setq transient-mark-mode t)             ; enable visual feedback on selections
11 (global-set-key "\C-xg" 'goto-line)      ; bind the goto-line function
12
13 ; Make scripts executable on Save (saves having to do the chmod every time)
14 (add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p)