Thank you all very much for the suggestions. They all work great.
--~--~-~--~~~---~--~~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~--~~~~--~~--~--~---
On Wed, Jul 29, 2009 at 3:20 AM, Maxim Kim wrote:
>
>
> On 29 июл, 09:02, Daniel Tripp wrote:
>> Hello all. I have a situation that I can't figure out.
>>
>> Say that I have set a variable like this:
>>
>> :let desiredcolumn=42
>> ...
>> But instead of a constant like 42, I want to take the value
On Wed, Jul 29, 2009 at 10:19 AM, Efraim Yawitz wrote:
>
>
>>
> how about
>
> :map :exec 'norm ' . desiredcolumn . ''
>
> Correction: This should be
:map :exec 'norm ' . desiredcolumn . '\|'
--~--~-~--~~~---~--~~
You received this message from the "vim_use" mai
On 29 июл, 09:02, Daniel Tripp
wrote:
> Hello all. I have a situation that I can't figure out.
>
> Say that I have set a variable like this:
>
> :let desiredcolumn=42
> ...
> But instead of a constant like 42, I want to take the value from my
> 'desiredcolumn' variable. Something like this:
>
On Wed, Jul 29, 2009 at 9:47 AM, S. Cowles wrote:
>
> On Wed, 29 Jul 2009, Daniel Tripp wrote:
>
> > From: Daniel Tripp
> >
> > Say that I have set a variable like this:
> > :let desiredcolumn=42
> > And now I want to define a mapping that will go to that column on the
> current
> > line, using
On Wed, 29 Jul 2009, Daniel Tripp wrote:
> From: Daniel Tripp
>
> Say that I have set a variable like this:
> :let desiredcolumn=42
> And now I want to define a mapping that will go to that column on the current
> line, using the command. My problem is that I can't figure out how to
> substitu
Hello all. I have a situation that I can't figure out.
Say that I have set a variable like this:
:let desiredcolumn=42
And now I want to define a mapping that will go to that column on the current
line, using the command. My problem is that I can't figure out how to
substitute the variable