aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorTeddy Wing2019-07-03 20:53:20 +0200
committerTeddy Wing2019-07-03 20:53:20 +0200
commit0d44b0c6a567c34a1fc1951d43b8b5c2d673d6a7 (patch)
tree7804c44ea40dcb714164f6fe78758058e1c56c22 /vimrc
parent6b7ec75352940b419acb09dd455be1ebcaff4a52 (diff)
downloaddotvim-0d44b0c6a567c34a1fc1951d43b8b5c2d673d6a7.tar.bz2
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.
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc5
1 files changed, 4 insertions, 1 deletions
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