aboutsummaryrefslogtreecommitdiffstats
path: root/bundle/insert-layout/plugin/insert_layout.vim
blob: 9121583d2afe5eee24c49c870364880318e5707b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
if v:version < 900
	finish
endif

vim9script

if exists('g:loaded_insert_layout')
	finish
endif
g:loaded_insert_layout = 1


# insert-layout
# Set a different keyboard layout to use in insert mode. Allows a familiar
# layout to be used in narmal and other modes while being able to write in a
# different layout at the same time.

import autoload '../autoload/insert_layout.vim'

command! -nargs=1 -complete=custom,insert_layout.Complete
	\ InsertLayout
	\ insert_layout.InsertLayoutOn(<q-args>)
command! InsertLayoutOff insert_layout.InsertLayoutOff()