aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/init-editorconfig.el1
-rw-r--r--modules/init-gui.el1
-rw-r--r--modules/init-js-two.el4
3 files changed, 4 insertions, 2 deletions
diff --git a/modules/init-editorconfig.el b/modules/init-editorconfig.el
index c8466b8..0ac6121 100644
--- a/modules/init-editorconfig.el
+++ b/modules/init-editorconfig.el
@@ -7,6 +7,7 @@
;; EditorConfig
;;----------------------------------------------------------------------------
(use-package editorconfig
+ :ensure t
:config
(when (and (require 'editorconfig nil t)
(fboundp 'editorconfig-mode))
diff --git a/modules/init-gui.el b/modules/init-gui.el
index 1e70495..7b83c4b 100644
--- a/modules/init-gui.el
+++ b/modules/init-gui.el
@@ -64,6 +64,7 @@
(global-set-key (kbd "s-C--") 'sacha/decrease-font-size) ; C-- decrease font size
(global-set-key (kbd "<f12>") 'revert-buffer-no-confirm)
(global-set-key (kbd "s-h") 'global-hl-line-mode) ; Highlight current line
+(global-set-key (kbd "M-c") nil) ; disable capitalize-word
;;---------------------------------------------------------------------------
;; FullScreen
diff --git a/modules/init-js-two.el b/modules/init-js-two.el
index eba6ed6..fef9bb9 100644
--- a/modules/init-js-two.el
+++ b/modules/init-js-two.el
@@ -13,8 +13,8 @@
(company-mode))))
:config
;; have 4 space indentation by default
- (setq js-indent-level 4
- js2-basic-offset 4
+ (setq js-indent-level 2
+ js2-basic-offset 2
js-chain-indent t)
;; use eslint_d insetad of eslint for faster linting