Layerex / evil-xkbswitch

Input method switching corresponds to current state

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

evil-xkbswitch

Input method switching corresponds to current state

Usage

(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.

Doom emacs

(package! evil-xkbswitch
  :recipe (:host github :repo "linktohack/evil-xkbswitch"))

Configuration

On Linux you may need to adjust US layout name. You can look it up with xkb-switch -l.

Limit

Working under OS X and Linux for now, xkb version should take little to no modification. Despite the name Windows support is also feasible.

Binary

For OS X

issw can be got and compiled from here

For Linux

xkb-switch can be got and compiled from here or installed from AUR (if Arch Linux):

yay -S xkb-switch

License

MIT

About

Input method switching corresponds to current state


Languages

Language:Emacs Lisp 100.0%