diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2018-04-08 16:13:12 -0700 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2018-04-08 16:13:12 -0700 |
commit | 4007ca81e0105119c8ed754e654a731934f5154c (patch) | |
tree | 41ba9d60f64866c8a098e631e8e32bf4249931fa /emacs.d/modules/module-editing.el | |
parent | [emacs] fix some path after directories reorg (diff) | |
download | emacs.d-4007ca81e0105119c8ed754e654a731934f5154c.tar.gz |
[emacs] Large refactoring.
At first I wanted to add support for java, and then I realized that maintaining a giant file with all the packages was not working as I was expected. The configuration is broken down to multiple files now, with each major mode in a separate file, and the main modules in their own too. This should make it easier to maintain and organize.
Diffstat (limited to 'emacs.d/modules/module-editing.el')
-rw-r--r-- | emacs.d/modules/module-editing.el | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/emacs.d/modules/module-editing.el b/emacs.d/modules/module-editing.el new file mode 100644 index 0000000..a49e856 --- /dev/null +++ b/emacs.d/modules/module-editing.el @@ -0,0 +1,15 @@ +(require 'config-package) + +;; auto close bracket, parenthesis insertion +(electric-pair-mode 1) + +;; Remap join-line to M-j where it's easier to get to. +(global-set-key (kbd "M-j") 'join-line) + +;; configuration for tramp +(use-package tramp + :config + (setq tramp-default-method "ssh" + tramp-persistency-file-name (expand-file-name "var/tramp" user-emacs-directory))) + +(provide 'module-editing) |