tbabej / vit

Placeholder to demostrate issue porting for VIT.
0 stars 0 forks source link

[VT-117] add user-mappings to :h text #116

Open tbabej opened 6 years ago

tbabej commented 6 years ago

David Patrick on 2015-03-11T22:32:30Z says:

Vit help (:h) provides a list of default key-mappings. This feature request is to display all user-defined (.vitrc) key-mappings, too.

Following the same formatting as the default help text categories, the list of user mappings

...
nav   ^b              scroll up (back) one page
nav   ^l              refresh (redraw) the display
help  :h              view the whole help file (this file)
help  :h PATTERN      view help file lines matching PATTERN
help  :h cmd          view help about commands
help  :h help         view help about help
help  :h nav          view help about navigation
help  :h rpt          view help about reports
help  :h user         view help about user-defined key-mappings
user  <F1>            view the whole help file (this file)
user  <F2>            blocking report (tasks that are blocking or blocked)
user  <F3>            waiting report (tasks hidden until wait:wait-date)
user  <F4>            active report (task that have been started)
user  %               ghistory (annual) and summary reports
user  ^               recurring report (all recurring tasks)
user  &               tags report (all tags in use)
user  *               all report (all tasks, including completed and deleted)
user  (               oldest report (sorted oldest first)
user  )               newest report (sorted newest first)

and where do these descriptions come from? Each key-map definition will use text after the comment character (#) as description, as in;

map <F1>=:h<Return> #view the whole help file (this file)
map <F2>=:blocked<Return> #blocking report (tasks that are blocking or blocked)

etc.

tbabej commented 6 years ago

Migrated metadata:

Created: 2015-03-11T22:32:30Z
Modified: 2015-03-15T08:23:01Z
tbabej commented 6 years ago

David Patrick on 2015-03-15T08:23:01Z says:

duplicate