diff options
| author | Teddy Wing | 2014-11-08 18:02:45 -0500 |
|---|---|---|
| committer | Teddy Wing | 2014-11-08 18:02:45 -0500 |
| commit | da0b8849cd516a878ebd49de2eda0f3e85488f52 (patch) | |
| tree | 6bae1e57de90898bf4c1fd6eb466a5d7ea8938c3 /sounds.vim | |
| parent | 6c8e3819821fbb18d3d7756bf9a64068a6a4f144 (diff) | |
| download | auditory.vim-da0b8849cd516a878ebd49de2eda0f3e85488f52.tar.bz2 | |
Get audio playing working with insert autocmds
* Move test .vim file into the plugin/ directory. Some of the functions
added in this commit should be moved to autoload/ when this is more
together
* Add functions:
* Get & kill pids for mplayer
* Play audio
* Insert autocmd handlers
* Add InsertEnter & InsertLeave autocmds that start playing the test
song when entering insert mode and stop playing when you leave insert
mode.
Diffstat (limited to 'sounds.vim')
| -rw-r--r-- | sounds.vim | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sounds.vim b/sounds.vim deleted file mode 100644 index dc6091a..0000000 --- a/sounds.vim +++ /dev/null @@ -1,4 +0,0 @@ -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> |
