Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

vim: arpeggio: Completion for :Arpeggio commands

  • Loading branch information...
commit 25cc31b829df61982fe044d98d1b6f2fd3fff102 1 parent 9635caa
@kana kana authored
Showing with 4 additions and 3 deletions.
  1. +1 −0  doc/arpeggio.txt
  2. +3 −3 plugin/arpeggio.vim
View
1  doc/arpeggio.txt
@@ -296,6 +296,7 @@ CHANGELOG *arpeggio-changelog*
already mapped to something other than a part of another
|arpeggio-key-mapping|.
- Add custom 'timeoutlen' per key. See |g:arpeggio_timeoutlens|.
+ - Add a bit of completion for |arpeggio-commands|.
0.0.2 2008-11-07T22:16:51+09:00
- Fix |:Arpeggionoremap| that allowed remapping but it should not do
View
6 plugin/arpeggio.vim
@@ -39,12 +39,12 @@ endif
-command! -bar -nargs=+ Arpeggio call arpeggio#_do(<q-args>)
+command! -bar -complete=command -nargs=+ Arpeggio call arpeggio#_do(<q-args>)
function! s:_(...)
execute call('printf',
- \ ['command! %s -bar -nargs=* Arpeggio%s'
+ \ ['command! %s -bar -complete=mapping -nargs=* Arpeggio%s'
\ . ' call arpeggio#_map_or_list(%s, %s, <q-args>)']
\ + a:000)
endfunction
@@ -72,7 +72,7 @@ call s:_('', 'xnoremap', '"x"', 1)
function! s:_(...)
execute call('printf',
- \ ['command! %s -bar -nargs=* Arpeggio%s'
+ \ ['command! %s -bar -complete=mapping -nargs=* Arpeggio%s'
\ . ' call arpeggio#_unmap(%s, <q-args>)']
\ + a:000)
endfunction
Please sign in to comment.
Something went wrong with that request. Please try again.