📜 ⬆️ ⬇️

Emacs in Russian

Emacs is undoubtedly the greatest and best editor of all time. If it is still not obvious to someone, this is not a problem for Emacs :)

But not everything is perfect and Emacs has its flaws. A small but pleasant trick is given below.

  ;;;  ru-bindings-overload.el
 ;;  Overload standard Emacs chords to Russian keys.
 ;;
 ;;  It is very inconvenient every time to perform a particular command to switch
 ;;  layout  The most frequently used commands are thus
 ;;  right here.
 (global-set-key [? \ C-? \ C-] 'save-buffer);  Cx cs
 (global-set-key [? \ C-e] 'move-end-of-line);  Ce
 (global-set-key [? \ C-a] 'move-beginning-of-line);  Ca
 (global-set-key [? \ M-I] 'fill-paragraph-or-region);  Mq
 (global-set-key [? \ C-k] 'kill-line);  Ck
 (global-set-key [? \ Cs] 'x-clipboard-yank);  Cy
 ;;  etc. 


Important point: only the vector form [?\-] ASCII .

')

Source: https://habr.com/ru/post/24441/


All Articles