54 lines
1,021 B
Plaintext
54 lines
1,021 B
Plaintext
echo Parsing config file
|
|
|
|
" Set the default tab
|
|
set window playlist
|
|
|
|
" Set the windows to show at startup
|
|
set windows playlist,library,browse,help
|
|
|
|
" Stop playing music when we quit
|
|
"set stoponquit
|
|
|
|
" A silly example of an alias
|
|
"alias smiths deleteall; findartist! The Smiths; play 1
|
|
|
|
" Example maps
|
|
" map the F key to change to the browse window, go to the first line and enter search mode
|
|
"map F :browse<C-M>gg/
|
|
" map @ to switch to add next, add a song, then change back
|
|
"map @ :set add next<C-M>a:set add end<C-M>
|
|
|
|
map i <Up>
|
|
map j <Left>
|
|
map k <Down>
|
|
|
|
map h i
|
|
|
|
map q ZQ
|
|
map Q ZQ
|
|
|
|
map <space>l :tabnext<CR>
|
|
map <space>j :tabprevious<CR>
|
|
|
|
" Turn consume on when we connect
|
|
"consume on
|
|
|
|
" Ensure that the database is up to date each connect
|
|
update
|
|
|
|
" A more complex example, When we start vimpc
|
|
" - clear the playlist
|
|
" - add all songs
|
|
" - shuffle
|
|
" - start playling
|
|
"deleteall
|
|
"addall
|
|
"shuffle
|
|
"play 1
|
|
|
|
" Color the statusline and tabs
|
|
" highlight status blackbg
|
|
" highlight tab blackbg
|
|
|
|
echo Config File Complete
|