From 637de36e40185e67c51d2d85b6d61fafb3835248 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Thu, 1 Sep 2022 02:08:18 -0500 Subject: Tidy up directory and install script. Add test.sh --- vim/vimrc_windows | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 vim/vimrc_windows (limited to 'vim') diff --git a/vim/vimrc_windows b/vim/vimrc_windows new file mode 100644 index 0000000..8ce69cd --- /dev/null +++ b/vim/vimrc_windows @@ -0,0 +1,10 @@ +" Git for Windows Vim user initialization file +" GFW uses ~/.vimrc and ~/.vim/vimrc instead of ~/_vimrc and ~/vimfiles/vimrc +" See https://github.com/git-for-windows/git/issues/658#issuecomment-184269470 +" This file configures GFW Vim to behave like Windows Vim +" From: https://kevinlocke.name/bits/2020/07/30/sharing-vimrc-in-git-for-windows/ +let &runtimepath = '~/vimfiles,' +\ . join(filter(split(&runtimepath, ','), 'v:val !~? "/\\.vim"'), ',') +\ . ',~/vimfiles/after' +let &packpath = &runtimepath +source ~/vimfiles/vimrc -- cgit v1.2.3