Monday, March 18, 2013

Re: "Focus mode" plugin that only shows one function in a buffer?

I think Christian Brabandt's Narrow Region might be what you are looking for?

https://github.com/chrisbra/NrrwRgn


On Mon, Mar 18, 2013 at 6:04 AM, Hwee-Boon Yar <hweeboon@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+unsubscribe@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.
 
 

No comments: