Re: Awareness of python import semantics for "[i", etc.?

2006-07-20 Thread John Reese
On 7/19/06, Gary Johnson <[EMAIL PROTECTED]> wrote: On 2006-07-19, John Reese <[EMAIL PROTECTED]> wrote: > i.e.: > from myproject.something.blar.blag import Bok > if you put the cursor over Bok and hit gf, no dice. I wouldn't expect that to work because Bok is not a

Re: Awareness of python import semantics for "[i", etc.?

2006-07-19 Thread John Reese
On 7/13/06, Gary Johnson <[EMAIL PROTECTED]> wrote: A lot of this is already incorporated into the $VIMRUNTIME/ftplugin/python.vim plugin. For example, gf works fine with Python import statements. Actually, that's my point. gf does _not_ work for Python imports that have a from clause. The p

Awareness of python import semantics for "[i", etc.?

2006-07-12 Thread John Reese
So there's this handy "[i" command that, when filetype=c, displays the first line mentioning the identifier under the cursor, which will often be its definition. The especially handy thing about it is that it knows about #include lines and will search through them as well when looking for the fir

Re: Access to undo/redo stack

2006-07-11 Thread John Reese
On 7/10/06, Yakov Lerner <[EMAIL PROTECTED]> wrote: On 7/11/06, John Reese <[EMAIL PROTECTED]> wrote: > So it seems to me that it would be interesting, sometimes, to be able > to type some colon-mode command and see the whole stack of undo and > redo commands and your

Access to undo/redo stack

2006-07-10 Thread John Reese
So it seems to me that it would be interesting, sometimes, to be able to type some colon-mode command and see the whole stack of undo and redo commands and your current position. I mean, most commands can be represented fairly readably... you might imagine using comments for things that aren't re