help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Deleting a word using keybinding


From: Christopher Dimech
Subject: Deleting a word using keybinding
Date: Thu, 15 Oct 2020 12:26:59 +0200

   I am trying to delete a word using keybinding string "C-<tab>" but the
   Chord is still showing as undefined.

   I would like to delete a word even if I happen to be in the middle of
   it., so I move backward.

   Here is the function

   ( global-set-key (kbd "C-<tab>" )
       ( lambda () (interactive)
           ( (backward-word)
             (kill-word 1)
           )
       )
   )


reply via email to

[Prev in Thread] Current Thread [Next in Thread]