vitunes 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.markdown +3 -0
- data/lib/vitunes.vim +2 -1
- data/lib/vitunes/version.rb +1 -1
- metadata +2 -2
data/README.markdown
CHANGED
@@ -50,8 +50,11 @@ mapleader is `\` or something else, use that instead.
|
|
50
50
|
### General commands
|
51
51
|
|
52
52
|
* `,i` invoke or dismiss ViTunes
|
53
|
+
* `,I` invoke ViTunes and go full screen with it
|
53
54
|
* `?` show help and commands
|
54
55
|
|
56
|
+
`,I` is useful if you want to launch immediately into ViTunes after starting Vim.
|
57
|
+
|
55
58
|
### Navigation
|
56
59
|
|
57
60
|
* `,s` search iTunes library by search query
|
data/lib/vitunes.vim
CHANGED
@@ -304,7 +304,7 @@ function! s:submitQueryOrSelection(command)
|
|
304
304
|
let bcommand = s:vitunes_tool."predicate ".shellescape("album == '".query."'")
|
305
305
|
elseif a:command == 'addTracksToPlaylist'
|
306
306
|
let trackIds = join(s:selectedTrackIds, ',')
|
307
|
-
let bcommand = s:vitunes_tool.a:command." ".trackIds." ".query
|
307
|
+
let bcommand = s:vitunes_tool.a:command." ".trackIds." ".shellescape(query)
|
308
308
|
else
|
309
309
|
let bcommand = s:vitunes_tool . a:command . ' ' . shellescape(query)
|
310
310
|
end
|
@@ -351,6 +351,7 @@ function! s:newPlaylist(name)
|
|
351
351
|
endfunction
|
352
352
|
|
353
353
|
nnoremap <silent> <leader>i :call ViTunes()<cr>
|
354
|
+
nnoremap <silent> <leader>I :call ViTunes()<cr>:only<CR>
|
354
355
|
|
355
356
|
|
356
357
|
let g:ViTunesLoaded = 1
|
data/lib/vitunes/version.rb
CHANGED