top | item 26635670

(no title)

bcgraham | 4 years ago

Fzf can be a tremendous time-sink because its credible promise to improve your quality of life in the terminal.

One of my most-frequently-used pry customizations is a keybinding that opens the current backtrace in fzf, with the preview window showing the selected location, allowing me to quickly walk up or down the stack, with tons of context. `enter` takes me to that frame, and `ctrl-v` opens that file location in vim.

discuss

order

ghostpepper|4 years ago

I’d love to hear more about this - is it a gdb integration?

bcgraham|4 years ago

The vim integration piece uses the same concepts as the gdb integration. The rest uses some (very ugly) local scripts, cobbled together in 10-minute snatches of time over years. Hopefully, the functionality of the pieces not included here can be inferred from the names.

https://gist.github.com/bcgraham/f88e7e500e1b933bed1c7077f86...

I don't have the time now to clean it up, unfortunately. Before you judge too harshly, let him without sin cast the first stone.