Commit 9fb192461516

Vincent Demeester <vincent@sbr.pm>
2016-09-05 21:38:39
Set up subword-mode by default
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 55314af
Changed files (1)
.emacs.d
.emacs.d/emacs.org
@@ -354,6 +354,20 @@
      (setq echo-keystrokes 0.1)
    #+END_SRC
 
+*** Text manipulation
+
+    One thing I really like in IntelliJ IDEA is the possibility to
+    select part of camelcase word. Emacs has the same feature but
+    cooler (easier to switch back and forth), and it's called
+    =subword= mode.
+
+    Let's enable it by default, and have a toggle-map entry (later
+    defined) to /toggle/ it.
+
+#+BEGIN_SRC emacs-lisp
+  (subword-mode +1)
+#+END_SRC
+
 *** diminish
 
     #+BEGIN_SRC emacs-lisp
@@ -366,7 +380,6 @@
     sometimes pested that Emacs didn't have the same one. But thanks
     to [[https://github.com/purcell/exec-path-from-shell][exec-path-from-shell]] it's all ok now =:P=.
 
-
     #+BEGIN_SRC emacs-lisp
       (use-package exec-path-from-shell
         :ensure t