batLast month, I talked about how to add tab completion to a CLI program, using fzf. Next we talked about a more generic solution which adds a preview window to a file search.
Today we will look at how to combine the knowledge from these two posts. What we want to do is have our custom completion for the prove CLI, but with a preview window. The solution looks like this: Read More...A few days ago, I talked about how to add tab completion to a CLI program, using fzf.
As usual, there’s more than one way to do it (TIMTOWDI) and I’d like to look at another approach which also uses fzf.
One of the neat things about fzf is that it can provide you with configurable preview window. The following snippet will require fzf and bat, which is another handy tool which I encourage you to explore. Read More...