[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] Flere filer åben på samme tid?



On Mon, 24 Dec 2001 12:57:07 +0100,
Thomas Damgaard <sslug@sslug> wrote:

> Hej gruppe,

Hejsa.
 
> Jeg bruger vim. Der er noget der i et stykke tid har generet mig.
> Det er at hver gang jeg skal redigere en ny fil i vim, så går jeg ud af vim.
> Skriver vim <filnavn> og så åbner den. Osv. hver gang jeg skal skifte fil.
> Findes der ikke en måde at have flere filer åbne på samme tid i vim? 

:e filnavn<enter>

>Sådan
> at man på en eller anden måde kan skifte mellem dem man redigerer i? -Uden
> at lukke vim?

Man kan skifte mellem to filer med ctrl-^, og til næste buffer med
:bn<enter>,
og til en bestemt buffer med :b filnavn<enter>

-- 
Like a rat in a maze          Anders Bo Rasmussen    mailto:sslug@sslug
The path before me lies       Frimestervej 42 1.tv   http://www.fuzz.dk
And the pattern never alters  2400 Kbh. NV
Until the rat dies.


 
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] *