Skip to content

Instantly share code, notes, and snippets.

@linuxcaffe
Created March 4, 2015 23:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linuxcaffe/d8e839415deafea7151c to your computer and use it in GitHub Desktop.
Save linuxcaffe/d8e839415deafea7151c to your computer and use it in GitHub Desktop.
files
======== vit help ======== see also: 'man vit' and 'man vitrc'
cmd a STRING add a new task
cmd d mark the current task done (status:completed)
cmd e edit the current task details in vim
cmd f FILTER filter the current report with FILTER
cmd m STRING modify the current task (see: 'man task')
cmd n move to the next match when searching
cmd p <tab> set the current task's project using tab completion
cmd p STRING set the current task's project to STRING
cmd p STRING<tab> set the current project to STRING using tab completion
cmd q exit after y/n? confirmation
cmd s sync with taskserver (see: 'man task-sync')
cmd t prepend the command prompt with ":!rw task "
cmd u undo the last change
cmd A STRING add an annotation to the current task
cmd D delete task (if over first line) or delete annotation
cmd N move to the previous match when searching
cmd P [hmln] set the current task's priority to H, M, L, or none
cmd :q exit
cmd Q exit
cmd ZZ exit
cmd <enter> view the current task's info
cmd = view the current task's info
cmd /STRING search forwards for STRING
cmd ?STRING search backwards for STRING
cmd :![rw] STRING execute "STRING" in shell ('r' rereads, 'w' waits)
cmd :%s/OLD/NEW/ change OLD to NEW in the current task's description
cmd :s/OLD/NEW/ change OLD to NEW in the current task's description
rpt :<tab> display all defined reports using tab completion
rpt :REPORT display REPORT
rpt :REPORT FILTER display REPORT with FILTER
rpt :STRING<tab> display REPORT using tab completion
nav :N move to task number N
nav gg move to the first line
nav 0 move to the first line
nav G move to the last line
nav H move to the first line on screen
nav L move to the last line on screen
nav M move to the middle line on screen
nav Spacebar move down one line
nav DownArrow move down one line
nav j move down one line
nav UpArrow move up one line
nav k move up one line
nav PgDn scroll down (forward) one page
nav ^f scroll down (forward) one page
nav PgUp scroll up (back) one page
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment