diff options
author | Case Duckworth | 2020-11-27 12:17:23 -0600 |
---|---|---|
committer | Case Duckworth | 2020-11-27 12:17:23 -0600 |
commit | 3a4023229daab4bbff8dda91803e1f114e8293af (patch) | |
tree | 9b66e6364c2ed3e7c5bd9bc543c71584606303da | |
parent | Add comment (diff) | |
download | emacs-3a4023229daab4bbff8dda91803e1f114e8293af.tar.gz emacs-3a4023229daab4bbff8dda91803e1f114e8293af.zip |
Keep cursor from going into the prompt
-rw-r--r-- | config.org | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config.org b/config.org index fe21ff7..0c82726 100644 --- a/config.org +++ b/config.org | |||
@@ -297,6 +297,17 @@ I also want to switch themes between night and day. | |||
297 | (rm/whitelist-add "^$")) | 297 | (rm/whitelist-add "^$")) |
298 | #+end_src | 298 | #+end_src |
299 | 299 | ||
300 | ** Minibuffer | ||
301 | |||
302 | *** Keep cursor from going into the prompt | ||
303 | |||
304 | from [[http://ergoemacs.org/emacs/emacs_stop_cursor_enter_prompt.html][Ergo Emacs]]. | ||
305 | |||
306 | #+begin_src emacs-lisp | ||
307 | (cuss minibuffer-prompt-properties | ||
308 | '(read-only t cursor-intangible t face minibuffer-prompt)) | ||
309 | #+end_src | ||
310 | |||
300 | ** Show =^L= as a line | 311 | ** Show =^L= as a line |
301 | 312 | ||
302 | #+begin_src emacs-lisp | 313 | #+begin_src emacs-lisp |