diff options
author | Sebastian Reichel <sre@ring0.de> | 2011-11-15 01:38:02 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2011-11-15 01:38:02 +0100 |
commit | f5a2b0e1189c107d475184d2b9b5de970507a80d (patch) | |
tree | 97dfa849f84d2509081dc01557efbcd7abbb25f8 /vimrc | |
parent | 5574ec7ae4bde71f49346a98c7c8800f629451c2 (diff) | |
download | vim-config-f5a2b0e1189c107d475184d2b9b5de970507a80d.tar.bz2 |
ibus support
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -19,6 +19,17 @@ set encoding=utf-8 " UTF-8 set iskeyword-=_ " _ is a word delimiter set autoread +" http://d.hatena.ne.jp/fuenor/20110705/1309866529 +au InsertLeave * call PyIBusDisable() +function! PyIBusDisable() +python << EOF +import ibus +bus = ibus.Bus() +ic = ibus.InputContext(bus, bus.current_input_contxt()) +ic.disable() +EOF +endfunction + " Configure the status line show something useful. "set statusline=%F%m%r%h%w\ %y\ [%{&ff}]%=[%l,%v][%p%%]\ [%L] "set laststatus=2 " Ensure status line is visible. |