Created
December 7, 2018 16:22
-
-
Save palikar/31cefe55958c931bf880555aa53f0f5a to your computer and use it in GitHub Desktop.
Kill whole word in emacs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun kill-whole-word () | |
(interactive) | |
(backward-word) | |
(kill-word 1) | |
) | |
(global-set-key (kbd "C-c w") 'kill-whole-word) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment