summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-30 22:00:20 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-30 22:00:20 +0200
commit5c6dbcb03fa552d7b0e61c8fcf425147eb6bf7d5 (patch)
tree13f37aa604997567c63b0e5786ee2625282d8d4b /runtime
parent4e83961985abb78757b135f29ac4ffde675247af (diff)
downloadvim-git-5c6dbcb03fa552d7b0e61c8fcf425147eb6bf7d5.tar.gz
patch 8.0.1026: GTK on-the-spot input has problemsv8.0.1026
Problem: GTK on-the-spot input has problems. (Gerd Wachsmuth) Solution: Support over-the-spot. (Yukihiro Nakadaira, Ketn Takata, closes #1215)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/mbyte.txt3
-rw-r--r--runtime/doc/options.txt17
2 files changed, 20 insertions, 0 deletions
diff --git a/runtime/doc/mbyte.txt b/runtime/doc/mbyte.txt
index 2499f092d..1c3e2b13d 100644
--- a/runtime/doc/mbyte.txt
+++ b/runtime/doc/mbyte.txt
@@ -832,6 +832,9 @@ Use the RPM or port for your system.
Currently, GUI Vim supports three styles, |OverTheSpot|, |OffTheSpot| and
|Root|.
+ When compiled with |+GUI_GTK| feature, GUI Vim supports two styles,
+ |OnTheSpot| and |OverTheSpot|. You can select the style with the 'imstyle'
+ option.
*. on-the-spot *OnTheSpot*
Preedit Area and Status Area are performed by the client application in
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 943bdced5..0018eaaac 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4356,6 +4356,23 @@ A jump table for the options with a short description can be found at |Q_op|.
<
NOTE: This function is invoked very often. Keep it fast.
+ *'imstyle'* *'imst'*
+'imstyle' 'imst' number (default 1)
+ global
+ {not in Vi}
+ {only available when compiled with |+xim| and
+ |+GUI_GTK|}
+ This option specifies the input style of Input Method.
+ Set to zero if you want to use on-the-spot style.
+ Set to one if you want to use over-the-spot style.
+ See: |xim-input-style|
+
+ For a long time on-the-spot sytle had been used in GTK version of vim,
+ however, it is known that it causes troubles when using mappings,
+ |single-repeat|, etc. Therefore over-the-spot style becomes the
+ default now. This should work fine for most people, however if you
+ have any problem with it, try using on-the-spot style.
+
*'include'* *'inc'*
'include' 'inc' string (default "^\s*#\s*include")
global or local to buffer |global-local|