Skip to content

hanks/prelude

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,187 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emacs Prelude Customized By Hanks

This is a modified version of Prelude for me. You can check the original awesome Emacs settings here. I use Emacs for a long time, but just for the simple usage, and base on my own configurations collected from internet, actually speaking it is a little buggy. When I checked Prelude and other emacs package repos, I just want to say It rocks. So I decided to use this repo to manage my Emacs settings.

Table of Contents

Addtional Features

Base on Prelude settings, I add some features below:

  • linum+, show line number
  • YASnippet, yet another snippet
  • auto-complete, as its name...
  • tabbar, add tab bar at the top of window
  • cursor-change, smart cursor
  • instant jump, trivial script created by myself to do directly new line and indent
  • add go auto-complete with gocode, but need extra settings
  • ...

You can check details in ~/.emacs.d/personal/customize.el

Demo

demo

Installation

Installing Emacs 24

Obviously to use the Emacs Prelude you have to install Emacs 24 first. Have a look at the WikEmacs articles on installing Emacs.

After you install the original Emacs 24, and Do Not Open It and execute the steps below.

Installing Modified Prelude

cd ~
export PRELUDE_URL="https://github.com/hanks/prelude.git" && curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh

Run Emacs

At this time, just open Emacs and wait, and it will do the configuration automatically. Then Happy Coding!

Go-mode Auto Complete Setting with gocode

  • Set GOPATH(If you set before, skip)
export GOPATH=$HOME/goprojects  
export PATH=$PATH:$GOPATH/bin
  • Download gocode
cd $HOME/goprojects
go get -u github.com/nsf/gocode (-u flag for "update")

More details, you can check https://github.com/nsf/gocode

FAQ

  1. How to fix File error: http://melpa.org/packages/xxx, Not found?
    Use M-x package-refresh-contents to update packages.

About

Emacs Prelude Customized By Hanks

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 98.7%
  • Shell 1.3%