mirror of
https://github.com/preservim/vim-pencil.git
synced 2025-11-13 20:33:46 -05:00
Merge branch 'master' of https://github.com/reedes/vim-pencil
This commit is contained in:
@@ -83,7 +83,8 @@ augroup END
|
|||||||
|
|
||||||
In the example above, for files of type `markdown` and `textile`, this
|
In the example above, for files of type `markdown` and `textile`, this
|
||||||
plugin will auto-detect the wrapping approach, with `hard` as the default.
|
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
|
### 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 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
|
* [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:
|
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
|
* [vim-lexical](http://github.com/reedes/vim-lexical) - Building on Vim’s spell-check and thesaurus/dictionary completion
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ function! pencil#init(...) abort
|
|||||||
|
|
||||||
if g:pencil#cursorwrap
|
if g:pencil#cursorwrap
|
||||||
setlocal whichwrap+=<,>,h,l,[,]
|
setlocal whichwrap+=<,>,h,l,[,]
|
||||||
set virtualedit+=onemore " could break other plugins
|
setlocal virtualedit+=onemore " could break other plugins
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" clean out stuff we likely don't want
|
" clean out stuff we likely don't want
|
||||||
|
|||||||
Reference in New Issue
Block a user