My emacs setup consists of several files, a structure that I shamelessly copied from one and only Stevey Yegge, a true emacs fanatic.
Now, I used to work for Google and most people there let you see their own home directories and I used that as an opportunity to learn from Stevey's setup.
There are a lot of customization going on and I should do a separate blog post about the setup. Here are I just cherry-picked some recent configuration favorites of mine:
;;
;; Superb way to move between Emacs windows
;; Shift+arrow keys
(windmove-default-keybindings)
;; Resize emacs according to the display resoluton
(defun set-frame-size-according-to-resolution ()
(interactive)
(if window-system
(progn
(if (> (x-display-pixel-width) 1900)
(add-to-list 'default-frame-alist (cons 'width 260))
(add-to-list 'default-frame-alist (cons 'width 80)))
(add-to-list 'default-frame-alist
(cons 'height (/ (- (x-display-pixel-height) 50) (frame-char-height))))
(add-to-list 'default-frame-alist
(cons 'top 10))
(add-to-list 'default-frame-alist
(cons 'left 5)))))
Now, I used to work for Google and most people there let you see their own home directories and I used that as an opportunity to learn from Stevey's setup.
There are a lot of customization going on and I should do a separate blog post about the setup. Here are I just cherry-picked some recent configuration favorites of mine: