Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Vim: The Basics
Vim: The Basics
Vim: The Basics
Ebook105 pages1 hour

Vim: The Basics

Rating: 1 out of 5 stars

1/5

()

Read preview

About this ebook

Table of Contents
This is my first book on VIM. I have just over three year of experience with VIM. I believe that I have enough experience to give a good introduction to the software, while being close enough to the beginner to be able to express the ideas in a way that makes sense.

I have not included exercises for you to do. I leave it to your discretion to decide when you want to practice.

Table of Contents
Chapter 2 Introduction
PART 1 BASICS
Chapter 3 Installing Vim
Chapter 4 Opening, Saving & Closing Files
Chapter 5 Basic Motions
Chapter 6 Basic Editing
Chapter 7 Help Files
PART 2 FURTHER SKILLS
Chapter 8 Advanced Motions
Chapter 9 Advanced Editing
Chapter 10 Additional Read / Write Options
Chapter 11 Windows Manipulation
PART 3 CUSTOMISING VIM
Chapter 12 Command Line Mode & vimrc
Chapter 13 Colorscheme
PART 4 USING VIM
Chapter 14 Plain Text
Chapter 15 LaTeX
Chapter 16 C#
Chapter 17 Conclusion
APPENDIX A: AN INTRODUCTION TO REGULAR EXPRESSIONS
APPENDIX B: THE VIM CHEAT SHEETS
APPENDIX C: THE ESSENTIALS

LanguageEnglish
Release dateJan 20, 2013
ISBN9781301638284
Vim: The Basics
Author

Andrew Stanton

A new author from Basingstoke. Interested in technology and computing, particularly opensource and Linux. I hope that my book will help people to discover the potential of these software options. Linux can be complicated to start with but once you start to understand it, you have access to a system with immense potential.

Related to Vim

Related ebooks

Computers For You

View More

Related articles

Reviews for Vim

Rating: 1 out of 5 stars
1/5

1 rating0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Vim - Andrew Stanton

    Vim: The Basics

    Published by Andrew Stanton at Smashwords

    Copyright 2013 Andrew Stanton

    Smashwords Edition License Notes

    This eBook is licensed for your personal enjoyment only. This eBook may not be re-sold or given away to other people. If you would like to share this book with another person, please purchase an additional copy for each recipient. If you’re reading this book and did not purchase it, or it was not purchased for your use only, then please return to Smashwords.com and purchase your own copy. Thank you for respecting the hard work of this author.

    Table of Contents

    Chapter 2 Introduction

    Part 1 Basics

    Chapter 3 Installing Vim

    Chapter 4 Opening, Saving & Closing Files

    Chapter 5 Basic Motions

    Chapter 6 Basic Editing

    Chapter 7 Help Files

    Part 2 Further Skills

    Chapter 8 Advanced Motions

    Chapter 9 Advanced Editing

    Chapter 10 Additional Read / Write Options

    Chapter 11 Windows Manipulation

    Part 3 Customising Vim

    Chapter 12 Command Line Mode & vimrc

    Chapter 13 Colorscheme

    Part 4 Using Vim

    Chapter 14 Plain Text

    Chapter 15 LaTeX

    Chapter 16 C#

    Chapter 17 Conclusion

    Appendix A: An Introduction to Regular Expressions

    Appendix B: The Vim Cheat Sheets

    Appendix C: The Essentials

    Chapter 1 Acknowledgements

    I wish to thank all my β readers for their feedback, suggestions and encouragement. Without them this eBook would not be at the same standard that it is now.

    My β readers are: Marie Shaw, Martin Robson, James Stanton and Luke.

    Title Image sourced from vimcn.blogspot.com.

    Chapter 2 Introduction

    This is a book about the Vim text editor; it is aimed at those who are new to Vim. However, people who have already had some experience with Vim may benefit from some new tips or a different perspective on the skills you already have.

    This book is divided into two main sections. The first section is a set of the most basic commands, a Vim survival kit if you will. While these commands will give you some measure of ability with Vim, I highly recommend that you read the advanced section as well.

    The second section will provide you with extra knowledge to improve your skills and abilities with Vim.

    There are also three appendices. The first is an introduction to Regular Expressions (an advanced search language); the second is a compilation of cheat-sheets which list most of the commands covered in the rest of the book. The final appendix is the essentials; this is for those who have to jump straight in. This walks you through the fundamentals of opening, editing, saving and closing a file.

    The History of Vim

    Vim, written by Bram Moolenaar, was released in 1991. It is based on Vi and has evolved from previous text editors, the earliest of which was ex (Bill Joy, 1976). Vim is an acronym for Vi IMproved; however until December 1993 and the release of version 2.0, the acronym stood for the more deferential Vi IMitation. The name was changed because Vim’s feature set had become larger than Vi.1

    New features included: Multi-level undo; Support for multiple windows and buffers (V3.0, 1994); Syntax highlighting (V5.0, 1998) and Text Folding (V6.0, 2001).

    Terms used here will be explained later in this book.

    The latest stable release is version 7.3.353 released 26/10/2011; there is preview version (7.3.582 released June 2012) under development.

    Why people should use Vim?

    Vim is definitely my favourite text editor; it is just so useful and versatile.

    I would personally recommend that anyone who is regularly involved with the creation and editing of any type of plain text filetype should try to learn Vim.

    While some of Vim's functionality is solely applicable to programmers, there is much in Vim's repertoire that both fiction and non-fiction writers may find extremely helpful.

    I have used Vim when working with:

    •C#

    •Python

    •Pascal

    •HTML

    •CSS

    •Plain Text

    •CSV

    •LaTeX

    •Assembly Language

    High Level Programming, Scripting, Mark up and Plain Text. Vim has something to

    Enjoying the preview?
    Page 1 of 1