From 0d44b0c6a567c34a1fc1951d43b8b5c2d673d6a7 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 3 Jul 2019 20:53:20 +0200 Subject: vimrc: Use Undotree on Windows The Vim I'm using on Windows has `+python/dyn` and `+python3/dyn` (no `+python3`), but it doesn't seem like it has a Python interpreter that Vim can find. Use Undotree instead of Gundo there since it doesn't require Python. --- vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index f9c6488..c931171 100644 --- a/vimrc +++ b/vimrc @@ -435,6 +435,9 @@ " 2019.06.18: " * Ignore `.git` directory in `g:pick_command`. " +" 2019.07.03: +" * Use Undotree on Windows. +" " Pathogen @@ -626,7 +629,7 @@ endif " Gundo / Undotree -if has('python3') +if has('python3') || has('win32') || has('win32unix') let loaded_gundo = 1 let g:undotree_SetFocusWhenToggle = 1 -- cgit v1.2.3