Tags: neersighted/fzf.fish
Tags
Put function arguments first before description Arguments are more important and thus is makes sense to put them first so the person reading the code can get to them sooner. FWIW I took a survey of several repos and all but one of them (of the ones that used both -a and -d flags) put the description last. Resolves #38
Preview the current commit when searching git log (PatrickF1#26) When searching git log, preview the commit for the current line with git show. Output is colorized. Also, since the preview pane eats up a lot of space, trimmed git log lines by using a shorter date format and removing a space used for padding.
Search and select changed paths from git status (PatrickF1#25) Use fzf to search and select changed paths from git status, bound to Ctrl+Alt+s. Take advantage of fzf's mutl-select feature, which works with tab/shift-tab.
Preview files with ls and bat (PatrickF1#18) If the file is a directory, ls it. If the file is a regular file, bat it. Otherwise, explain that such files cannot be previewed.
Add Alt as modifier key to git log search key binding (PatrickF1#17) After much feedback around git log search's Ctrl+l key binding conflicting with clear screen, I have decided to change its key binding to Ctrl+Alt+l. An alternative option I considered was just Alt+l, which is shorter but I realized conflicts with __fish_list_current_token, which is actually quite useful and I plan on using it now that I've discovered it. One huge problem with this change is that it is backwards incompatible and fisher has not provided me with a way to announce to users of fzf.fish that the key binding has changed. I had considered using a hack of checking if an arbitrary file existed, printing an error message if it doesn't and then creating that file, but it adds a lot of difficult-to-maintain code and slows down the shell startup. Hopefully, people who discover that Ctrl+l no longer works will come to this repo and see this commit. I will also create a new release announcing this change. I am sorry for any confusion caused by this.
Set keybindings for insert mode (PatrickF1#14) The default keybindings were only being set up for default mode. Now, also set up the default keybindings for insert mode if the user is using fish_vi_key_bindings. Resolves issue PatrickF1#13.
PreviousNext