Input method switching corresponds to current state
(require 'use-package)
(use-package evil-xkbswitch
:if (featurep 'ns)
:load-path "path/to/evil-xkbswitch/"
:diminish evil-xkbswitch-mode
:config (evil-xkbswitch-mode 1))
Remove :load-path
if install via package.el
.
(package! evil-xkbswitch
:recipe (:host github :repo "linktohack/evil-xkbswitch"))
On Linux you may need to adjust US layout name. You can look it up with xkb-switch -l
.
Working under OS X and Linux for now, xkb
version should take little to
no modification. Despite the name Windows support is also feasible.
issw
can be got and compiled from
here
xkb-switch
can be got and compiled from
here
or installed from AUR (if Arch Linux):
yay -S xkb-switch
MIT