Added a command-line option to define the editor command.

This commit is contained in:
Andrew Hamilton 2016-02-02 20:33:19 +00:00
parent cee53ed9d6
commit 431d4cf976
2 changed files with 32 additions and 22 deletions

View file

@ -20,10 +20,12 @@
│ # vigil my_project │
│ │
│Options: │
│ -h --help Show this screen and exit. │
│ -n --no-sandbox Don't prevent changes to the filesystem. │
│ -w COUNT --workers=COUNT The number of processes working in parallel. │
│ By default it is twice the number of cpus. │
│ -h --help Show this screen and exit. │
│ -n --no-sandbox Don't prevent changes to the filesystem. │
│ -w COUNT --workers=COUNT The number of processes working in parallel. │
│ By default it is twice the number of cpus. │
│ -e "COMMAND" --editor="COMMAND" The command used to start the editor, in │
│ the edit command. It may contain options. │
│ │
│Keys: │
│ h - Show the help screen. (toggle) │
@ -33,7 +35,7 @@
│ Scroll the result pane. │
│ t - Turn the result pane to portrait or landscape orientation. (toggle) │
│ l - Show the activity log. (toggle) │
│ e - Edit the current file in emacs. (Uses emacsclient) │
│ e - Edit the current file with a seperate editor. (-e or $EDITOR or $VISUAL) │
│ n - Move to the next issue. │
│ N - Move to the next issue of the current tool. │
│ p - Pause workers. (toggle) │
@ -55,6 +57,4 @@
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘