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

Mapping keys in windows #21

Closed erinata closed 12 years ago

erinata commented 12 years ago

This plugin is excellent!!!!

It seems that you didn't map the keys for task navigation in windows. I copied the keymaps of OSX and it seems that it works properly. If you don't mind please include it in your plugin so the Windows people can also navigate in the beautifully generated Todo list?

https://gist.github.com/2176513

In this file, I also maps the "up" and "down" key in addition to the default "n" and "p". I think it makes sense to use arrow keys to navigate?

Another problem is that if I type something (say [ ] or { } or if I hit backspace) in the todo list view, it messes up the list and I cannot navigate property. I guess you need to disable those keys (or make the whole document read only) in the todo list view?

robcowie commented 12 years ago

Cheers for your efforts; I'll certainly include the windows keymap. The todo list should be read-only already. I'll look into it.

robcowie commented 12 years ago

See e1dc9f8e67

erinata commented 12 years ago

Looks like you don't like the up and down keymapping.........I will add it to my own branch then.

robcowie commented 12 years ago

Ha. Nope, I just forgot. I'll add them shortly

robcowie commented 12 years ago

Up/down added. See 8463fa1d43. Appreciate some testing on windows if you have the time.

erinata commented 12 years ago

It works perfectly. I also test it in linux.