X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/890dc13c7c07cd913464383e72696845feac0f7b..e86a7e49587cb213c95e8e428d3245d70ee96f14:/README.md diff --git a/README.md b/README.md index ca7eef2..037ba63 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,30 @@ 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' +``` + +### Do not automatically insert bulletpoints + +Automatically inserting bulletpoints can lead to problems when wrapping text +(see issue #232 for details), so it can be disabled: + +```vim +let g:vim_markdown_auto_insert_bullets = 0 +``` + +In that case, you probably also want to set the new list item indent to 0 as +well, or you will have to remove an indent each time you add a new list item: + +```vim +let g:vim_markdown_new_list_item_indent = 0 +``` + ## Mappings The following work on normal and visual modes: