Skip to main content
Module

x/ddc_vim/deps.ts>op.iminsert

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
variable op.iminsert
import { op } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { iminsert } = op;

Specifies whether :lmap or an Input Method (IM) is to be used in Insert mode. Valid values: 0 :lmap is off and IM is off 1 :lmap is ON and IM is off 2 :lmap is off and IM is ON To always reset the option to zero when leaving Insert mode with this can be used: > :inoremap :set iminsert=0 < This makes :lmap and IM turn off automatically when leaving Insert mode. Note that this option changes when using CTRL-^ in Insert mode |i_CTRL-^|. The value is set to 1 when setting 'keymap' to a valid keymap name. It is also used for the argument of commands like "r" and "f". The value 0 may not work correctly with Athena and Motif with some XIM methods. Use 'imdisable' to disable XIM then.