rastapasta/mapscii

vim keybinds

Open

#80 建立於 2020年3月4日

在 GitHub 查看
 (2 留言) (6 反應) (0 負責人)JavaScript (6,790 star) (231 fork)batch import
enhancementhelp wanted

描述

The problem

When I open this program my hands instinctively try to adjust the map using the vim keys. This is the natural mode of navigation for countless TUI programs.

Proposed solution

h,j,k, and l are the classic left, down, up, right controls. You could keep zooming as a and z, but I would love to use J and K.

Additional context

I don't believe these keybinds would interfere with any preexisting options, and non vim users could easily stick to the arrow keys.

This also provides a framework for more keybinds. For example if you implement a search feature, the / key is already most peoples go-to and it makes the program easy to learn.

貢獻者指南

vim keybinds · rastapasta/mapscii#80 | Good First Issue