tristancabel / prolusion

From Latin prolusio(n- ), from prolus- ‘practised beforehand’, from the verb proludere, from pro ‘before’ + ludere ‘to play’.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prolusion

From Latin prolusio(n- ), from prolus- ‘practised beforehand’, from the verb proludere, from pro ‘before’ + ludere ‘to play’.

Prolusion is meant to be as light a possible, and is completely tweaked towards my own use of emacs. For those who are looking for a more polished configuration kit, I can only recommand Prelude or Spacemacs.

Prolusion is organized as a set of layers, each of which is organized as follows: requirements, setup, functions, hooks, modeline and keybindings.

Prerequisites

$ brew install gpg
$ brew install emacs --use-git-head --with-cocoa --HEAD
$ brew install cmake
$ brew install ninja
$ brew install llvm --with-clang
$ brew install cscope
$ brew install ack
$ brew install the_silver_searcher

Installation

$ curl -L https://raw.github.com/jwintz/prolusion/master/prolusion-installer/prolusion-installer.sh | sh

Upgrade

Emacs

$ brew   install emacs --use-git-head --cocoa # if emacs is not installed
$ brew reinstall emacs --use-git-head --cocoa # if emacs is     installed

Emacs prolusion

M-x prolusion-upgrade

Emacs prolusion packages

M-x prolusion-upgrade-packages

Keybindings

prolusion-behavior

Keybinding Function
C-x o other-window
C-x 0 other-window -1
Keybinding Function
C-+ text-scale-increase
C-- text-scale-decrease
Keybinding Function
C-x ( start-kbd-macro
C-x ) end-kbd-macro
C-x e call-last-kbd-macro
Keybinding Function
C-M-left forward-sexp
C-M-right backward-sexp
Keybinding Function
M-x resize-window n resize-window--enlarge-down
M-x resize-window p resize-window--enlarge-up
M-x resize-window f resize-window--enlarge-horizontally
M-x resize-window b resize-window--shrink-horizontally
M-x resize-window r resize-window--reset-windows
M-x resize-window w resize-window--cycle-window-positive
M-x resize-window W resize-window--cycle-window-negative

prolusion-builtins

Keybinding Function
C-c b c clear-rectangle
C-c b d delete-rectangle
C-c b k kill-rectangle
C-c b o open-rectangle
C-c b t string-rectangle
C-c b y yank-rectangle
C-c b w wdired-change-to-wdired-mode

prolusion-eshell

Keybinding Function
C-c l l mutli-eshell
C-c l o mutli-eshell-switch
C-c l 0 mutli-eshell-go-back
C-c l c prolusion-eshell-clear-buffer

prolusion-editor

Keybinding Function
C-c e s ff-find-other-file
C-c e m make-header
C-c e c make-box-comment
C-c e d make-divider
C-c e r make-revision
C-c e g update-file-header
C-c e l prolusion-duplicate-line
C-c e e iedit-mode
C-c e f helm-mini

prolusion-snippets

Keybinding Function
C-c y n yas-new-snippet
C-c y s yas-insert-snippet
C-c y v yas-visit-snippet-file

prolusion-docs

Keybinding Function
C-c d d helm-dash
C-c d p helm-dash-at-point
C-c d i helm-dash-install-docset
C-c d a helm-dash-activate-docset

prolusion-scoping

Keybinding Function
C-c s L cscope-create-list-of-files-to-index
C-c s I cscope-index-files
C-c s E cscope-edit-list-of-files-to-index
C-c s W cscope-tell-user-about-directory
C-c s S cscope-tell-user-about-directory
C-c s T cscope-tell-user-about-directory
C-c s D cscope-dired-directory
Keybinding Function
C-c s a cscope-set-initial-directory
C-c s A cscope-unset-initial-directory
Keybinding Function
C-c s s cscope-find-this-symbol
C-c s d cscope-find-global-definition
C-c s g cscope-find-global-definition
C-c s G cscope-find-global-definition-no-prompting
C-c s = cscope-find-assignments-to-this-symbol
C-c s c cscope-find-functions-calling-this-function
C-c s C cscope-find-called-functions
C-c s t cscope-find-this-text-string
C-c s e cscope-find-egrep-pattern
C-c s f cscope-find-this-file
C-c s i cscope-find-files-including-file
Keybinding Function
C-c s b cscope-display-buffer
C-c s B cscope-display-buffer-toggle
C-c s n cscope-history-forward-line-current-result
C-c s N cscope-history-forward-file-current-result
C-c s p cscope-history-backward-line-current-result
C-c s P cscope-history-backward-file-current-result
C-c s u cscope-pop-mark

prolusion-vc

Keybinding Function
C-c v m magit-status
C-c v g git-gutter::toggle
C-c v = git-gutter::popup-hunk
C-c v p git-gutter::previous-hunk
C-c v n git-gutter::next-hunk
C-c v s git-gutter::stage-hunk
C-c v r git-gutter::revert-hunk

prolusion-projectile

Keybinding Function
C-c p h helm-projectile
C-c p a helm-projectile-find-other-file
C-c p f helm-projectile-find-file
C-c p F helm-projectile-find-file-in-known-projects
C-c p g helm-projectile-find-file-dwim
C-c p d helm-projectile-find-dir
C-c p p helm-projectile-switch-project
C-c p e helm-projectile-recentf
C-c p b helm-projectile-switch-to-buffer
C-c p s g helm-projectile-grep
C-c p s a helm-projectile-ack
C-c p s s helm-projectile-ag

About

From Latin prolusio(n- ), from prolus- ‘practised beforehand’, from the verb proludere, from pro ‘before’ + ludere ‘to play’.


Languages

Language:Emacs Lisp 95.4%Language:Shell 4.6%