summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
authorjbjjbjjbj <julianteule@gmail.com>2016-12-18 20:03:03 +0100
committerjbjjbjjbj <julianteule@gmail.com>2016-12-18 20:03:03 +0100
commitc3b5f650a65007c31f392af1a4eb92e2d068465f (patch)
tree40ca457fd3b06429b88df79d7b39fdf6f82143e3 /.emacs
parent3884b3922f555ce39a842aaec32c4a0d57107068 (diff)
Added emacs config
Diffstat (limited to '.emacs')
-rw-r--r--.emacs54
1 files changed, 54 insertions, 0 deletions
diff --git a/.emacs b/.emacs
new file mode 100644
index 0000000..0ad4ef5
--- /dev/null
+++ b/.emacs
@@ -0,0 +1,54 @@
+(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")
+(custom-set-variables
+ ;; custom-set-variables was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(ansi-color-faces-vector
+ [default default default italic underline success warning error])
+ '(ansi-color-names-vector
+ ["black" "#d55e00" "#009e73" "#f8ec59" "#0072b2" "#cc79a7" "#56b4e9" "white"])
+ '(custom-enabled-themes (quote (tsdh-dark)))
+ '(global-auto-revert-mode t)
+ '(indent-tabs-mode nil)
+ '(js-indent-level 2)
+ '(package-selected-packages (quote (neotree)))
+ '(tab-stop-list (quote (2)))
+ '(tab-width 2)
+ '(xterm-mouse-mode t))
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ )
+(global-linum-mode t)
+(setq python-shell-interpreter "/usr/bin/python")
+
+
+(when (>= emacs-major-version 24)
+ (require 'package)
+ (add-to-list
+ 'package-archives
+ '("melpa" . "http://melpa.org/packages/")
+ t)
+ (package-initialize))
+
+
+
+ (setq backup-directory-alist
+ `((".*" . ,temporary-file-directory)))
+ (setq auto-save-file-name-transforms
+ `((".*" ,temporary-file-directory t)))
+(global-set-key (kbd "<C-up>") 'shrink-window)
+(global-set-key (kbd "<C-down>") 'enlarge-window)
+(global-set-key (kbd "<C-left>") 'shrink-window-horizontally)
+(global-set-key (kbd "<C-right>") 'enlarge-window-horizontally)
+
+
+
+(global-unset-key "\C-z")
+(global-set-key "\C-z" 'advertised-undo)
+
+
+(setq-default tab-width 2)