diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-18 17:43:53 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-18 17:43:53 +0200 |
commit | a41896a63be0bba72b32d86cbe1a89653b2ccbe1 (patch) | |
tree | e2a1b14c63c0345b369fab34f9c5aec49544744d | |
parent | vimrc fix (diff) | |
download | dotfiles-bsd-a41896a63be0bba72b32d86cbe1a89653b2ccbe1.tar.gz dotfiles-bsd-a41896a63be0bba72b32d86cbe1a89653b2ccbe1.tar.bz2 dotfiles-bsd-a41896a63be0bba72b32d86cbe1a89653b2ccbe1.tar.xz dotfiles-bsd-a41896a63be0bba72b32d86cbe1a89653b2ccbe1.tar.zst dotfiles-bsd-a41896a63be0bba72b32d86cbe1a89653b2ccbe1.zip |
Added vimpcrc config
-rw-r--r-- | .config/vimpc/vimpcrc | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/.config/vimpc/vimpcrc b/.config/vimpc/vimpcrc new file mode 100644 index 0000000..5c81a72 --- /dev/null +++ b/.config/vimpc/vimpcrc @@ -0,0 +1,52 @@ +" Configuration of vimpc is done using vimpc commands +" these can include commands which require an mpd connection +" +" Copy this file to $XDG_CONFIG_HOME/vimpc/vimpcrc to use it +" +" NB: Comments are very basic and must be on their own line +echo Parsing config file + +" Set the default tab +set window playlist + +" Set the windows to show at startup +set windows library,directory,playlist + +" 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 <A-k> gT +map <A-j> gt + +" Connect to a specific host using the config file +"connect somehost someport + +" 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 |