Skip to content

Commit

Permalink
Make <Leader>? help so ? can revert to backward search
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Choi committed Aug 2, 2011
1 parent cbeca9e commit 4a4caeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.markdown
Expand Up @@ -58,7 +58,7 @@ You can run ViTunes in two ways:

* `,i` invoke or dismiss ViTunes
* `,I` invoke ViTunes and go full screen with it
* `?` show help and commands
* `,?` show help and commands

`,I` is useful if you want to launch immediately into ViTunes after starting Vim.

Expand Down
4 changes: 2 additions & 2 deletions lib/vitunes.vim
Expand Up @@ -52,7 +52,7 @@ function! s:runCommand(command)
endfunction

function! ViTunesStatusLine()
return "%<%f\ Press ? for help. "."%r%=%-14.(%l,%c%V%)\ %P"
return "%<%f\ Press ".g:mapleader."? for help. "."%r%=%-14.(%l,%c%V%)\ %P"
endfunction

" the main window
Expand Down Expand Up @@ -87,7 +87,7 @@ function! ViTunes()
" Not working yet
" noremap <buffer> <BS> :call <SID>deleteTracksFromPlaylist()<CR> "
noremap <buffer> <Leader>i :close<CR>
noremap <buffer> ? :call <SID>help()<CR>
noremap <buffer> <Leader>? :call <SID>help()<CR>
noremap <buffer> <Leader>z :call <SID>musicStore()<CR>
noremap <buffer> <cr> :call <SID>playTrack()<cr>
Expand Down

0 comments on commit 4a4caeb

Please sign in to comment.