aaronbieber/quicktask — pull request #14 by cfebs (2012-12-20 03:00:22+00:00)
Title: Keybindings available in other filetypes after quicktask filetype is opened

I was able to reproduce this issue by doing the following:

1. create a test file like `test.php`
1. use `:QTinit` to save a a basic quicktask file `notes.txt`
1. reload vim
1. `:e test.php`
* verify that `to` does not insert a task line
1. `:e notes.txt`
* verify that `to` and other keybindings work
1. Swap back to `test.php`
1. `to` still enters a new note line

I think what's intended is that those key bindings should only work with quicktask files. But it might be useful for comments in other code, maybe an option for the user to decide?

My commit fixed this for me, but I know very little about vimscript.