From 2cc455fef97faa1051ad058cc9232ad2870c6082 Mon Sep 17 00:00:00 2001 From: Dheepak Krishnamurthy Date: Mon, 6 Apr 2020 11:02:25 -0600 Subject: [PATCH] Add tests/MINRC to reproduce issues --- tests/MINRC | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/MINRC diff --git a/tests/MINRC b/tests/MINRC new file mode 100644 index 0000000..73cdf2e --- /dev/null +++ b/tests/MINRC @@ -0,0 +1,21 @@ +" If after installing lazygit.vim, you are having trouble getting it to work, try the following minimal vimrc file. + +set nocompatible " be iMproved, required +filetype off " required + +if empty(glob('~/.local/share/nvim/site/autoload/plug.vim')) + silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs + \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim + autocmd VimEnter * PlugInstall --sync | source $MYVIMRC +endif + +call plug#begin('~/.local/share/nvim/plugged') + +Plug '~/gitrepos/lazygit.vim' + +" Initialize plugin system +call plug#end() + +nnoremap lg :LazyGit + +" Save the above to a file `MINRC`, and run `nvim -u MINRC` and type `lg` in normal mode.