Emacs Prelude

Emacs Prelude

34 views 0 0 RELATED TITLES Bbatsov Prelude Uploaded by Sun Sundiata Bbatsov Prelude Full description Save Embed Share Print Rpm Kickstart Acl Emacs Reference Ros Agitr Letter Productivity Card Tools for 66//2288//2200114 bbbbaattssoovv//pprreelluuddee This repository Search or type a command Explore Gist Blog Help yawo IC bbatsov / prelude Watch 139 Star 1,5 Prelude is an enhanced Emacs 24 distribution that should make your experience with Emacs both more pleasant and more powerful. Code 874 commits 2 2 branches 0 0 releases 67 67 contributors Issues Pull Requests master prelude / Wiki Merge pull request #587 from swhalen/two-quicklisp-dirs … bbatsov authored 3 days ago latest commit 5445a40453 Pulse core Prefer advice over remap exchange-point-and-mark 20 days ago Graphs modules Merge pull request #587 from swhalen/two-quicklisp-dirs 3 days ago personal [Fix #451] Addt hea bility top reloadp ersonalc ode 7m onths ago Network sample AddGo mod ule 24day sago HTTPS clone URL themes restoreda ccidentallyd eletedd irs 2y earsa go https://github.co utils Variousin stall-scriptfi xes 20d aysa go You can clone with or Subversion vendor Don'tu sed ash.eld uringp ackagein it ay eara go .gitignore Ignorepc achedi rectory am onthag o .projectile [Fix #447] Extract ido config into a module 7 months ago CONTRIBUTING.md addedc ontributiong uidelines 2y earsa go README.md Rename buffer not visiting files 24 days ago init.el Add comment documenting load dependency a month ago README.md license GPL 3 tips $11/week Emacs Prelude Prelude is an Emacs distribution that aims to enhance the default Emacs experience. Prelude alters a lot of the default settings, bundles a plethora of additional packages and adds its own core library to the mix. The final product offers an easy to use Emacs configuration for Emacs newcomers and lots of additional power for Emacs power users. Prelude is compatible ONLY with GNU Emacs 24.x. In general you're advised to always run Prelude with the latest Emacs - currently 24.3. Table of Contents Fast Forward Installing Emacs 24 Installation 34 views 0 0 RELATED TITLES Bbatsov Prelude Uploaded by Sun Sundiata Bbatsov Prelude Full description Save Embed Share Print Rpm Kickstart Acl Emacs Reference Ros Agitr Letter Productivity Card Tools for 6/28/2014 bbatsov/prelude Automatic update Enabling additional modules Running Getting to know Prelude Keymap Global Prelude Mode OSX modifier keys Projectile Key-chords Disabling key-chords Automatic package installation Color Themes Personalizing Disabling whitespace-mode Disable flyspell-mode Caveats & Pitfalls Updating bundled packages Problems with flyspell-mode Ugly colors in the terminal Emacs version MELPA error on initial startup No arrow navigation in editor buffers Customized C-a behavior Poor ido matching performance on large datasets Windows compatibility Known issues Support Contributors Bugs & Improvements Fast Forward Assuming you're using an Unix-like OS ( *BSD , GNU/Linux , OS X , Solaris , etc), you already have Emacs 24 installed, as well as git & curl you can skip the whole manual and just type in your favorite shell the following command: curl -L http://git.io/epre | sh You can now power up your Emacs, sit back and enjoy Prelude, forgetting about the rest of this manual. There are two environment variables you can use to control the source repository and the installation directory. To change the installation directory: export PRELUDE_INSTALL_DIR ="$HOME/.emacs.d" && curl -L https://github.com/bbatsov/prelude To change the source repository: export PRELUDE_URL="https://github.com/yourname/prelude.git" && curl -L https://github.co Note that the installer will back up any existing .emacs file or .emacs.d since it will unpack Prelude's code in .emacs.d . If you're doing a manual install make sure you don't have a .emacs file or back up your existing 34 views 0 0 RELATED TITLES Bbatsov Prelude Uploaded by Sun Sundiata Bbatsov Prelude Full description Save Embed Share Print Rpm Kickstart Acl Emacs Reference Ros Agitr Letter Productivity Card Tools for 6/28/2014 bbatsov/prelude Installation Automated You can install Emacs Prelude via the command line with either curl or wget . Naturally git is also required. Via Curl If you're using curl type the following command: curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh Via Wget If you're using wget type: wget --no-check-certificate https://github.com/bbatsov/prelude/raw/master/utils/installer. Manual git clone git://github.com/bbatsov/prelude.git path/to/local/repo ln -s path/to/local/repo ~/.emacs.d cd ~/.emacs.d You'd do well to replace ~/.emacs.d with the value of user-emacs-directory for your OS. You can check the value by doing C-h v user-emacs-directory inside Emacs. Updating Prelude Manual update The update procedure is fairly straightforward and consists of 3 steps: Update all bundled packages Just run M-x package-list-packages RET U x . Update Prelude's code cd path/to/prelude/installation git pull The path/to/prelude/installation is usually ~/.emacs.d (at least on Unix systems). Restart Prelude It's generally a good idea to stop Emacs after you do the update. The next time Prelude starts it will install any new dependencies (if there are such). Automatic update 34 views 0 0 RELATED TITLES Bbatsov Prelude Uploaded by Sun Sundiata Bbatsov Prelude Full description Save Embed Share Print Rpm Kickstart Acl Emacs Reference Ros Agitr Letter Productivity Card Tools for 6/28/2014 bbatsov/prelude (require 'prelude-c) ;; (require 'prelude-clojure) ;; (require 'prelude-coffee) ;; (require 'prelude-common-lisp) ;; (require 'prelude-css) (require 'prelude-emacs-lisp ) (require 'prelude-erc) ;; (require 'prelude-erlang) ;; (require 'prelude-haskell) (require 'prelude-js) ;; (require 'prelude-latex) (require 'prelude-lisp) ;; (require 'prelude-mediawiki) (require 'prelude-org) (require 'prelude-perl) ;; (require 'prelude-python) ;; (require 'prelude-ruby) ;; (require 'prelude-scala) (require 'prelude-scheme) ;; (require 'prelude-scss) ;; (require 'prelude-web) (require 'prelude-xml) You'll need to adjust your prelude-modules.el file once the installation is done. If you are doing a manual install then you first need to copy the prelude-modules.el available in the sample directory to the root of path/to/prelude/installation and then adjust that one. After you've uncommented a module you should either restart Emacs or evaluate the module require expression with C-x C-e . Running Nothing fancy here. Just start Emacs as usual. Personally I run Emacs in daemon mode: emacs --daemon Afterwards I connect to the server with either a terminal or a GUI client like this: emacsclient -t emacsclient -c You'd probably do well to put a few aliases in your .zshrc (or .bashrc ): alias e='emacsclient -t' alias ec='emacsclient -c' alias vim='emacsclient -t' alias vi='emacsclient -t' The last two aliases are helpful if you're used to editing files from the command line using vi(m) . Getting to know Prelude Certainly the best way to understand how Prelude enhances the default Emacs experience is to peruse Prelude's source code (which is obviously written in Emacs Lisp). Understanding the code is not necessary of course. Prelude includes a prelude-mode minor Emacs mode which collects some of the additional functionality added by Prelude. It also adds an additional keymap that binds many of those extensions to keybindings. 34 views 0 0 RELATED TITLES Bbatsov Prelude Uploaded by Sun Sundiata Bbatsov Prelude Full description Save Embed Share Print Rpm Kickstart Acl Emacs Reference Ros Agitr Letter Productivity Card Tools for 34 views 0 0 RELATED TITLES Bbatsov Prelude Uploaded by Sun Sundiata Bbatsov Prelude Full description Save Embed Share Print Rpm Kickstart Acl Emacs Reference Ros Agitr Letter Productivity Card Tools for 6/28/2014 bbatsov/prelude C-c r Rename the current buffer and its visiting file if any. C-c t Open a terminal emulator ( ansi-term ). C-c k Kill all open buffers except the one you're currently in. C-c TAB Indent and copy region to clipboard C-c h Open Helm (available if you've enabled the prelude-helm module). C-c I Open user's init file. C-c S Open shell's init file. C-c . + Increment integer at point. Default is +1. C-c . - Decrement integer at point. Default is -1. C-c . * Multiply integer at point. Default is *2. C-c . / Divide integer at point. Default is /2. C-c . </kbd> Modulo integer at point. Default is modulo 2. C-c . ^ Power to the integer at point. Default is ^2. C-c . < Left-shift integer at point. Default is 1 position to the left. C-c . > Right-shift integer at point. Default is 1 position to the right. C-c . # Convert integer at point to specified base. Default is 10. C-c . % Replace integer at point with another specified integer. Perform arithmetic operations on integer at point. User specifies the C-c . ' operator. Super-r Recent files Super-x Expand region Super-j Join lines Super-k Kill whole line Super-m m Magit status Super-m l Magit log Super-m f Magit file log Super-m b Magit blame mode Note: For various arithmetic operations, the prefix C-c . only needs to be pressed once for the first operation. For subsequent operations, only the appropriate operations (i.e. + , - , * , / ... needs to be pressed). OSX modifier keys Prelude does not mess by default with the standard mapping of Command (to Super ) and Option (to Meta ). If you want to swap them add this to your personal config: (setq mac-command-modifier 'meta) 34 views 0 0 RELATED TITLES Bbatsov Prelude Uploaded by Sun Sundiata Bbatsov Prelude Full description Save Embed Share Print Rpm Kickstart Acl Emacs Reference Ros Agitr Letter Productivity Card Tools for 6/28/2014 bbatsov/prelude C-c p f Display a list of all files in the project.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    11 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us