aboutsummaryrefslogtreecommitdiff
path: root/init.vim
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2023-03-31 16:22:37 +0300
committerValentin Popov <valentin@popov.link>2023-03-31 16:22:37 +0300
commitc1a649ded3cc4ae01b7fa166bf61a4a2f25cfef3 (patch)
tree762e3b33d2dd9a71eb8def7875ec6e046ab6eceb /init.vim
parent385a4269d008f60036c027b9f4e074b1be28ec2a (diff)
downloadnvim-config-c1a649ded3cc4ae01b7fa166bf61a4a2f25cfef3.tar.xz
nvim-config-c1a649ded3cc4ae01b7fa166bf61a4a2f25cfef3.zip
Перенос авто-команд в отдельный файл
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'init.vim')
-rw-r--r--init.vim10
1 files changed, 1 insertions, 9 deletions
diff --git a/init.vim b/init.vim
index 88344de..e7726c5 100644
--- a/init.vim
+++ b/init.vim
@@ -1,10 +1,2 @@
-" Connecting the plugin manager
+" Подключение пользовательской конфигурации
lua require('init')
-
-augroup packer_user_config
- autocmd!
- autocmd BufWritePost plugins.lua source <afile> | PackerCompile
-augroup end
-
-" Automatic file trimming when saving
-autocmd BufWritePre * :%s/\s\+$//e