Add expand region to config.org + remove old file
This commit is contained in:
parent
6e1fb2c769
commit
8eec08cfd8
2 changed files with 18 additions and 7 deletions
18
config.org
18
config.org
|
|
@ -419,6 +419,24 @@ https://github.com/joaotavora/yasnippet
|
|||
)
|
||||
#+END_SRC
|
||||
|
||||
* Expand-region
|
||||
|
||||
Expand region increases the selected region by semantic units.
|
||||
I also enable =pending-delete-mode=, this means when we mark a region and start typing,
|
||||
the text within the mark is deleted with the new typed text and the mark disappears.
|
||||
|
||||
https://github.com/magnars/expand-region.el
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package expand-region
|
||||
:ensure t
|
||||
:init
|
||||
(pending-delete-mode t)
|
||||
:config
|
||||
(global-set-key (kbd "C-=") 'er/expand-region)
|
||||
)
|
||||
#+END_SRC
|
||||
|
||||
* Old stuff, maybe usefull for lookup later
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue