|author||Étienne Deparis||2020-12-28 09:53:00 +0100|
|committer||Étienne Deparis||2020-12-28 09:53:00 +0100|
Add a new keybinding for forward-whitespace
1 files changed, 12 insertions, 0 deletions
@@ -662,6 +662,18 @@ Keybindings and mousebindings for /multi-cursors/.
(global-set-key (kbd "C-c m p") #'mc/mark-previous-like-this)
+Very often, when editing different lines in parallel, I would like to be able
+to quickly navigate to the next whitespace with the command
+~forward-whitespace~. Without it, the only thing I have is ~forward-word~,
+which does not do what I want as it stop at the first non-letter char. Thus I
+bind the previous to the new keybinding ~C-s-<right>~ as I want to keep the
+others. I have no need for a ~backward-whitespace~: if something goes wrong, I
+just have to go back to the beginning of the line and go forward again.
+#+begin_src emacs-lisp :tangle yes :exports code
+ (global-set-key (kbd "C-s-<right>") #'forward-whitespace)
** Zoom in buffers with the mouse
And map the mouse wheel in order to zoom in buffer text.