diff --git a/README.markdown b/README.markdown index 877ff7a..fb4cf02 100644 --- a/README.markdown +++ b/README.markdown @@ -83,7 +83,8 @@ augroup END In the example above, for files of type `markdown` and `textile`, this plugin will auto-detect the wrapping approach, with `hard` as the default. -But for files of type `text`, it will *always* use hard line endings. +But for files of type `text`, it will *always* initialize with hard line +break mode. ### Commands @@ -241,6 +242,8 @@ reasons) the textwidth may nevertheless be set by this plugin. * [Vim for Writers](http://therandymon.com/woodnotes/vim-for-writers/vimforwriters.html) - guide to the basics geared to writers * [Vim-related books](http://iccf-holland.org/click5.html) - collection of books on learning Vim +* [pencil at vim.org](http://www.vim.org/scripts/script.php?script_id=4824) + If you like this plugin, you might like these others from the same author: * [vim-lexical](http://github.com/reedes/vim-lexical) - Building on Vim’s spell-check and thesaurus/dictionary completion diff --git a/autoload/pencil.vim b/autoload/pencil.vim index 20543eb..ebcd1ac 100644 --- a/autoload/pencil.vim +++ b/autoload/pencil.vim @@ -137,7 +137,7 @@ function! pencil#init(...) abort if g:pencil#cursorwrap setlocal whichwrap+=<,>,h,l,[,] - set virtualedit+=onemore " could break other plugins + setlocal virtualedit+=onemore " could break other plugins endif " clean out stuff we likely don't want