From 7ec1fa7385c1b88a2efdad72c805b254c52084bd Mon Sep 17 00:00:00 2001 From: A Farzat Date: Wed, 6 Nov 2024 09:09:37 +0900 Subject: Remove nvim submodule Nvim config will be included as bare files instead of a submodule. The nvim config repo will still exist, but the content will be used by yadm without the repo itself. --- .config/nvim/init.vim | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .config/nvim/init.vim (limited to '.config/nvim/init.vim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim new file mode 100644 index 0000000..29132c3 --- /dev/null +++ b/.config/nvim/init.vim @@ -0,0 +1,21 @@ +" Some settings need to be made before loading the plugins. +for fileName in globpath(stdpath("config") .. '/early-settings', '*', 0, 1) + execute 'source ' . fnameescape(fileName) +endfor + +" Install and manage the plugins. +source :p:h/plugins.vim + +" Regular settings. +source :p:h/regular.vim + +" Global mappings. +source :p:h/global-mappings.vim + +" Plugin config. +for fileName in globpath(stdpath("config") .. '/plugin-settings', '*', 0, 1) + execute 'source ' . fnameescape(fileName) +endfor + +" Emmit.vim settings. +let g:user_emmet_expandabbr_key = 'y' -- cgit v1.2.3-70-g09d2