vim-task icon indicating copy to clipboard operation
vim-task copied to clipboard

Vim-task not exposing keyboard mappings

Open andybeeching opened this issue 12 years ago • 2 comments

Hi,

First thanks for this handy Vim plugin :)

Just thought I'd open an issue I've encountered trying to use it, I'm running vim 7.3 inside iTerm2 on OSX.

Inside the task.vim file (in plugin/) I can see where the keyboard mappings are meant to be exposed, but on my setup I can't trigger them for a variety of reasons. To get it to work I have to:

  1. Remove the check for did_ftdetect at the top. Without this the file doesn't seem to be read past the condition as it's always true.
  2. Remove the portion of the keyboard mappings AND...
  3. Change the mapping from <C-D-CR> to something more conventional, like <Leader>m.

Only then can I use the keyboard mappings inside a buffer viewing a .tasks file, if one of those items isn't there then nothing is triggered.

For now I have simply c+p'd the function into my vimrc and made a mapping there, so locally resolved, but I just thought you'd want to know my experience trying to use it.

Also, is there a reason toggling from '-' to checkmark works, but if I toggle back then the checkmark is simply removed, and not replaced with '-'?

Let me know if I can help replicate anything for debugging,

Cheers!

andybeeching avatar Dec 29 '12 23:12 andybeeching

I can't say much since I am only browsing, but it looks like <C-D-CR> has three states: no dash, dash, checkmark. To get your dash back, simply press <C-D-CR> one more time.

EpicVoyage avatar Jan 25 '13 21:01 EpicVoyage

Same issue

adamjgrant avatar May 24 '14 05:05 adamjgrant