commit 1ee18b8887425b5b36bd7ddb9d8498cab0099a0c parent 056fa0d7177afdc11b5fdd216854951a98cb045c Author: William Casarin <jb55@jb55.com> Date: Sat, 19 Sep 2020 11:33:58 -0700 fzf: add fct ctags jumper Diffstat:
M | dotfiles/.fzf_helpers | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/dotfiles/.fzf_helpers b/dotfiles/.fzf_helpers @@ -40,6 +40,11 @@ ftd() { cd "$res" } +# ctags less jumper +fct() { + <tags sed -En '/^!/d;s,^([^\t]+).*,\1,p' | fzf | xargs -I{} less -t{} +} + ft() { local res=$(findlt ${1:-1} f) <<<$res xclip