项目作者: presuku

项目描述 :
fcitx (input method) control plugin for vim.
高级语言: C
项目地址: git://github.com/presuku/vim-fcitx-ctl.git
创建时间: 2019-03-31T04:29:17Z
项目社区:https://github.com/presuku/vim-fcitx-ctl

开源协议:

下载


vim-fcitx-ctl

This is fcitx (input method) control script for Vim with imactivefunc / imstatusfunc.

Vim script of this plugin is based on vim-uim-ctrl-imaf.vim and c-lang part is based on fcitx-remote.
(vim-uim-ctrl-imaf.vim is based on uim-ctl and uim-ctlso.)

How to install

  • Download

    1. $ cd ~/.vim/<path to plugin dir>
    2. $ git clone https://github.com/presuku/vim-fcitx-ctl.git
  • Build

    1. $ sudo apt install libdbus-1-dev fcitx-libs-dev
    2. $ cd ~/.vim/<path to plugin dir>/vim-fcitx-ctl
    3. $ make
  • Setting of fcitx

    1. echo 'FCITX_NO_PREEDIT_APPS=""' | sudo tee -a /etc/environment
  • Setting of vim and vim-plug

    1. set imstyle=1
    2. set iminsert=2
    3. Plug 'presuku/vim-fcitx-ctl'

LICENSE

All scripts are distributed under one of the Vim, MIT or BSD licenses.