diff options
author | Valentin Popov <valentin@popov.link> | 2023-03-30 14:17:25 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2023-03-30 14:17:25 +0300 |
commit | a2349e19a8b6b923a27abdb6f6a98eddbfb05f11 (patch) | |
tree | d3842b42c631779969fdf8404f6b13395245d2fb /init.vim | |
parent | 6f49229c3ff159cbed597a45cedbafe39a1249e9 (diff) | |
download | nvim-config-a2349e19a8b6b923a27abdb6f6a98eddbfb05f11.tar.xz nvim-config-a2349e19a8b6b923a27abdb6f6a98eddbfb05f11.zip |
Initial NeoVIM config
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'init.vim')
-rw-r--r-- | init.vim | 10 |
1 files changed, 10 insertions, 0 deletions
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 <afile> | PackerCompile +augroup end + +" Automatic file trimming when saving +autocmd BufWritePre * :%s/\s\+$//e |