Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm trying to write a collection of stories in vi so that at the same time as I'm writing, I can also learn vi. I realize that vi isn't really meant for this sort of thing.
Although, if a sentence runs over onto the next line, vi looks at this as a single line. So if I move up and down in the document, I move from one paragraph to the next instead of what is visually the next line up on the screen. Is there a way around this?
Also, if the answer is to just put in a hard return near the end of each line on the screen, is there an easy way to take out all those hard returns when I'm satisfied that I know vi and move the document into an actual word processor?
I've never found an easy way to move line to line in that way. In vim 7.0, ctrl+left/right arrow will move the cursor one word either way. You can also use escape and use the "(" and ")" to move from sentence to sentence, then resume editing. That is actually the best way to use a modal text editor.
There are many ways to join lines after you have split them. The "J" command is used to join lines. However I rarely do this. I usually keep my lines pretty formatted using the external formatter: "!}fmt" from inside a paragraph will clean it up.
I use txt2tags for markup, the broken lines are joined together in it's processor. Paragraphs are always separated by at least one blank line.
I use text files for almost everything and Vim is my editor, I don't think I'd ever want to use anything else for any kind of writing.
Vi is a daunting editor to learn, but it is well worth the effort.
You can use the w command to move forward one word and the b command to move back one word. You can also use the $ command to move you to the end of the line and 0 to move you to the beginning of a line.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.