elisp - How to customize Emacs keyboard shortcut for deleting current line -


I would like to delete the current row when alt , and the letter d is pressed twice.

How can I get it inside my Emacs configuration file?

Currently I have it in my .emacs : (global-set-key (kbd "M-0") 'other-window)

  (universal-set-key (kbd "M-9") 'back-window' code>   

You can use your own keymap:

  (defvar (definition-key somdename-map (kbd "Md") 'kill-line' (define-key somename -map (kbd "Mw") 'kill-line' (definition-key somename-map) (global-set-key (kbd "Md") somename-map)    

Comments

Popular posts from this blog

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

java - Ajax call to jsp and jsp redirecting to further jsp -

c# - Roxy file manager in MVC doesn't accept session path -