" 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.nvim' " Initialize plugin system call plug#end() let mapleader = " " nnoremap lg :LazyGit " Save the above to a file `MINRC`, and run `nvim -u MINRC` and type `lg` in normal mode.