mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-17 12:30:59 +01:00
update emacs config to 21th century
This commit is contained in:
11
conf-lisp/xmodmap.el
Normal file
11
conf-lisp/xmodmap.el
Normal file
@@ -0,0 +1,11 @@
|
||||
;; *** Xmodmap Mode
|
||||
|
||||
;; the shortest mode ever, [[https://www.emacswiki.org/emacs/XModMapMode][via emacswiki]].
|
||||
|
||||
(define-generic-mode 'xmodmap-mode
|
||||
'(?!)
|
||||
'("add" "clear" "keycode" "keysym" "pointer" "remove")
|
||||
'(("[0-9]+" . 'font-lock-variable-name-face))
|
||||
'("[xX]modmap\\(rc\\)?\\'")
|
||||
nil
|
||||
"Simple mode for xmodmap files.")
|
||||
Reference in New Issue
Block a user