From f82897261ad36a95b7227b3aab0a8301edf72d39 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 19 Mar 2023 04:51:27 +0100 Subject: insert-layout: Remove old commented in-progress code --- bundle/insert-layout/plugin/insert_layout.vim | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'bundle') 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 - # autocmd! insert_layout InsertLeave - autocmd_delete([ { group: 'insert_layout', @@ -60,8 +57,6 @@ def InsertLayoutOn(layout: string): void return endif - # autocmd insert_layout InsertEnter OnInsertEnter(layout) - # autocmd insert_layout InsertLeave OnInsertLeave() autocmd_add([ { replace: true, @@ -86,11 +81,3 @@ enddef command! -nargs=1 -complete=custom,Complete InsertLayout InsertLayoutOn() 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 -- cgit v1.2.3