Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/h-hg/fcitx.nvim
A Neovim plugin writing in Lua to switch and restore fcitx state for each buffer.
https://github.com/h-hg/fcitx.nvim
fcitx fcitx5 input lua neovim switch
Last synced: 14 days ago
JSON representation
A Neovim plugin writing in Lua to switch and restore fcitx state for each buffer.
- Host: GitHub
- URL: https://github.com/h-hg/fcitx.nvim
- Owner: h-hg
- License: mit
- Created: 2021-09-19T06:22:39.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-08T18:27:38.000Z (8 months ago)
- Last Synced: 2024-07-31T20:51:38.518Z (3 months ago)
- Topics: fcitx, fcitx5, input, lua, neovim, switch
- Language: Lua
- Homepage:
- Size: 2.93 KB
- Stars: 82
- Watchers: 2
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-neovim - h-hg/fcitx.nvim - Switching and restoring fcitx state for each buffer separately. (Editing Support / Scrollbar)
README
# Fcitx.nvim
## What is it
A Neovim plugin writing in Lua to switch and restore fcitx state for each buffer. For example, switching to English input when leaving the INSERT mode, and restore Non-Latin input (like Chinese input) when enter the INSERT mode or COMMAND mode (for searching).
## Requirements
- This plugin requires neovim >= 0.5.0
- `fcitx-remote` or `fcitx5-remote`
- Please confirm in `fcitx-configtool` (or `fcitx5-configtool`) that English is the first input method and Non-Latin (like Chinese) is the second input method. For rime users, please note that there must be two input methods in `fcitx` (or `fcitx5`).## Installation
For [packer](https://github.com/wbthomason/packer.nvim) user:
```lua
require('packer').startup(function()
use 'h-hg/fcitx.nvim'
end)
```## Alternative
- [fcitx.vim](https://github.com/lilydjwg/fcitx.vim)
- [vim-barbaric](https://github.com/rlue/vim-barbaric)