X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a4c57c4b032a660fed80f72a8106dab145a3b0f3..3b87f963c524e58a1ae8dfdf46f21075b1394bfb:/README.md diff --git a/README.md b/README.md index ca7eef2..8c056ce 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ let g:vim_markdown_toc_autofit = 1 ### Text emphasis restriction to single-lines -By default text emphasis works across multiple lines until a closing token is found. However, it's possible to restrict text emphasis to a single line (ie, for it to be applied a closing token must be found on the same line). To do so: +By default text emphasis works across multiple lines until a closing token is found. However, it's possible to restrict text emphasis to a single line (i.e., for it to be applied a closing token must be found on the same line). To do so: ```vim let g:vim_markdown_emphasis_multiline = 0 @@ -176,7 +176,7 @@ Default is `['c++=cpp', 'viml=vim', 'bash=sh', 'ini=dosini']`. ### Follow named anchors -This feature allows ge to follow named anchors in links of the form +This feature allows the `ge` command to follow named anchors in links of the form `file#anchor` or just `#anchor`, where file may omit the `.md` extension as usual. Two variables control its operation: @@ -285,6 +285,14 @@ If you follow a link like this `[link text](link-url)` using the `ge` shortcut, let g:vim_markdown_autowrite = 1 ``` +### Change default file extension + +If you would like to use a file extension other than `.md` you may do so using the `vim_markdown_auto_extension_ext` variable: + +```vim +let g:vim_markdown_auto_extension_ext = 'txt' +``` + ## Mappings The following work on normal and visual modes: