diff options
| author | jason | 2017-06-29 16:42:34 -0600 |
|---|---|---|
| committer | jason | 2017-06-29 16:42:34 -0600 |
| commit | 650bfd555f843b3077ce405a28afdda057734235 (patch) | |
| tree | 2b2fdebd03258d462d80096b1add418633acf66a | |
| parent | 3538bb69b5ce7c570e1330c3e2970ed686709e76 (diff) | |
| download | dotemacs-650bfd555f843b3077ce405a28afdda057734235.tar.gz dotemacs-650bfd555f843b3077ce405a28afdda057734235.zip | |
Add expand-region
| -rw-r--r-- | config.org | 11 |
1 files changed, 11 insertions, 0 deletions
| @@ -227,6 +227,17 @@ Use [[https://magit.vc/][magit]] to supplement emacs built in version control sy | |||
| 227 | :config | 227 | :config |
| 228 | (paradox-enable)) | 228 | (paradox-enable)) |
| 229 | #+END_SRC | 229 | #+END_SRC |
| 230 | ** expand-region | ||
| 231 | [[https://github.com/magnars/expand-region.el][expand-region]] will expand a region by meanigful units. For example if you have | ||
| 232 | the string ~"pony killer"~ and you move the cursor to the first p and hit the key | ||
| 233 | 1 time it will highlight ~pony~, hit it a 2nd time it will highlight ~pony | ||
| 234 | killer~, and a 3rd time ~"pony killer"~ will be highlighted. | ||
| 235 | |||
| 236 | #+BEGIN_SRC emacs-lisp | ||
| 237 | (use-package expand-region | ||
| 238 | :ensure t | ||
| 239 | :bind ("C-=" . er/expand-region)) | ||
| 240 | #+END_SRC | ||
| 230 | ** avy | 241 | ** avy |
| 231 | [[https://github.com/abo-abo/avy][avy]] is a quick way to jump around buffers | 242 | [[https://github.com/abo-abo/avy][avy]] is a quick way to jump around buffers |
| 232 | 243 | ||