Emacs Config

Here is my .emacs file. I like to keep it short and simple and this is the current state after three years of heavy emacs use for programming. I try to use as many default key bindings as possible so I can use a default emacs without too much pain. The only key bindings I have here are the ones not previously set.

I don’t use Xemacs and I only use emacs in no-window mode (-nw).

~/.emacs

(display-time-mode t)
;; show clock
(setq x-select-enable-clipboard t)
;; paste from X buffer
(global-font-lock-mode t)
;; syntax highlighting
(menu-bar-mode nil)
;; remove menu bar
(column-number-mode t)
;; show column numbers
(delete-selection-mode t)
;; replace highlighted text when typing

;; custom key bindings
(global-set-key "C-cl" 'goto-line)
(global-set-key "C-cs" 'shell)
(global-set-key "C-cg" 'gdb)
    None Found