[NCLUG] Looking at programming languages...

Quent Johnson quent at pobox.com
Mon Jan 21 13:51:04 MST 2008


I think this person would enjoy all the talk about tabs and spaces :-)

http://www.craigslist.org/about/best/nyc/485967082.html

Quent

Chad Perrin wrote:
> On Sun, Jan 20, 2008 at 08:30:52PM -0700, Sean Reifschneider wrote:
>> You would probably have to code this yourself in either vimscript or one of
>> the plugin languages, so that opening a new line (either with "o" or ENTER
>> at the end of an existing line) would literally copy the existing line.  I
>> would expect that would be possible, I've definitely abused vim in ways
>> that are well beyond just simple macros.
>>
>> So, if it's important to you, you might be able to do that.  Maybe the
>> easiest would be to have a macro that runs that just sets expandtab based
>> on whether the current line has tabs in the beginning or not.
> 
> More work than I'd hoped, though I may have to do just that.
> 
> It seems ludicrous that this sort of behavior isn't already available.
> It strikes me as the logical way to handle things -- more so than any of
> the options that are currently available.  Why must Vim assume that you
> don't know what you want, and change things -- either changing tabs you
> entered into spaces or changing spaces into tabs?
> 
> Am I the only person who thinks this doesn't make much sense?
> 




More information about the NCLUG mailing list