From a2349e19a8b6b923a27abdb6f6a98eddbfb05f11 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 30 Mar 2023 15:17:25 +0400 Subject: Initial NeoVIM config Signed-off-by: Valentin Popov --- init.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 init.vim (limited to 'init.vim') diff --git a/init.vim b/init.vim new file mode 100644 index 0000000..06e1a81 --- /dev/null +++ b/init.vim @@ -0,0 +1,10 @@ +" Connecting the plugin manager +lua require('plugins') + +augroup packer_user_config + autocmd! + autocmd BufWritePost plugins.lua source | PackerCompile +augroup end + +" Automatic file trimming when saving +autocmd BufWritePre * :%s/\s\+$//e -- cgit v1.2.3