Hey Devs, Attached is a short script with two mappings that I find really useful for working on Vim's internals. I thought I'd share because they may help someone.
It provides two mappings:
g{ print current function name that the cursor is in
g} open preview window on function that the cursor is in (uses :ptag)
The functions in the Vim code base can be quite long... this helps you quickly
jump back and review the signature, function declarations, header comments,
etc. of the function you're working on currently.
They are generically useful for working on any C code where the functions are
too long to fit on one screen.
Let me know if you think its useful.
Thanks,
Jason Franklin
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
c_funcs.vim
Description: Binary data
