WRITELOOP

VIM SETUP FOR NOTE TAKING

2021 January 14
  • He uses org-mode to keep organized, with a plugin called vim-dotoo

  • He uses bash aliases to create notes

  • Interesting aliases:

alias note="${EDITOR} -c 'call CreateCapture(\"e\")'"
  • Interesting bash functions:
fn() { ${EDITOR:-vim} $(rg -n '.*' "$HOME/Documents/org/" | fzf --layout=reverse --height 50% --ansi | sed -E 's/(.*):([0-9]+):.*/\1 +\2/g'); }

fr() { ${EDITOR:-vim} $(rg -n '.*' "$HOME/.config/remind/" | fzf --layout=reverse --height 50% --ansi | sed -E 's/(.*):([0-9]+):.*/\1 +\2/g'); }
NOTE: The original content(s) that inspired this one can be found at:
https://www.youtube.com/watch?v=Gh9kjvRGC7s&feature=youtu.be
https://github.com/dhruvasagar/vim-dotoo
https://github.com/Gavinok/scripts/blob/master/functions
All copyright and intellectual property of each one belongs to its' original author.