Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

Commit

Permalink
Add more example files
Browse files Browse the repository at this point in the history
  • Loading branch information
Iron-E committed Apr 25, 2020
1 parent fea4744 commit 2b2e2ad
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
File renamed without changes.
14 changes: 14 additions & 0 deletions examples/key-combos-submode.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
let s:barModeRecurse = 0

let s:barModeCombos = {
\ 'z': 'BarModeEnter',
\}

function! s:BarMode()
let s:barModeRecurse += 1
call libmodal#Enter('BAR' . s:barModeRecurse, s:barModeCombos)
let s:barModeRecurse -= 1
endfunction

command! BarModeEnter call s:BarMode()
execute 'BarModeEnter'
File renamed without changes.

0 comments on commit 2b2e2ad

Please sign in to comment.