Skip to content

Vim-task not exposing keyboard mappings #7

@andybeeching

Description

@andybeeching

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 to something more conventional, like 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions