dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit ce7753e60ff29c31d213f1e127a3f859041c7b91
parent fc940b26311917c8cc0452872432c437831fbe5c
Author: Chris Bracken <chris@bracken.jp>
Date:   Tue, 12 Oct 2021 09:45:12 -0700

Remove any predefined autocmds at startup

git-bash on Windows sets an incredibly annoying autocmd in its
/etc/vimrc that restores the cursor to its last position when opening a
file. Unfortunately, /etc/vimrc is under C:\Program Files and protected
by a system policy that prevents editing of any files under that
directory.

Diffstat:
M.vim/vimrc | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/.vim/vimrc b/.vim/vimrc @@ -1,6 +1,12 @@ set nocompatible set encoding=utf-8 +" Remove any autocmds defined by the system for consistency. +if has("autocmd") + autocmd! +endif + + filetype off call plug#begin('~/.vim/plugged') Plug 'rhysd/vim-clang-format'