|
@@ -258,18 +258,6 @@ fixnl() {
|
258
|
258
|
rm "$cache"
|
259
|
259
|
}
|
260
|
260
|
|
261
|
|
-mdvimb() {
|
262
|
|
- #
|
263
|
|
- # Open Markdown file in Vimb (no junk)
|
264
|
|
- #
|
265
|
|
- local file=$1; shift
|
266
|
|
- case $file in
|
267
|
|
- "") Markdown | vimb - "$@" ;;
|
268
|
|
- -) Markdown | vimb - "$@" ;;
|
269
|
|
- *) Markdown < "$file" | vimb - "$@"
|
270
|
|
- esac
|
271
|
|
-}
|
272
|
|
-
|
273
|
261
|
nlfor() {
|
274
|
262
|
#
|
275
|
263
|
# Replace $1 (or blank space) with newlines and fix final newline
|
|
@@ -507,6 +495,8 @@ export LESS=' -R '
|
507
|
495
|
export PRETTY=color
|
508
|
496
|
export PRETTY_DEBUG_EXCLUDE=inigrep
|
509
|
497
|
|
|
498
|
+export MDVIMB__CONVERTER=commonmark
|
|
499
|
+
|
510
|
500
|
#shellcheck disable=SC2034
|
511
|
501
|
{
|
512
|
502
|
GIT_PS1_SHOWDIRTYSTATE=true
|