-
Notifications
You must be signed in to change notification settings - Fork 34
Tips and Tricks
Samuel Walladge edited this page Oct 12, 2017
·
10 revisions
- install mdv
- make a wrapper
/usr/local/sbin/mdless
#!/bin/zsh # https://superuser.com/questions/1059781/what-exactly-is-in-bash-and-in-zsh /usr/bin/less -R -c =(mdv "$1") # /usr/bin/less -R -c =(mdv -A "$1") # light background (not yet supported)
- set it in
~/.snclirc
cfg_pager = /usr/local/sbin/mdless
(Thanks to @s5unty)
I personally store a lot of my notes in Votl/VimOutliner format. Specific to Vim, I put a modeline at the end of these notes (note that Emacs also supports modelines):
; vim:ft=votl
Now when I edit this note Vim will automatically load the votl plugin. Lots of possibilities here...
(Thanks to @insanum)
- install urlview or urlscan
- pipe the note to urlview/urlscan:
|urlview
- select and open a link!