X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/e86a7e49587cb213c95e8e428d3245d70ee96f14..3f34995e77ea238730d3a08fc051647282922af6:/README.md diff --git a/README.md b/README.md index 037ba63..bb26e05 100644 --- a/README.md +++ b/README.md @@ -309,6 +309,14 @@ well, or you will have to remove an indent each time you add a new list item: let g:vim_markdown_new_list_item_indent = 0 ``` +### Change how to open new files + +By default when following a link the target file will be opened in your current buffer. This behavior can change if you prefer using splits or tabs by using the `vim_markdown_edit_url_in` variable. Possible values are `tab`, `vsplit`, `hsplit`, `current` opening in a new tab, vertical split, horizontal split, and current buffer respectively. Defaults to current buffer if not set: + +```vim +let g:vim_markdown_edit_url_in = 'tab' +``` + ## Mappings The following work on normal and visual modes: