Since I am an Emacs user, I am going to post my .emacs file here so I can easily find it when I start to work on a new computer.
-
.emacs
; emacsclient
(server-start)
(remove-hook 'kill-buffer-query-functions 'server-kill-buffer-query-function)
; turn off scroll bars
(scroll-bar-mode -1)
; turn off menu bar
(menu-bar-mode -1)
; turn off tool bar
(tool-bar-mode -1)
; show the column number
(column-number-mode 1)
; don't truncate long lines
(setq truncate-partial-width-windows nil)
; turn on syntax highlighting
(global-font-lock-mode t)
(setq font-lock-maximum-decoration t)
; make Alt-g goto-line
(global-set-key "\M-g" 'goto-line)
; set the title bar to be Emacs - *filename* if there is a filename,
; or Emacs - *buffer* if there isn't a filename
(setq frame-title-format '(buffer-file-name
("Emacs - %f")
("Emacs - %b")))
; highlight selected region
(setq transient-mark-mode t)
; shell colors
(require 'ansi-color)
(autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)
(add-hook 'eshell-preoutput-filter-functions 'ansi-color-apply)
; color-theme
(require 'color-theme)
(color-theme-initialize)
(color-theme-charcoal-black)
; eshell
(setq eshell-ask-to-save-history 'always)
; font
(set-frame-font "-outline-Lucida Console-normal-r-normal-normal-13-97-96-96-c-*-iso8859-1")
;(set-default-font "Bitstream Vera Sans Mono-10")