From b44fca1e2b25d0d80f4d83f1ce2018e7f24d45d3 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Sat, 11 Aug 2018 12:15:05 +0200 Subject: [PATCH] vim-tradewinds needs a minimum version of vim --- .vimrc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.vimrc b/.vimrc index d4173bf..655977b 100644 --- a/.vimrc +++ b/.vimrc @@ -83,12 +83,15 @@ let NERDTreeIgnore = ['\.pyc$', 'tags'] autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif -" Easily change position of windows -"gh: soft move left -"gj: soft move down -"gk: soft move up -"gl: soft move right -Plugin 'andymass/vim-tradewinds' +if has('patch-8.0-1364') + " Easily change position of windows + " Requires vim 8.0.1364 or neovim (exact version uncertain). + "gh: soft move left + "gj: soft move down + "gk: soft move up + "gl: soft move right + Plugin 'andymass/vim-tradewinds' +endif " Rooter changes the working directory to the project root when you open a