# HG changeset patch # User Steve Losh # Date 1350431553 14400 # Node ID b4de6c0314736b7cccf47b25fea7f41b6a9f45ef # Parent ffdf05081a2eaedfefc6b69566be66cd2835f287 More. diff -r ffdf05081a2e -r b4de6c031473 introduction.markdown --- a/introduction.markdown Tue Oct 16 19:51:19 2012 -0400 +++ b/introduction.markdown Tue Oct 16 19:52:33 2012 -0400 @@ -4,7 +4,7 @@ Before reading this book you should be comfortable using Vim and know what terms like "buffer", "window" and "insert mode" mean. -LVSTHW is divided roughly into three sections: +The book is divided roughly into three sections: * The first covers basic Vim commands that you can use in your `~/.vimrc` file to customize Vim quickly and easily. @@ -13,12 +13,12 @@ * The third walks through the creation of a sample plugin intended for distribution to other Vim users. -Currently the book is a work in progress. Once it's finished you'll be able to -buy ebook and possibly hard copy versions. If you want to get on the mailing -list to know when it's officially completed you can sign up at [Learn Vimscript -the Hard Way on Leanpub][leanpub]. +Currently Learn Vimscript the Hard Way is a work in progress. Once it's +finished you'll be able to buy ebook and possibly hard copy versions. If you +want to get on the mailing list to know when it's officially completed you can +sign up at [Learn Vimscript the Hard Way on Leanpub][leanpub]. -The book is [copyright][license] 2011 by Steve Losh, all rights reserved. You +The book is [copyright][license] 2012 by Steve Losh, all rights reserved. You can redistribute it as long as you don't make any changes and don't charge for it. diff -r ffdf05081a2e -r b4de6c031473 scratch.markdown --- a/scratch.markdown Tue Oct 16 19:51:19 2012 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -Line Continuation ------------------ - -We're going to stray from the topic for a moment to talk about coding style. -Put the following code into your `~/.vimrc` file: - - echom "foo" . - \ "bar" . - \ "baz" - -Restart Vim and run `:messages` to see that Vim echoed "foobarbaz" to the -messages log. - -A backslash at the beginning of a line in a Vimscript file tells Vim that this -line is a continuation of the previous one. This is unlike Python where the -backslash goes at the *end* of the first line, instead of the beginning of the -second. - -This lets you split long lines for easier readability.