aboutsummaryrefslogtreecommitdiffstats
path: root/sounds.vim
diff options
context:
space:
mode:
authorTeddy Wing2014-11-08 16:02:09 -0500
committerTeddy Wing2014-11-08 16:02:09 -0500
commit6c8e3819821fbb18d3d7756bf9a64068a6a4f144 (patch)
treed728ecc8104776b5a3d17b8f70caac5076fb1994 /sounds.vim
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.
Diffstat (limited to 'sounds.vim')
-rw-r--r--sounds.vim4
1 files changed, 4 insertions, 0 deletions
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>