Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Vim Help Needed, help on how to use vim
redhat_adi
post Apr 11 2004, 02:12 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 11-April 04
Member No.: 2,758



hi i'm linux newb, i wanted to know how to edit XF86Config file using vim in shell prompt, also how should i save the file after i finish editing it. thanks in advance.
Go to the top of the page
 
+Quote Post
willemvl
post Apr 11 2004, 06:43 AM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 3-April 04
Member No.: 2,701



To open vi first open your terminal and type "vi {path of your file}"
if you don't now where youre file is just press search for files in the main menu.
when you open vi just press i for insert mode (youll see it on the bottom) and when youre done editing just press esc (now you are in command mode) then press :w to save and :q to quit (if you want to quit without saving press :q!)
I hope that this will do it

willem biggrin.gif
Go to the top of the page
 
+Quote Post
hughesjr
post Apr 11 2004, 07:08 PM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



Here is a pretty good vi guide published at the Gentoo website.

Here are a couple more good vi links:

The Vi Lovers Home Page
An Introduction to Display Editing with Vi
Vimdoc
Mastering the VI editor
vi (and clone) docs
VI Helpfile <---Excellent Reference Manual, not much help
Using vi, the Unix Visual Editor
First Steps: vi <---Good to start out with .. has examples!

That should be enough for now..... biggrin.gif


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2017 - 04:46 AM