Navigation Menu

Skip to content

Commit

Permalink
apply the patch. thanks to Jan Christoph.
Browse files Browse the repository at this point in the history
  • Loading branch information
tyru committed Jan 29, 2010
1 parent 1cd141c commit 5e3c210
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions plugin/dumbbuf.vim
Expand Up @@ -126,6 +126,8 @@ scriptencoding utf-8
" :edit buffer.
" u
" open one by one. this is same as QuickBuf's u.
" g
" :sbuffer buffer.
" s
" :split buffer.
" v
Expand Down Expand Up @@ -798,6 +800,20 @@ func! s:compile_mappings()
\'post': ['save_lnum']}),
\string('v'))
\},
\'g': {
\'opt': '<silent>',
\'mapto':
\printf(fmt_tmp,
\string('sbuffer %d'),
\string({
\'type': 'cmd',
\'requires_args': 1,
\'process_marked': 1,
\'pre': ['close_return_if_empty',
\'close_dumbbuf', 'jump_to_caller'],
\'post': ['save_lnum']}),
\string('v'))
\},
\'s': {
\'opt': '<silent>',
\'mapto':
Expand Down Expand Up @@ -982,6 +998,20 @@ func! s:compile_mappings()
\'post': ['save_lnum']}),
\string('n'))
\},
\'g': {
\'opt': '<silent>',
\'mapto':
\printf(fmt_tmp,
\string('sbuffer %d'),
\string({
\'type': 'cmd',
\'requires_args': 1,
\'process_marked': 1,
\'pre': ['close_return_if_empty',
\'close_dumbbuf', 'jump_to_caller'],
\'post': ['save_lnum']}),
\string('n'))
\},
\'s': {
\'opt': '<silent>',
\'mapto':
Expand Down

0 comments on commit 5e3c210

Please sign in to comment.