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.
@@ -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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module ViTunes
2
- VERSION = '0.2.8'
2
+ VERSION = '0.2.9'
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 8
9
- version: 0.2.8
8
+ - 9
9
+ version: 0.2.9
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi