Skip to content

Commit

Permalink
Fix SPC SPC in motion state
Browse files Browse the repository at this point in the history
  • Loading branch information
DogLooksGood committed Apr 5, 2024
1 parent 59c058c commit 7518bd9
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions meow-util.el
Original file line number Diff line number Diff line change
Expand Up @@ -473,13 +473,18 @@ to use the status buffer's original `k' binding at point."
(local-set-key (kbd rebind-key)
(lambda ()
(interactive)
(call-interactively
;; Local maps are those local to the buffer
;; or a region of the buffer.
(if-let ((local (lookup-key (current-local-map) key)))
(or (command-remapping local)
local)
cmd))))))))))
;; Local maps are those local to the buffer
;; or a region of the buffer.
(let* ((local (lookup-key (current-local-map) key))
(remapped (command-remapping local)))
(call-interactively
(cond
((commandp remapped)
remapped)
((commandp local)
local)
(t
cmd))))))))))))

(defun meow--prepare-region-for-kill ()
(when (and (equal 'line (cdr (meow--selection-type)))
Expand Down

0 comments on commit 7518bd9

Please sign in to comment.