Last active
August 10, 2021 13:47
-
-
Save mroavi/9da42a083b702e3bfbd9e3bb0f0bf15b to your computer and use it in GitHub Desktop.
Template file useful to share a minimalist example of an issue with vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" test.vim | |
" usage: nvim --clean -u test.vim | |
set nocompatible hidden laststatus=2 | |
if !filereadable('/tmp/plug.vim') | |
silent !curl --insecure -fLo /tmp/plug.vim | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
endif | |
source /tmp/plug.vim | |
call plug#begin('/tmp/plugged') | |
Plug 'nvim-lua/plenary.nvim' | |
Plug 'lewis6991/gitsigns.nvim' | |
call plug#end() | |
autocmd VimEnter * PlugClean! | PlugUpdate --sync | close | |
lua require('gitsigns').setup() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment