aboutsummaryrefslogtreecommitdiffstats
path: root/bundle/insert-layout/plugin/insert_layout.vim
diff options
context:
space:
mode:
authorTeddy Wing2023-03-19 04:51:27 +0100
committerTeddy Wing2023-03-19 19:52:34 +0100
commitf82897261ad36a95b7227b3aab0a8301edf72d39 (patch)
treee44cb66d59011dbb9f2766c9f792a1c4b2a3f675 /bundle/insert-layout/plugin/insert_layout.vim
parent803b9b9f3f561c78601de0439d4150a72238c3d3 (diff)
downloaddotvim-f82897261ad36a95b7227b3aab0a8301edf72d39.tar.bz2
insert-layout: Remove old commented in-progress code
Diffstat (limited to 'bundle/insert-layout/plugin/insert_layout.vim')
-rw-r--r--bundle/insert-layout/plugin/insert_layout.vim13
1 files changed, 0 insertions, 13 deletions
diff --git a/bundle/insert-layout/plugin/insert_layout.vim b/bundle/insert-layout/plugin/insert_layout.vim
index 9213dec..b417fea 100644
--- a/bundle/insert-layout/plugin/insert_layout.vim
+++ b/bundle/insert-layout/plugin/insert_layout.vim
@@ -37,9 +37,6 @@ def OnInsertLeave(): void
enddef
def InsertLayoutOff(): void
- # autocmd! insert_layout InsertEnter <buffer>
- # autocmd! insert_layout InsertLeave <buffer>
-
autocmd_delete([
{
group: 'insert_layout',
@@ -60,8 +57,6 @@ def InsertLayoutOn(layout: string): void
return
endif
- # autocmd insert_layout InsertEnter <buffer> OnInsertEnter(layout)
- # autocmd insert_layout InsertLeave <buffer> OnInsertLeave()
autocmd_add([
{
replace: true,
@@ -86,11 +81,3 @@ enddef
command! -nargs=1 -complete=custom,Complete InsertLayout InsertLayoutOn(<q-args>)
command! InsertLayoutOff InsertLayoutOff()
-
-# SetInputLayout(layout_names['fr'])
-
-# augroup frinsert
-# autocmd!
-# autocmd InsertEnter * :call system('xkbswitch -se French-numerical')
-# autocmd InsertLeave * :call system('xkbswitch -se US')
-# augroup END