commit 90d7d48262905f2ff32e448f1fabe6ce7b8f0fc3
parent 2374b05ab5b7387ea43d762c2c7f592352a1c8ea
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 31 Mar 2014 12:49:12 +0200
Added vimpc configuration
Diffstat:
2 files changed, 49 insertions(+), 1 deletion(-)
diff --git a/.vimpcrc b/.vimpcrc
@@ -0,0 +1,48 @@
+" Configuration of vimpc is done using vimpc commands
+" these can include commands which require an mpd connection
+"
+" 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,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>
+
+" 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
diff --git a/create_symlinks.sh b/create_symlinks.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# Home folder dotfiles
-for F in .bashrc .vimrc .inputrc .tmux.conf .xpdfrc .signature .Xresources .Xmodmap .xinitrc .xprofile .zshrc .conkyrc .xbindkeysrc .gitconfig .vimperatorrc .compton.conf; do
+for F in .bashrc .vimrc .inputrc .tmux.conf .xpdfrc .signature .Xresources .Xmodmap .xinitrc .xprofile .zshrc .conkyrc .xbindkeysrc .gitconfig .vimperatorrc .vimpcrc .compton.conf; do
SOURCE=$PWD/$F
TARGET=~/$F