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 -

c# - Split String between 2 substrings without removing delimiters -

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -