diff options
| author | Teddy Wing | 2015-07-18 22:34:44 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-07-18 22:38:08 -0400 |
| commit | 0adb3c1b578fb0118de6387bddeea633bb1e1a94 (patch) | |
| tree | dfa2c7b18b1dd898305ea72a0b473de36532795b /Resources/auto_complete.wav | |
| parent | b262ac5ba505c6ee27ad3dcf0db8b868f52a100b (diff) | |
| download | auditory.vim-0adb3c1b578fb0118de6387bddeea633bb1e1a94.tar.bz2 | |
autoload/auditory.vim: Ensure we `<cr>` if we're not piping
If we're not piping to an `execute` command in the mapping, we need to
`<cr>` to execute the sound player and type the normal mode command.
Otherwise the normal mode command gets typed in command mode which is
not what we want and messes things up greatly.
Figured I would just tack the `<cr>` on to the pipe variable rather than
create a new one since it's the inverse of what we need in that
situation. Hopefully the intention is clear enough but I'll grant that
this doesn't expose the most clarity.
Edit: Added a comment for better explanation of the <cr>.
Diffstat (limited to 'Resources/auto_complete.wav')
0 files changed, 0 insertions, 0 deletions
