Input methods: Difference between revisions
→XKB: warning |
update toaq.el link |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 68: | Line 68: | ||
=== vim === | === vim === | ||
See [[Vim input]]. | See [[Vim input]]. | ||
=== emacs === | |||
A <code>toaq.el</code> is available at https://github.com/mi2ebi/.emacs.d. Shove it into <code>~/.emacs.d/lisp</code> (or wherever you want to keep extra elisp files) and add this to your <code>init.el</code>. It's similar to the xkb layout further down this page. Press {{Key|C-h}} {{Key|I}} <code>toaq</code> {{Key|RET}} for documentation. | |||
<syntaxhighlight lang="elisp"> | |||
(add-to-list 'load-path "~/.emacs.d/lisp") | |||
(require 'toaq) | |||
</syntaxhighlight> | |||
=== AutoHotkey (Windows) === | === AutoHotkey (Windows) === | ||
| Line 150: | Line 157: | ||
=== XKB === | === XKB === | ||
'''WARNING:''' That this requires editing a few system files, so remember to ''make backups of files you change''. Follow the format in the files in /usr/share/X11/xkb/rules/: | '''WARNING:''' That this requires editing a few system files, so remember to ''make backups of files you change''. Follow the format in the files in /usr/share/X11/xkb/rules/: base.xml, evdev.xml. | ||
This layout, for QWERTY keyboards, also has diacritics for Gamma and Beta. | This layout, for QWERTY keyboards, also has diacritics for Gamma and Beta. Note, that your keyboards may be removed after updates, so Luna recommends making a copy of your *.xml files. | ||
{| class="wikitable" | {| class="wikitable" | ||
! ||Without underdot|| colspan="2" |With underdot | ! ||Without underdot|| colspan="2" |With underdot | ||