Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

presuku/vim-uim-ctl-imaf.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-uim-ctl-imaf.vim

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

This vim script and c source files based on uim-ctl and uim-ctlso.

How to install

  • Download

$ cd ~/.vim/bundle $ git clone https://github.com/presuku/vim-uim-ctl-imaf.vim.git


* Customize for IM Engine of your environment.

  You can change the followings tow macro in `plugin/uim-ctl.c`.

 * Default action-name for mozc

   ```c
#define ACTION_HIRAGANA "action_mozc_hiragana"
#define ACTION_DIRECT   "action_mozc_direct"
  • Build

$ cd ~/.vim/bundle/vim-uim-ctl-imaf.vim $ make


* Rename dll name

  If you want to rename uim-ctl.so for other environment, you can set shared object name to g:uim_ctl_dll.

 * rename
   ```sh
$ mv plugin/uim-ctl.so plugin/uim-ctl.so.1.7
# or
$ mv plugin/uim-ctl.so plugin/uim-ctl.so.1.8

# you can confirm your uim version by "uim-fep -v" or "uim-sh --version".

  • set shared object name to g:uim_ctl_dll in .vimrc

let s:uim_version = matchstr(system('uim-sh --version'), '\d.\d') let g:uim_ctl_dll = "uim-ctl.so." . s:uim_version


* Vundle and others.
  ```viml
Bundle 'presuku/vim-uim-ctl-imaf.vim'
" or
Plugin 'presuku/vim-uim-ctl-imaf.vim'
" or
NeoBundle 'presuku/vim-uim-ctl-imaf.vim'

LICENSE

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

About

uim (input method) control plugin for vim.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published