/s/


cd3afcd3af7130393420490ad1ccc426a91d2 – ``emacs''

@251703a9693d4465a97fa270889e9082 Anonymous 2021-05-13 17:17:43
Как сделать, чтобы не нужно было переключаться на US для C-x, например?
@e8545d474b65439aaa7364be85064421 Anonymous 2021-05-13 17:29:51
;;;;;;;;;
; Map Modifier-CyrillicLetter to the underlying Modifier-LatinLetter, so that
; control sequences can be used when keyboard mapping is changed outside of
; Emacs.
;
; For this to work correctly, .emacs must be encoded in the default coding
; system.
;
(mapcar*
 (lambda (r e) ; R and E are matching Russian and English keysyms iterate over modifiers
   (mapc (lambda (mod)
	   (define-key input-decode-map
	     (vector (list mod r)) (vector (list mod e))))
	 '(control meta super hyper))
					; finally, if Russian key maps nowhere, remap it to the English key without
					; any modifiers
   (define-key local-function-key-map (vector r) (vector e)))
 "йцукенгшщзхъфывапролджэячсмитьбю"
 "qwertyuiop[]asdfghjkl;'zxcvbnm,.")
;;;;;;;;;

Emacs - ненужное говно.