diff --git a/autoload/preview.vim b/autoload/preview.vim index f42059f..248b507 100644 --- a/autoload/preview.vim +++ b/autoload/preview.vim @@ -244,6 +244,9 @@ class Preview #{@base_name} #{css_tag} #{base_tag} +
diff --git a/doc/preview.txt b/doc/preview.txt index 7689a58..e7e6107 100644 --- a/doc/preview.txt +++ b/doc/preview.txt @@ -217,13 +217,13 @@ Preview current file as reStructuredText. Default mapping to preview file is P . You can easy map it to other keys. For example > - :nmap p :Preview + :nnoremap p :Preview < Also you can map some other commands which is not mapped by default. E.g. > - :nmap Pm :PreviewMarkdown - :nmap Pt :PreviewTextile - :nmap Pr :PreviewRdoc - :nmap Ph :PreviewHtml + :nnoremap Pm :PreviewMarkdown + :nnoremap Pt :PreviewTextile + :nnoremap Pr :PreviewRdoc + :nnoremap Ph :PreviewHtml < ============================================================================== diff --git a/plugin/preview.vim b/plugin/preview.vim index 30f86b1..4559ed8 100644 --- a/plugin/preview.vim +++ b/plugin/preview.vim @@ -90,4 +90,4 @@ command! PreviewRonn call s:PreviewRonn() command! PreviewRst call s:PreviewRst() " Default mapping -:nmap P :Preview +:nnoremap P :Preview diff --git a/stylesheets/preview.css b/stylesheets/preview.css index 8caad6b..83860e9 100644 --- a/stylesheets/preview.css +++ b/stylesheets/preview.css @@ -109,7 +109,7 @@ h6 { font-size: 14px; } -p, blockquote, ul, ol, dl, li, table, pre { +p, blockquote, ul, ol, dl, table, pre { margin: 15px 0; }