diff options
| author | Mitsuo Tokumori <[email protected]> | 2022-05-05 14:26:43 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2022-05-05 14:26:43 -0500 |
| commit | 90f39c31e9f19bf51f0ceb9e21373dede01a4581 (patch) | |
| tree | 767e3f88ba94e26db05685bab636b6aabd6a61cf /vimrc_windows | |
| parent | 57e7ad1f6d8fa823155ca414bba82ca2d497504f (diff) | |
| parent | af0561f1d902d0fb84412ca6c301152ec44407c1 (diff) | |
| download | dotfiles-90f39c31e9f19bf51f0ceb9e21373dede01a4581.tar.gz dotfiles-90f39c31e9f19bf51f0ceb9e21373dede01a4581.tar.bz2 dotfiles-90f39c31e9f19bf51f0ceb9e21373dede01a4581.zip | |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'vimrc_windows')
| -rw-r--r-- | vimrc_windows | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vimrc_windows b/vimrc_windows new file mode 100644 index 0000000..8ce69cd --- /dev/null +++ b/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 |
