From abbe2e7e35469412f6b60cce9c7aa2b7f624702a Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sat, 29 Oct 2022 02:37:50 +0200 Subject: [PATCH] Cleanup nvim config --- home/neovim/init.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/home/neovim/init.lua b/home/neovim/init.lua index 72f9bb3..40d2af0 100644 --- a/home/neovim/init.lua +++ b/home/neovim/init.lua @@ -32,8 +32,18 @@ require('packer').startup(function(use) use { 'tpope/vim-commentary' } use { 'tpope/vim-surround' } + -- repeat plugin commands using `.` + use { 'tpope/vim-repeat' } + -- autodetect indentation + use { 'tpope/vim-sleuth' } - use { 'vim-scripts/lastpos.vim' } + -- git + use { 'tpope/vim-fugitive' } + use { 'airblade/vim-gitgutter' } + + use { 'farmergreg/vim-lastplace' } + + use { 'bronson/vim-trailing-whitespace' } end) local lsp = require('lsp-zero')