From aac84dffbc2d6bd68f4701189a21d26ceecfb42e Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Tue, 11 Feb 2020 15:22:02 +0100 Subject: [PATCH] Whitelist some common text files, so others get opened externally --- .vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vimrc b/.vimrc index d1ab066..05acf1a 100644 --- a/.vimrc +++ b/.vimrc @@ -410,6 +410,8 @@ let g:preview_markdown_vertical = 1 " Navigate through and from markdown files "Plug 'chmp/mdnav' Plug 'aquatix/mdnav', { 'branch': 'fixes' } +" Only open these local files in vim, use pyfile for all others: +let g:mdnav#Extensions = 'md, MD, markdown, todo, txt, rst' " The NERD Commenter: A plugin that allows for easy commenting of code for