diff options
author | Case Duckworth | 2021-02-26 19:25:11 -0600 |
---|---|---|
committer | Case Duckworth | 2021-02-26 19:25:11 -0600 |
commit | 036f753a60fd7ca16d9bc40b5f392bf2351f90ca (patch) | |
tree | 156f53bea09a0e945c1ab33cfa5147e0766662b6 | |
parent | Add macrostep (diff) | |
download | emacs-036f753a60fd7ca16d9bc40b5f392bf2351f90ca.tar.gz emacs-036f753a60fd7ca16d9bc40b5f392bf2351f90ca.zip |
Add smartscan
-rw-r--r-- | config.org | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config.org b/config.org index 194eb37..d3ce1f4 100644 --- a/config.org +++ b/config.org | |||
@@ -1723,6 +1723,19 @@ versions, because of the regex thing. | |||
1723 | :map isearch-mode-map))) | 1723 | :map isearch-mode-map))) |
1724 | #+end_src | 1724 | #+end_src |
1725 | 1725 | ||
1726 | ** Smart scan :package: | ||
1727 | |||
1728 | Like Vim's =*= / =#=. | ||
1729 | |||
1730 | #+begin_src emacs-lisp :noweb-ref packages | ||
1731 | (straight-use-package 'smartscan) | ||
1732 | (autoload 'smartscan-mode "smartscan") | ||
1733 | #+end_src | ||
1734 | |||
1735 | #+begin_src emacs-lisp :noweb-ref hooks | ||
1736 | (add-hook 'prog-mode-hook #'smartscan-mode) | ||
1737 | #+end_src | ||
1738 | |||
1726 | ** Commenting :crux: | 1739 | ** Commenting :crux: |
1727 | 1740 | ||
1728 | I don't think the default =M-;= (=M-x comment-dwim=) binding makes sense. | 1741 | I don't think the default =M-;= (=M-x comment-dwim=) binding makes sense. |