/*********************/
/* O r i g i n a l */
/*********************/
-E : regex search"
-F : fast search"
-r : reverse order (newer first)"
--all : search all notes"
--txt : search text notes only "
--log : search logs only "
--newer-than <days> : useful with --log; search only in files that were modifier in the last <days> days "
--recent : useful with --log; search only in files that were modified in the last 30 days"
--headings : search only in headings"
/*******************/
/* desired result */
/*******************/
-E : regex search"
-F : fast search"
-r : reverse order (newer first)"
--all : search all notes"
--txt : search text notes only "
--log : search logs only "
--newer-than <days> : useful with --log; search only in files that were modifier in the last <days> days "
--recent : useful with --log; search only in files that were modified in the last 30 days"
--headings : search only in headings"
/****************************************************************/
/* C-u M-x align-regexp RET \(-[^:]+\s-+:\) RET -1 RET 1 RET n */
/****************************************************************/
-E : regex search"
-F : fast search"
-r : reverse order (newer first)"
--all : search all notes"
--txt : search text notes only "
--log : search logs only "
--newer-than <days> : useful with --log; search only in files that were modifier in the last <days> days "
--recent : useful with --log; search only in files that were modified in the last 30 days"
--headings : search only in headings"
/****************************************************************/
/* C-u M-x align-regexp RET \(-[^:]+\s-+\): RET -1 RET 1 RET n */
/****************************************************************/
-E : regex search"
-F : fast search"
-r : reverse order (newer first)"
--all : search all notes"
--txt : search text notes only "
--log : search logs only "
--newer-than <days> : useful with --log; search only in files that were modifier in the last <days> days "
--recent : useful with --log; search only in files that were modified in the last 30 days"
--headings : search only in headings"
In the first attempt the colon : is inside the capturing group. All colons are aligned with the exception of the line with --recent
which has too much space before the colon (actually it's a tab)
I thought I'd rectify this in my second attempt by putting the colon inside the capturing group, but doing so I lost the alignment on :.
Ideas?