Fix C-w in ivy not moving up directory
And ensure C-w doesn't affect kill-ring from minibuffer.
This commit is contained in:
parent
a332885d33
commit
f0e05c1a44
3 changed files with 11 additions and 2 deletions
|
@ -143,6 +143,13 @@ line to beginning of line. Same as `evil-delete-back-to-indentation'."
|
|||
(unless empty-line-p
|
||||
(indent-according-to-mode))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/delete-backward-word (arg)
|
||||
"Like `backward-kill-word', but doesn't affect the kill-ring."
|
||||
(interactive "p")
|
||||
(let (kill-ring)
|
||||
(backward-kill-word arg)))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/dumb-indent ()
|
||||
"Inserts a tab character (or spaces x tab-width)."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue