[man] add edit parameter - notes - a console notes manager using git DIR Log DIR Files DIR Refs DIR Tags DIR LICENSE --- DIR commit e0adbfe420ce5855d447bdf2b80d5a7ad9676c95 DIR parent b048880ad42ba99c6e5cba227505724d3b501ad2 HTML Author: Solene Rapenne <solene@perso.pw> Date: Sat, 14 Jul 2018 11:25:20 +0200 [man] add edit parameter Diffstat: M notes.1 | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) --- DIR diff --git a/notes.1 b/notes.1 @@ -39,7 +39,7 @@ to display commit history. display files and their last commit time ordered by time. This is useful to find which files have been modified lastly. -.It Nm Cm Pa file +.It Nm Oo edit Oc file execute $EDITOR on .Ar file and then call @@ -49,8 +49,8 @@ to commit the changes on this file. The commit message is always If $EDITOR is not sets, .Nm -will try to find the first editor available using -.Xr which 1 +will try to find the first editor available using the command +.Xr type in the following order: .Xr nvim 1 , @@ -59,6 +59,11 @@ in the following order: .Xr emacs 1 and will default to .Xr vi 1 if none of the previous is found. + +The edit parameter can be used if you need to edit a file which name correspond to a +.Nm +single argument command like in +.Ql notes edit last .It Nm Cm init Initialise the git repository using the command .Ql git --init @@ -95,3 +100,5 @@ The .Nm program was written by .An Solène Rapenne Aq Mt solene@perso.pw +and +.An Quentin Rameau