Skip to content

Commit

Permalink
[emacs] Pules whole line when switching windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mina86 committed Jun 1, 2024
1 parent 2c710e2 commit 8a3936b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,7 @@ perform stripping and behaves as plain `save-buffer'."
(if delete
(windmove-delete-in-direction dir)
(windmove-do-window-select dir)
(let ((start (point-at-bol))
(end (point-at-eol)))
(pulse-momentary-highlight-region
(max start (- (point) 10))
(min end (+ (point) 10))))))
(pulse-momentary-highlight-one-line)))
(set-key "\M-F" :args (delete) "P" (mpn-windmove 'right delete))
(set-key "\M-B" :args (delete) "P" (mpn-windmove 'left delete))
(set-key "\M-P" :args (delete) "P" (mpn-windmove 'up delete))
Expand Down

0 comments on commit 8a3936b

Please sign in to comment.