robcowie / SublimeTODO

**[DEPRECATED]** - See https://github.com/jonathandelgado/SublimeTodoReview - Extract TODO-type comments from open files and project folders
295 stars 54 forks source link

Working with Vintage? #46

Closed jgilchrist closed 11 years ago

jgilchrist commented 11 years ago

The navigation commands don't work in Vintage mode. Is there a way to change this?

leeahoward commented 11 years ago

+1

taboada commented 11 years ago

That would be soooo nice to be able to continue using Vim mode AND be able to use your plug-in ;-)

mreq commented 11 years ago

Add this to your keybind file:

//////////////////////
// SublimeTODO
//////////////////////
{
    "keys": ["j"], "command": "navigate_results",
    "context": [
        { "key": "selector", "operator": "equal", "operand": "text.todo-list" }
    ],
    "args": {"direction": "forward"}
},
{
    "keys": ["k"], "command": "navigate_results",
    "context": [
        { "key": "selector", "operator": "equal", "operand": "text.todo-list" }
    ],
    "args": {"direction": "backward"}
},
{
    "keys": ["enter"], "command": "goto_comment",
    "context": [
        { "key": "selector", "operator": "equal", "operand": "text.todo-list" }
    ]
}
taboada commented 11 years ago

woho ! Long time away from my computer, and "voilà": a nice workaround. Thank you mreq. I'll try and do that tomorrow morning, and keep you posted.

jgilchrist commented 11 years ago

Perfect, thanks @mreq!