aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2014-11-08 16:02:09 -0500
committerTeddy Wing2014-11-08 16:02:09 -0500
commit6c8e3819821fbb18d3d7756bf9a64068a6a4f144 (patch)
treed728ecc8104776b5a3d17b8f70caac5076fb1994
downloadauditory.vim-6c8e3819821fbb18d3d7756bf9a64068a6a4f144.tar.bz2
Initial commit. Ideas.
* Add .gitignore * Add file I was testing with, playing around with executing myplayer from a vim session.
-rw-r--r--.gitignore1
-rw-r--r--sounds.vim4
2 files changed, 5 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1f6786d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+private/
diff --git a/sounds.vim b/sounds.vim
new file mode 100644
index 0000000..dc6091a
--- /dev/null
+++ b/sounds.vim
@@ -0,0 +1,4 @@
+nnoremap <silent> <leader>i :call system("mplayer ./private/test-track.mp3 &")<cr>
+
+
+" nnoremap <leader>e :call system("ps -T | grep mplayer | tail -n2 | head -n1 | awk '{print $1}'")<cr>