Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion #2

Open
JezuzStardust opened this issue Apr 3, 2019 · 0 comments
Open

Suggestion #2

JezuzStardust opened this issue Apr 3, 2019 · 0 comments

Comments

@JezuzStardust
Copy link

Hi!

Do you think you could update this library to use xkbswitch -ge and -se for getting and setting instead of just -g and -s?

The e in makes the return value the full name of the keyboard layout instead of just a number. The number of a given keyboard layout does not seem to be consistent whereas the name is. This would make it possible to use

let g:XkbSwitchNLayout = 'US'

to ensure that normal mode always uses the US keyboard layout, even if I started Vim when I was in some other mode.

I have tried this out, and it does indeed work, but I am too unsure how to deal with Xcode to do a pull request as I might mess up some settings. (For example, I did not manage to make the build product end up in the right place).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant