aboutsummaryrefslogtreecommitdiff
path: root/init.vim
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2024-10-01 20:04:11 +0900
committerA Farzat <a@farzat.xyz>2024-10-01 20:04:11 +0900
commit03bbb615f265c08f108fbd6e824686ab05f7bcd3 (patch)
treeed8c17d7a5d6dbcdd971ee7eeadcb1398c0928aa /init.vim
parent4190bbfcf2282df9c4d1f4fb96b30c9856f01b99 (diff)
downloadnvim-03bbb615f265c08f108fbd6e824686ab05f7bcd3.tar.gz
nvim-03bbb615f265c08f108fbd6e824686ab05f7bcd3.zip
Add the core files
Diffstat (limited to 'init.vim')
-rw-r--r--init.vim21
1 files changed, 21 insertions, 0 deletions
diff --git a/init.vim b/init.vim
new file mode 100644
index 0000000..7f38b75
--- /dev/null
+++ b/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 <sfile>:p:h/plugins.vim
+
+" Regular settings.
+source /home/farzat/.config/nvim/regular.vim
+
+" Global mappings.
+source <sfile>: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 = '<C-y>y'