Script Roundup: Sharefix, GDBFromVim
Send in your Vim scripts for review through our contact form or @vimnews.
Sharefix
Sharefix (GitHub: samiconductor / vim-sharefix, License: MIT) by Sam Simmons makes it easier to work with multiple quickfix lists. If you’re running unit tests and getting a list of failing tests in your quickfix list, then it can be annoying when another command overwrites it. This plugin helps make quickfix commands work together.
Once installed, a Sharefix
function is exposed that can be used to wrap commands or functions that update the quickfix list. The author has included documentation and usage examples.
GDBFromVim
GDBFromVim (GitHub: skibyte / gdb-from-vim, License: GPL2) by Fernando Castillo provides gdb integration that automatically starts and manages a gdb instance. It requires Python and Gdb lib, and provides lots of commands for interacting with the debugger, like GdbFromVimRun
and GdbFromVimNext
.
The g:gdb_from_vim_app
variable controls which application will be debugged, and arguments can be passed with g:gdb_from_vim_args
.