diff options
author | jbjjbjjbj <julianteule@gmail.com> | 2016-12-19 15:22:15 +0100 |
---|---|---|
committer | jbjjbjjbj <julianteule@gmail.com> | 2016-12-19 15:22:15 +0100 |
commit | ce2118242712c70b45107d6c85f117a5da20695c (patch) | |
tree | 8c89520ede9f166a571f746288aa642476e4fb6c | |
parent | c3b5f650a65007c31f392af1a4eb92e2d068465f (diff) |
Emacs
-rw-r--r-- | .emacs | 30 |
1 files changed, 28 insertions, 2 deletions
@@ -12,7 +12,9 @@ '(global-auto-revert-mode t) '(indent-tabs-mode nil) '(js-indent-level 2) - '(package-selected-packages (quote (neotree))) + '(package-selected-packages + (quote + (magit powerline-evil spaceline js2-mode jedi auto-complete undo-tree dashboard neotree))) '(tab-stop-list (quote (2))) '(tab-width 2) '(xterm-mouse-mode t)) @@ -48,7 +50,31 @@ (global-unset-key "\C-z") -(global-set-key "\C-z" 'advertised-undo) +;;(global-set-key "\C-z" 'advertised-undo) (setq-default tab-width 2) + + + + +(require 'dashboard) +(dashboard-setup-startup-hook) + +(require 'powerline) +(powerline-center-theme) + + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; undo tree mode ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;turn on everywhere +(global-undo-tree-mode 1) +;; make ctrl-z undo +(global-set-key (kbd "C-z") 'undo) +;; make ctrl-Z redo +(defalias 'redo 'undo-tree-redo) +(global-set-key (kbd "C-S-z") 'redo) + + +(global-set-key (kbd "C-x C-b") 'bs-show) |