8000 GitHub - StrayDragon/vim-smartim: [WIP] Used to automatically switch input methods when the VIM mode changes, now only available for Fcitx
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[WIP] Used to automatically switch input methods when the VIM mode changes, now only available for Fcitx

License

Notifications You must be signed in to change notification settings

StrayDragon/vim-smartim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-smartim

[WIP] Smart switch input method (zh<->en) automatically when (Neo)VIM mode change(INSERT<->NORMAL)

demo

Tested on my Linux(Manjaro-i3), I'm using the default PinYin IM and English(en_US) IM from fcitx:

PS: My shortcut for change IM is Control+,, it not appears on the screenkey echo bar

Installation

Prerequirement

  • Your environment are using fcitx to manage input method
  • Command fcitx-remote is executable

Then just install it with your favorite package manager like:

" vim-plug
Plug 'StrayDragon/vim-smartim'

It will work automatically, and enjoy it! 😄

TODO

  • Could enable or disable this plugin
  • Configurable: for specific filetypes

Inspired by

Reference

License

MIT

About

[WIP] Used to automatically switch input methods when the VIM mode changes, now only available for Fcitx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0