These are my new set of configurations, initially inspired by the choices made in Emacs Prelude. It is focused on getting rich, but lightweight, editing experience in JavaScript, Golang and Rust.
-
Clone the repository
$ git clone git@github.com:kaustavdm/dotemacs --recursive
-
Set-up symlink
$ ln -s <path-to>/dotemacs ~/.emacs.d
-
Set-up dependencies available on npm
$ sudo npm install -g aspell jslint tern
a. If you are on Fedora, additionally install:
$ sudo dnf install aspell-en
b. If you are on OSX, additionally install:
$ brew install aspell --with-lang-en
-
Set-up Go dependencies
- Install Golang
- Set
GOPATHenvironment variable - Install Gocode:
$ go get -u github.com/nsf/gocode. - Install Golint:
$ go get -u github.com/golang/lint. - Install Gorename:
$ go get golang.org/x/tools/cmd/gorename. - Make sure
gocode,godef,golintandgorenameexecutibles are onPATH.
-
Set-up Rust dependencies
- Install Rust
- Download Rust sources and set
RUST_SRC_PATHenvironment variable to the./srcdirectory in the Rust source. - Install Racer:
$ cargo install racer - Install Rustfmt:
$ cargo install rustfmt - Make sure the
racerandrustfmtexecutibles are onPATH.
-
Set-up Haskell dependencies
- Install GHC, GHCi or better, install the Haskell Platform.
-
Install Adobe Source Code Pro font
- Download and install the font from Source Code Pro releases.
-
Copy:
./custom/env-custom-sample.elto./custom/env-custom.el, and adjust values inenv-custom.el. -
Run
emacs. It will install missing packages. Make sure you are connected to the internet at this point.