Home > Eclipse, Ubuntu > Emacs config

Emacs config

February 10th, 2009 Leave a comment Go to comments

Setting up your emacs to startup with all your settings set, makes life quite a lot simpler. My setup right now isn’t too complicated. I plan to think about a better setup for my Django work in emacs one of these days, but for now a couple things that are useful to know about. First the config file on Ubuntu for emacs
~/.emacs

Setting a pretty cool color theme with a black background:

(require 'color-theme)
(setq color-theme-is-global t)
(color-theme-calm-forest)

Opening a directory to start in:
(setq default-directory "/location/of/folder/")

Lastly starting with a file open:
(find-file "/location/of/folder/file.py")

Categories: Eclipse, Ubuntu Tags:
  1. No comments yet.
  1. No trackbacks yet.