diff --git a/README.markdown b/README.markdown index f08203c..5e44f7d 100644 --- a/README.markdown +++ b/README.markdown @@ -222,11 +222,11 @@ let g:pencil#cursorwrap = 1 " 0=disable, 1=enable (def) For syntaxes such as [tpope/markdown][tm] which support Vim’s Conceal feature, you can display \_*italic*\_, \*\*__bold__\*\* and \*\*\*___bold italic___\*\*\* styles where the `_` and `*` characters will be hidden -when you’re not on the line. Set the following to `0` if you don’t want -this behavior. +when you’re not on the line. Set the following to `2` to enable automatic +hiding: ```vim -let g:pencil#conceallevel = 2 " 0=disable, 1=onechar, 2=hide (def) +let g:pencil#conceallevel = 2 " 0=disable (def), 1=onechar, 2=autohide ``` A couple of requirements: to display the _italic_, **bold**, and ***bold @@ -235,6 +235,9 @@ featuring those style variants as well as a colorscheme (such as [reedes/vim-colors-pencil][cp]) which supports the Markdown-specific highlight groups. +For those using Vim in terminal mode, such as with iTerm, you’ll have to +read your documentation to determine how to enable bold and italic styles. + For more details on Vim’s Conceal feature, see: ```vim diff --git a/plugin/pencil.vim b/plugin/pencil.vim index ea849da..aca6b41 100644 --- a/plugin/pencil.vim +++ b/plugin/pencil.vim @@ -44,8 +44,8 @@ en if !exists('g:pencil#conceallevel') " by default, concealing capability in your syntax plugin " will be enabled. See tpope/vim-markdown for example. - " Set to 0 if you don't want this behavior - let g:pencil#conceallevel = 2 + " 0=disable (def), 1=onechar, 2=autohide + let g:pencil#conceallevel = 0 en if !exists('g:pencil#softDetectSample')