Thanks Ethan, that does sound like what I want. I'll dabble with it and see if I can make it more seamless for my purpose.
—
Hwee-Boon
On Monday, March 18, 2013 8:13:31 PM UTC+8, Ethan Hereth wrote:
> I think Christian Brabandt's Narrow Region might be what you are looking for?
>
> https://github.com/chrisbra/NrrwRgn
>
>
>
>
> http://www.vim.org/scripts/script.php?script_id=3075
>
>
>
>
> On Mon, Mar 18, 2013 at 6:04 AM, Hwee-Boon Yar <hwee...@gmail.com> wrote:
>
>
> Is there a plugin or way for me to just display and edit a single function in a buffer? I'm been using MacVim for a few years now and have been mostly working with ObjC, Python and Ruby which all has the concept of a function. Lately I've been yearning for a way (from my Smalltalk roots[1]) to just view and edit just a single function in a buffer, a sort of reverse-folding.
>
>
>
>
>
> Is there a way to achieve this? Thanks
>
>
>
> [1] For those familiar with Smalltalk, when you click on a method in a Smalltalk browser, the code panel only shows the source of that particular method.
>
>
>
>
>
> —
>
> Hwee-Boon
>
> http://hboon.com
>
>
>
> --
>
> --
>
> You received this message from the "vim_use" 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_use" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+u...@googlegroups.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.
--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Tuesday, March 19, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment