summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
authorjbjjbjjbj <julianteule@gmail.com>2016-12-19 15:22:15 +0100
committerjbjjbjjbj <julianteule@gmail.com>2016-12-19 15:22:15 +0100
commitce2118242712c70b45107d6c85f117a5da20695c (patch)
tree8c89520ede9f166a571f746288aa642476e4fb6c /.emacs
parentc3b5f650a65007c31f392af1a4eb92e2d068465f (diff)
Emacs
Diffstat (limited to '.emacs')
-rw-r--r--.emacs30
1 files changed, 28 insertions, 2 deletions
diff --git a/.emacs b/.emacs
index 0ad4ef5..8fe4714 100644
--- a/.emacs
+++ b/.emacs
@@ -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)