mirror of
https://github.com/preservim/vim-pencil.git
synced 2025-11-16 05:43:47 -05:00
Merge branch 'master' of https://github.com/reedes/vim-pencil
Conflicts: README.markdown
This commit is contained in:
@@ -84,7 +84,7 @@ tutorials available._
|
|||||||
|
|
||||||
## Basic configuration
|
## Basic configuration
|
||||||
|
|
||||||
Add to your `.vimrc`:
|
Add support for your desired filetypes to your `.vimrc`:
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
set nocompatible
|
set nocompatible
|
||||||
@@ -110,6 +110,9 @@ augroup pencil
|
|||||||
augroup END
|
augroup END
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For other prose-oriented plugins, consult the [See also](#see-also)
|
||||||
|
section below.
|
||||||
|
|
||||||
For more details, see the advanced initialization section below.
|
For more details, see the advanced initialization section below.
|
||||||
|
|
||||||
## Hard line breaks or soft line wrap?
|
## Hard line breaks or soft line wrap?
|
||||||
@@ -198,7 +201,7 @@ Note that you need not rely on autoformat exclusively and can manually
|
|||||||
reformat paragraphs with standard Vim commands:
|
reformat paragraphs with standard Vim commands:
|
||||||
|
|
||||||
* `gqip` or `gwip` - format current paragraph
|
* `gqip` or `gwip` - format current paragraph
|
||||||
* `vipJ` - unformat current paragraph
|
* `vipJ` - unformat (i.e., join all lines with hard line breaks) in current paragraph
|
||||||
* `ggVGgq` or `:g/^/norm gqq` - format all paragraphs in buffer
|
* `ggVGgq` or `:g/^/norm gqq` - format all paragraphs in buffer
|
||||||
* `:%norm vipJ` - unformat all paragraphs in buffer
|
* `:%norm vipJ` - unformat all paragraphs in buffer
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user