Re: Vim support improved

2008-04-10 Thread Edward K. Ream
On Wed, Apr 9, 2008 at 6:04 PM, TL <[EMAIL PROTECTED]> wrote: Any questions? Where do I start :-) I use vim just enough to verify that the previous vim plugin worked, so your instructions are essentially incomprehensible to me. Please assume I know *nothing* about vim, how it works, its feature

Re: Vim support improved

2008-04-10 Thread TL
Also, use the following command if you want to always open gVim in tab mode: set showtabline=2 "Tabs will always be displayed. Note: (a non-Leo how-to) If tabs exist, it is easy to create an empty tag by double clicking to the right of the last tab. You can then drag a file into the tag's bod

Re: Vim support improved

2008-04-09 Thread TL
A Vim branch has been created with an updated vim.py and mod_tempfname.py files in the plugin directory. Currently, the code checks that Leo is running in a Windows environment. I encourage others to update mod_tempfname.py to support the conversion of node headline text to directory and path na

Re: Vim support improved

2008-04-09 Thread Edward K. Ream
On Tue, Apr 8, 2008 at 7:39 PM, John Griessen <[EMAIL PROTECTED]> wrote: > > vpe wrote: > Would it be possible to use gVim as a Leo GUI? > > That's what I think TL is saying here:, "sing the tab feature within Vim > results in each node, opened by Leo in Vim," I don't yet know what this means.

Re: Vim support improved

2008-04-09 Thread Edward K. Ream
On Tue, Apr 8, 2008 at 7:09 PM, vpe <[EMAIL PROTECTED]> wrote: > > TL <[EMAIL PROTECTED]> wrote: > > These changes have given me a very usable Vi capability that works > > well with Leo. As a result, it is not as important to me that Leo > > have a full featured Vi editor emulated. > > I am scept

Re: Vim support improved

2008-04-09 Thread Edward K. Ream
On Tue, Apr 8, 2008 at 5:26 PM, TL <[EMAIL PROTECTED]> wrote: > > Edward, I want to make you aware of some work that I have done to > improve (imo) the use of Vim with Leo. It may be of interest to you > as you consider the scope of your work on providing Vi support within > Leo. With some modif

Re: Vim support improved

2008-04-09 Thread bobjack
On Apr 8, 11:26 pm, TL <[EMAIL PROTECTED]> wrote: > With some modifications to the "Open With" plugin, I have > implemented support for the use of Vim's tabs and the automatic > placement of the Vim cursor on the same line as the Leo cursor wen the > file is first opened in Vim. Ok TL, give me

Re: Vim support improved

2008-04-09 Thread bobjack
On Apr 8, 11:26 pm, TL <[EMAIL PROTECTED]> wrote: > Edward, I want to make you aware of some work that I have done to > improve (imo) the use of Vim with Leo. [snip] I have > implemented support for the use of Vim's tabs and the automatic > placement of the Vim cursor on the same line as the Le

Re: Vim support improved

2008-04-08 Thread TL
The term "use gVim as a Leo GUI" implies that gVim emulates Leo's functionality. I did not implement this. I enhanced the existing "Open With" plugin such that a node sent from Leo to gVim opens a new tab instead of replacing the previously sent node. This allows multiple nodes to be sent over

Re: Vim support improved

2008-04-08 Thread John Griessen
vpe wrote: Would it be possible to use gVim as a Leo GUI? That's what I think TL is saying here:, "sing the tab feature within Vim results in each node, opened by Leo in Vim," John G --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: Vim support improved

2008-04-08 Thread vpe
TL <[EMAIL PROTECTED]> wrote: > These changes have given me a very usable Vi capability that works > well with Leo. As a result, it is not as important to me that Leo > have a full featured Vi editor emulated. I am sceptical about implementing Vim features in Leo--there are too many of them. Wou

Re: Vim support improved

2008-04-08 Thread John Griessen
TL wrote: > These changes have given me a very usable Vi capability that works > well with Leo. As a result, it is not as important to me that Leo > have a full featured Vi editor emulated. Now that 4.4.8 has been > released, do you have time to take a look at the changes and, perhaps, > mainli

Vim support improved

2008-04-08 Thread TL
Edward, I want to make you aware of some work that I have done to improve (imo) the use of Vim with Leo. It may be of interest to you as you consider the scope of your work on providing Vi support within Leo. With some modifications to the "Open With" plugin, I have implemented support for the u