add nvim specific stuff to edit_post() i like goyo and it's perfect to write such thing as post to gemlog.
la-ninpre leobrekalini@gmail.com
Thu, 03 Jun 2021 00:09:56 +0300
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
gemlog-new
→
gemlog-new
@@ -69,7 +69,7 @@ -e "s/{{ gemlikes }}/${_new_post_gemlikes#/}/" < "$_new_post_filename" \
> "$_new_post_filename.tmp" mv "$_new_post_filename.tmp" "$_new_post_filename" - $EDITOR "$_new_post_filename" + nvim -c ":Go" -c "normal 6j" -c "startinsert" "$_new_post_filename" } main() {