Hacker News new | past | comments | ask | show | jobs | submit login

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.




Iā€™d love to hear more about this - is it a gdb integration?


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: