added semantic selection
This commit is contained in:
parent
af988882d5
commit
b41788f146
1 changed files with 6 additions and 0 deletions
|
@ -9,3 +9,9 @@ If you write any code, you may enjoy this. Typing the first character in a set o
|
|||
))
|
||||
(electric-pair-mode t)
|
||||
#+END_SRC
|
||||
* Semantic Selection
|
||||
So what this package does is it select text in way that's sensibe towards the syntax. So for example if I'm in a html tag that is the child of another tag, invoking the keybinding for this package will first select the child then the parent and hierarchichally move upwards. No need to drag the mouse around, this is selection done sensibly.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package expand-region
|
||||
:bind ("C-=" . er/expand-region))
|
||||
#+END_SRC
|
||||
|
|
Loading…
Reference in a new issue