Add tests/MINRC to reproduce issues
This commit is contained in:
21
tests/MINRC
Normal file
21
tests/MINRC
Normal file
@@ -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 <silent> <leader>lg :LazyGit<CR>
|
||||||
|
|
||||||
|
" Save the above to a file `MINRC`, and run `nvim -u MINRC` and type `<leader>lg` in normal mode.
|
||||||
Reference in New Issue
Block a user