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