new feature: fzf
authorIan Kelling <ian@iankelling.org>
Wed, 10 May 2023 14:15:17 +0000 (10:15 -0400)
committerIan Kelling <ian@iankelling.org>
Wed, 10 May 2023 14:15:17 +0000 (10:15 -0400)
brc
pkgs

diff --git a/brc b/brc
index 1539a767e0aaec91969f25b49234eb1dbc40b503..d17c1a132e70ee4b7bc0f3f01bc39210ccf7f6bb 100644 (file)
--- a/brc
+++ b/brc
@@ -279,6 +279,15 @@ mysrc() {
 mysrc /a/bin/small-misc-bash/ll-function
 mysrc /a/bin/distro-functions/src/package-manager-abstractions
 
+# things to remember:
+# ALT-C - cd into the selected directory
+# CTRL-T - Paste the selected file path into the command line
+#
+# good guide to some of its basic features is the readme file
+# https://github.com/junegunn/fzf
+if [[ -s /usr/share/doc/fzf/examples/key-bindings.bash ]]; then
+  source /usr/share/doc/fzf/examples/key-bindings.bash
+fi
 
 # * functions
 
diff --git a/pkgs b/pkgs
index a5e2bfd6bb633c185d1123fa36be8ac38a6a23f7..58aa7e43d5c1a7758b6e449ff473d5507d09b800 100644 (file)
--- a/pkgs
+++ b/pkgs
@@ -127,6 +127,7 @@ p3=(
   fonts-roboto
   fonts-thai-tlwg
   fonts-thai-tlwg-otf
+  fzf
   xfonts-intl-asian
   fonts-sil-lateef
   gajim