Git Product home page Git Product logo

byte-of-vim's Introduction

A Byte of Vim

"A Byte of Vim" is a book which aims to help you to learn how to use the Vim editor (version 7), even if all you know is how to use the computer keyboard.

The first part of this book is meant for new users who want to understand what Vim is and learn how to use it.

The second part of this book is for people who already know how to use Vim and want to learn about features that make Vim so powerful, such as windows and tabs, personal information management, making it a programmer's editor, how to extend Vim with your own plugins, and more.

Status: Incomplete

Please note that the conversion of the book to this Markdown sources is incomplete!

The original PDF is at https://vim.swaroopch.com/byte-of-vim.pdf - unfortunately the original sources are lost.

I welcome your contributions to complete the porting of text from the original PDF to this new book's sources at https://github.com/swaroopch/byte-of-vim .

Who reads A Byte of Vim? {#who-reads}

Thanks to A Byte of Vim, I have learnt how to use vim. Thank you very much for this excellent book! ;) -- Camille L (France)

Well done!!! I've been only using vim for like 2/3 weeks now, and thus I can say that it's just perfect for beginners like me!!! -- Jay

The book is very good and fun to read too. Thank you for sharing it. -- Yosi Izaq

Your books should sell like hot cakes for their way of presentation. -- Deepak

Awesome! Thank you for all of your hard work. It is especially nice that the beginning starts the reader off gradually. After using vim for a couple of years I've forgotten how weird it seems at first, so I probably wouldn't explain it that good to someone. I will be sure to share your book to spread the vim propaganda. ;-) -- Joseph Sullivan

What I am trying to say is if you have basic computer competency you should immediately get Vim on your machine and improve your life. The best place to learn about is to read Swaroop C H's awesome eBook A Byte of Vim, it will revolutionize how you think about text editors in the future. -- "wooden nickels"

Have been thumbing through 'byte of vim'. learning a ton even having used vim for years. -- Josh Nichols

Great Book !! Although I use vim everyday as an editor as well as an ide, the book makes u realise how much more it can do. -- Raseel Bhagat

Wonderful! This was one most-required-book. I was a vim user for the past years, but never have seen these much of facilities inside that! Thanks for the Book, Swaroop! -- Hiran Venugopalan

What a nice book. I'm a long-time vim user, but never managed to get my head around vim scripting (apart from fixing some bugs in others' scripts). This is the best introduction to Vim scripting (writing plugins, syntax files, ...) I have seen so far. Thanks for putting it online! -- Anonymous (132.230.122.35)

Thank you Swaroop! I've begun reading it and must say it's very well written. And I have no doubts this great community of us vim users here will improve it through fixes, additions or small corrections. -- Eduard Fabra

I'd recommend A Byte of Vim as a good intro for new and experienced users alike. -- James Kovacs, Germany

Este libro me ayudó muchísimo a sacarle provecho a vim (This book helped me a lot to take advantage of vim) -- Antonio Touriño, Panamá

I have used vi for quite a while and am pretty comfortable with it. But all I do in vi is first get into insert mode and edit the file as if I am using notepad. I started searching for tutorials on vi and found one that is so simple yet so amazing. I thank Swaroop CH, yes the same guy who wrote the book A Byte of Python, for another amazing book A Byte of Vim. It was so amazing and I started using vi like a novice vimmer. -- Nishanth

A Byte of Vim saved my day once again... -- @reku

Also:

License

This book is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

This means:

  • You are free to Share i.e. to copy, distribute and transmit this book
  • You are free to Remix i.e. to make changes to this book (especially translations)
  • You are free to use it for commercial purposes

Please note:

  • Please do not sell electronic or printed copies of the book unless you have clearly and prominently mentioned in the description that these copies are not from the original author of this book.
  • Attribution must be shown in the introductory description and front page of the document by linking back to {{ book.officialUrl }} and clearly indicating that the original text can be fetched from this location.
  • All the code/scripts provided in this book is licensed under the 3-clause BSD License unless otherwise noted.

Read Now

You can read it online at {{ book.officialUrl }}

Buy The Book

A printed hardcopy of the book can be purchased at {{ book.buyBookUrl }} for your offline reading pleasure, and to support the continued development and improvement of this book.

Download

Visit {{ book.downloadUrl }} for the following types of downloads:

Visit {{ book.sourceUrl }} for the raw content (for suggesting corrections, changes, translating, etc.)

Read the book in your native language

If you are interested in reading or contributing translations of this book to other human languages, please see "Translations" chapter.

byte-of-vim's People

Contributors

mdebusk avatar swaroopch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

byte-of-vim's Issues

The macro in the "Scripting" chapter doesn't apply to all lines

I started reading the "Scripting" chapter of your nice book, and arrived at the Macro section. I tried out the macro proposed there across all lines and found out that it doesn't work in one of them. In particular, it doesn't work on the abul fazl is the historian line, because in step 4 of the macro when moving by one word, in most other lines the cursor would now be on the word is, but on this line it is on fazl instead, which means the macro for this particular line results in something like Abul was a the historian in Akbar's court., not at all what should have happened. And because this section is meant to showcase the power of macros, having the macro fail like that could confuse newcomers to Vim, leading them to think they did something wrong.
The most obvious solution for this would probably be to remove the abul fazl line altogether, since the other 3 lines are proof enough that the macro works well on a predictable context.
Thanks in advance for understanding.

P.S. Another step you could add to ensure the reproduction of the macro doesn't fail under different circumstances could be to add 0 at the beginning of the macro to ensure that the cursor is at the beginning of the line, because moving downwards lines by j often puts the cursor elsewhere than on the first character of the line, and when the macro is triggered from anywhere but the beginning of the line it obviously doesn't result in the desired outcome.

create a list of things to work on

I'd be happy to do some small chunks of work on this - but it isn't clear what I can do to help.
If there were a list of issues, like "port chapter X to markdown" or "extract images from chapter y", I think these are things that people could help out with a little bit at a time. As is, I'm not sure how to assist. I got here by seeing the note welcoming contributions.

Even a section of the doc listing that incomplete parts would be helpful as we could submit pull requests with a part completed and that section removed from the list...

Error in Introduction

Introduction.md line 28.
In table comparing Vim with other editor:
There is: How to find and replace only in lines 50-100? Run :50,10s/old/new/g
Supposed to be: How to find and replace only in lines 50-100? Run :50,100s/old/new/g

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.