diff --git a/README.markdown b/README.markdown index 64c6aba..77e441e 100644 --- a/README.markdown +++ b/README.markdown @@ -8,7 +8,7 @@ This plugin focuses on the fundamentals of word processing in Vim: -* Use for editing text, markdown, textile, and other file types +* Use for editing text, markdown, textile, and other prose-oriented file types * Configures wrap mode for buffer, auto-detecting via modeline if present * Adjusts navigation key mappings to suit the wrap mode * For hard line break mode, enables Insert-mode only autoformat @@ -88,8 +88,8 @@ to set the behavior for the current buffer: * `SoftPencil` - mode for soft line wrapping * `HardPencil` - mode for hard line breaks -* `ChangePencils` - if off, enables with detection; if on, turns off * `DropPencil` - removes navigation mappings and restores buffer to global settings +* `TogglePencil` - if off, enables with detection; if on, turns off Optionally, you can map to keys in your `.vimrc`: @@ -97,7 +97,7 @@ Optionally, you can map to keys in your `.vimrc`: nmap ps :SoftPencil nmap ph :HardPencil nmap pd :DropPencil -nmap pc :ChangePencils +nmap pt :TogglePencil ``` ### Automatic formatting diff --git a/plugin/pencil.vim b/plugin/pencil.vim index 685ee6a..4528cb9 100644 --- a/plugin/pencil.vim +++ b/plugin/pencil.vim @@ -45,7 +45,7 @@ endif command -nargs=0 HardPencil call pencil#init({'wrap': 'hard'}) command -nargs=0 SoftPencil call pencil#init({'wrap': 'soft'}) command -nargs=0 DropPencil call pencil#init({'wrap': 'off' }) -command -nargs=0 ChangePencils call pencil#init({'wrap': 'toggle'}) +command -nargs=0 TogglePencil call pencil#init({'wrap': 'toggle'}) command -nargs=0 AutoPencil call pencil#setAutoFormat(1) command -nargs=0 ManualPencil call pencil#setAutoFormat(0)