[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [VI] Emacs feature i vim.



Anders Bo Rasmussen wrote:

On Wed, 13 Feb 2002 23:34:05 +0100,
Morten Egelund Rasmussen <sslug@sslug> wrote:

Men hvad nu hvis man nu engang kun vil have tabstop på 2 whitespaces
(fordi man måske har fem dusin tuborg-paranteser inden i himanden)?
(gnæk!)

:set ts=2 løser åbenbart ikke problemet....


Fra min .vimrc (jeg indenter med 4):


set tabstop=8
set shiftwidth=4
set softtabstop=4


Egentlig ville jeg godt have det sådant at det for mig så ud som om at tabsne kun var 4, men filen bliver skrevet/læst som om tabs er 8.

Prøv at tilføje:

set cino=>1s

Så bliver der indendet med værdien i 'shiftwidth'.
Prøv også ":help cinoptions-values" for mere information. Man kan nogle tricks med indention.


Robert

--
"I could use a heart. A human heart.
I need to pump a lot of blood out of my basement"
                                         - Bender





 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 18:44 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *