Results 1 to 3 of 3
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. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-11-2004 #1Just Joined!
- Join Date
- Apr 2004
- Location
- Mumbai
- Posts
- 3
help on how to use vim needed?
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.
- 04-11-2004 #2Linux Engineer
- Join Date
- Jul 2003
- Location
- Farnborough, UK
- Posts
- 1,305
http://www.slackware.org/book/index....rce=x3829.html
Courtesy of those nice Slackware people
- 04-14-2004 #3Just Joined!
- Join Date
- Apr 2004
- Posts
- 6
my basic survival guide
Or how to use it without a manual.
move your cursor with the arrow keys to the line you want to edit or add.
1) press "i" to insert something. Then type.
2) When you are done typing press "Escape"
3)To save after pressing escape type :wq.
If that didnt work type ":w!" and then ":q"
If that didnt work, su to root.
4) If you screwed it all up, type "escape", then ":!q", and try again.
"dd" deletes a whole line
"x" deletes a character to the right of the cursor.(if you pressed escape, or before you pressed "i")


Reply With Quote
