Any easy way to get forward/backword word movement with "word" defined as everything non-whitespace, similar to vim's W and E?
I don't know exactly what vim does, but something like this?
^- represents whitespace syntax and non-whitespace syntax respectively.
(defun my-forward-word () "Forward to the end of the 'word at point' (vim-like)." (interactive) (skip-syntax-forward "-") (skip-syntax-forward "^-")) (defun my-backward-word () "Backward to the start of the 'word at point' (vim-like)." (interactive) (skip-syntax-backward "-") (skip-syntax-backward "^-"))