diff options
author | Julian Teu <julianteu@protonmail.com> | 2018-01-20 01:20:47 +0100 |
---|---|---|
committer | Julian Teu <julianteu@protonmail.com> | 2018-01-20 01:20:47 +0100 |
commit | 0b3f9c6d143adb2d559a40aaa23a96076ced4b8a (patch) | |
tree | 1484ecbdd720e8a560d99423b9c97db10a10229e | |
parent | 05965c234a2506fb7dcc4bd5b3cc8d649d73bcf4 (diff) |
Lots of emacs changes, and changing caps to escape
-rw-r--r-- | .emacs | 20 | ||||
-rw-r--r-- | .xmodmap | 5 |
2 files changed, 25 insertions, 0 deletions
@@ -21,6 +21,7 @@ '(ansi-color-names-vector ["#757575" "#CD5542" "#4A8F30" "#7D7C21" "#4170B3" "#9B55C3" "#68A5E9" "gray43"]) '(beacon-color "#cc6666") + '(column-number-mode t) '(cua-mode t nil (cua-base)) '(custom-enabled-themes (quote (ample))) '(custom-safe-themes @@ -80,3 +81,22 @@ (ac-config-default) + +(add-to-list 'load-path "/some/path/neotree") +(require 'neotree) +(global-set-key [f8] 'neotree-toggle) + +(setq c-default-style "k&r" + c-basic-offset 4) + +(add-hook 'c-mode-common-hook '(lambda () (c-toggle-auto-state 1))) + +(add-to-list 'auto-mode-alist '("\\.ino\\'" . c++-mode)) + + +(setq backup-directory-alist + `(("." . ,(concat user-emacs-directory "backups")))) + + +(require 'evil) + (evil-mode 1) diff --git a/.xmodmap b/.xmodmap new file mode 100644 index 0000000..ab61d66 --- /dev/null +++ b/.xmodmap @@ -0,0 +1,5 @@ +! Swap caps lock and escape +remove Lock = Caps_Lock +keysym Escape = Caps_Lock +keysym Caps_Lock = Escape +add Lock = Caps_Lock
\ No newline at end of file |