Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.7 KB

Terminal-Skim-Recoll.md

File metadata and controls

43 lines (31 loc) · 1.7 KB

Use Recoll to search

An easy way to search for notes with Recoll

Requirements

  • Skim
    • I use this instead of fzf because it has an interactive mode, although I have been unable to get that to work though.
  • MDCat
    • I use this instead of glow, highlight or bcat, because it looks better and because it supports images (although the images don't work through skim)
  • Kitty (Recommended)
    • Makes the markdown preview the best, if on Mac, iTerm2 is another option.
      • I'm not sure if Alacritty would work well with MDCat?

Installation

mkdir -p ~/DotFiles/Note-Taking-Tools

git clone https://github.com/RyanGreenup/Note-Taking-Tools ~/DotFiles/Note-Taking-Tools
cd ~/DotFiles/Note-Taking-Tools
stow -t $HOME -S -Taking-Tools/Terminal-Skim-Recoll

Usage

This will work in the terminal and or in VSCode, I'm a big Vim/Emacs fan but I do find this most convenient to use in VSCode

  1. Create a Recoll Database of just your notes
  2. Open your notes folder in VSCode
  3. Press Ctrl+` to open the termina
  4. Type ns.sh and press Enter
  5. Provide a search Query and press Enter
  6. filter through the matches by typing and scroll the right-side preview with Page Up / Page Down

RipGrep

Alternatively it is possible to use ripgrep instead of recoll by running nr.sh in the directory of markdown files you want to search, I just copy pasted that from here basically.

Screenshot

This is what it looks like to use:

image-20200616135734272