Fix M-z in minibuffer (ivy/evil/etc)
This commit is contained in:
parent
5d83fe83ca
commit
db1deb4a18
4 changed files with 15 additions and 5 deletions
10
TODO.org
10
TODO.org
|
@ -5,7 +5,7 @@
|
||||||
+ [-] Work-in-progress
|
+ [-] Work-in-progress
|
||||||
+ [X] Complete
|
+ [X] Complete
|
||||||
|
|
||||||
** Unreleased [49/124]
|
** Unreleased [51/126]
|
||||||
+ [1/13] Potential plugins
|
+ [1/13] Potential plugins
|
||||||
+ [ ] [[https://github.com/etu/webpaste.el][webpaste.el]]: sending text to bin servies (like gist, ix.io, sprunge, etc.)
|
+ [ ] [[https://github.com/etu/webpaste.el][webpaste.el]]: sending text to bin servies (like gist, ix.io, sprunge, etc.)
|
||||||
+ [ ] [[https://github.com/emacs-lsp/lsp-mode][lsp-mode]]: client for MS Language Server Protocol, keep an eye on this
|
+ [ ] [[https://github.com/emacs-lsp/lsp-mode][lsp-mode]]: client for MS Language Server Protocol, keep an eye on this
|
||||||
|
@ -90,14 +90,16 @@
|
||||||
+ [ ] rss
|
+ [ ] rss
|
||||||
+ [ ] twitter
|
+ [ ] twitter
|
||||||
+ [ ] present
|
+ [ ] present
|
||||||
|
+ [ ] Restore open neotree window state properly when switching perspectives
|
||||||
+ [ ] Fix invisible buffer-info in modeline for terminal Emacs
|
+ [ ] Fix invisible buffer-info in modeline for terminal Emacs
|
||||||
+ [ ] send-to-REPL workflow: does it still work? (see ~:repl~ & ~+eval/repl-send-region~)
|
+ [ ] send-to-REPL workflow: does it still work? (see ~:repl~ & ~+eval/repl-send-region~)
|
||||||
+ [ ] Fix ~M-z~, ~C-u~ and ~C-w~ in ~org-store-link~ & ~org-insert-link~ prompts
|
|
||||||
Should undo, delete-line, and delete-word, respectively. Instead, they fall
|
|
||||||
back to vanilla commands.
|
|
||||||
+ [ ] Update screenshots
|
+ [ ] Update screenshots
|
||||||
+ [ ] tools/upload: add ~+upload/open-remote-file~ command to open current file on the remote (with TRAMP)
|
+ [ ] tools/upload: add ~+upload/open-remote-file~ command to open current file on the remote (with TRAMP)
|
||||||
+ [ ] Fix ~0/0~ displaying in modeline (caused by leftover anzu state)
|
+ [ ] Fix ~0/0~ displaying in modeline (caused by leftover anzu state)
|
||||||
|
+ [X] Fix ~M-z~, ~C-u~ and ~C-w~ in ~org-store-link~ & ~org-insert-link~ prompts
|
||||||
|
Should undo, delete-line, and delete-word, respectively. Instead, they fall
|
||||||
|
back to vanilla commands.
|
||||||
|
+ [X] Prevent 'buffer is read-only' messages while in minibuffer
|
||||||
+ [X] completion/ivy: replace Ag with RipGrep
|
+ [X] completion/ivy: replace Ag with RipGrep
|
||||||
+ [X] Detect & load \~/.emacs.local.el, if available
|
+ [X] Detect & load \~/.emacs.local.el, if available
|
||||||
+ [X] lang/org: fontify items with all subitems done, e.g. ~+ [0/0] headline~
|
+ [X] lang/org: fontify items with all subitems done, e.g. ~+ [0/0] headline~
|
||||||
|
|
|
@ -17,3 +17,9 @@ monopolizing the minibuffer."
|
||||||
(interactive)
|
(interactive)
|
||||||
(when (> (point) (minibuffer-prompt-end))
|
(when (> (point) (minibuffer-prompt-end))
|
||||||
(call-interactively 'backward-kill-sentence)))
|
(call-interactively 'backward-kill-sentence)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
|
(defun doom-minibuffer-undo ()
|
||||||
|
"Undo an edit in the minibuffer without throwing errors."
|
||||||
|
(interactive)
|
||||||
|
(ignore-errors (call-interactively 'undo)))
|
||||||
|
|
|
@ -43,6 +43,7 @@
|
||||||
(map! :map ivy-minibuffer-map
|
(map! :map ivy-minibuffer-map
|
||||||
[escape] #'keyboard-escape-quit
|
[escape] #'keyboard-escape-quit
|
||||||
"M-v" #'yank
|
"M-v" #'yank
|
||||||
|
"M-z" #'undo
|
||||||
"C-r" #'evil-paste-from-register
|
"C-r" #'evil-paste-from-register
|
||||||
"C-k" #'ivy-previous-line
|
"C-k" #'ivy-previous-line
|
||||||
"C-j" #'ivy-next-line
|
"C-j" #'ivy-next-line
|
||||||
|
|
|
@ -376,7 +376,8 @@
|
||||||
"C-w" 'doom-minibuffer-kill-word
|
"C-w" 'doom-minibuffer-kill-word
|
||||||
"C-u" 'doom-minibuffer-kill-line
|
"C-u" 'doom-minibuffer-kill-line
|
||||||
"C-b" 'backward-word
|
"C-b" 'backward-word
|
||||||
"C-f" 'forward-word)
|
"C-f" 'forward-word
|
||||||
|
"M-z" 'doom-minibuffer-undo)
|
||||||
|
|
||||||
(:after view
|
(:after view
|
||||||
(:map view-mode-map "<escape>" 'View-quit-all))
|
(:map view-mode-map "<escape>" 'View-quit-all))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue