Skip to content

Commit

Permalink
名前空間を意識しないやつは何をやってもだめ
Browse files Browse the repository at this point in the history
  • Loading branch information
kuuote committed Aug 18, 2024
1 parent a619729 commit 68e79fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conf/rc/mode/ic/map.vim
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ function s:handle()
endfunction

function s:caps()
augroup capslock
if exists('#capslock#KeyInputPre')
augroup vimrc_capslock
if exists('#vimrc_capslock#KeyInputPre')
autocmd!
else
autocmd!
autocmd KeyInputPre * call s:handle()
autocmd CmdlineLeave,InsertLeave * autocmd! capslock
autocmd CmdlineLeave,InsertLeave * autocmd! vimrc_capslock
endif
augroup END
endfunction
Expand Down

0 comments on commit 68e79fc

Please sign in to comment.