diff options
author | jbjjbjjbj <julianteule@gmail.com> | 2016-12-19 15:37:59 +0100 |
---|---|---|
committer | jbjjbjjbj <julianteule@gmail.com> | 2016-12-19 15:37:59 +0100 |
commit | 6b18be23e128ac3300baf623276d77ba701cad7d (patch) | |
tree | 1cc70530cc764b512ec6f7f5b60272c3d6e4b82c | |
parent | c66460605d1a88f68d41b8e0045ca28a5284ae98 (diff) | |
parent | ce2118242712c70b45107d6c85f117a5da20695c (diff) |
Fixed merge
-rw-r--r-- | .emacs | 28 |
1 files changed, 26 insertions, 2 deletions
@@ -11,7 +11,9 @@ '(custom-enabled-themes (quote (tsdh-dark))) '(global-auto-revert-mode t) '(js-indent-level 2) - '(package-selected-packages (quote (auto-complete 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)) @@ -47,7 +49,7 @@ (global-unset-key "\C-z") -(global-set-key "\C-z" 'advertised-undo) +;;(global-set-key "\C-z" 'advertised-undo) (global-set-key [mouse-5] (lambda () (interactive) (next-line 3))) @@ -95,3 +97,25 @@ (setq list (cdr list)) (setq buffer (car list)))) (message "Refreshed open files")) + + +(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) |