Skip to content

InsertLeave not working #9

@Somelauw

Description

@Somelauw

I tried setting it to both 0 and 1:

let g:rusmode_autotoggle_insertleave=0

But it didn't seem to make a difference.
I disabled your plugin and I tried a simpler solution instead:

autocmd InsertLeave * :!setxkbmap -model pc105 -layout us,ru -variant ,ownvariant -option grp:caps_toggle

But this didn't work for me, because executing this command again when using the ru layout, doesn't reset the keyboard to the default us layout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions