Split the foundation section into options and keymaps

This commit is contained in:
orip
2026-06-11 16:44:01 +03:00
parent cfdc17be3a
commit 7031a09bf9
+15 -9
View File
@@ -85,7 +85,7 @@ P.S. You can delete this when you're done too. It's your config now! :)
--]]
-- ============================================================
-- SECTION 1: FOUNDATION
-- SECTION 1: OPTIONS
-- Core Neovim settings, leaders, options, basic keymaps, basic autocmds
-- ============================================================
do
@@ -171,7 +171,13 @@ do
-- instead raise a dialog asking if you wish to save the current file(s)
-- See `:help 'confirm'`
vim.o.confirm = true
end
-- ============================================================
-- SECTION 2: KEYMAPS
-- basic keymaps
-- ============================================================
do
-- [[ Basic Keymaps ]]
-- See `:help vim.keymap.set()`
@@ -248,7 +254,7 @@ do
end
-- ============================================================
-- SECTION 2: PLUGIN MANAGER INTRO
-- SECTION 3: PLUGIN MANAGER INTRO
-- vim.pack intro, build hooks
-- ============================================================
do
@@ -320,7 +326,7 @@ end
local function gh(repo) return 'https://github.com/' .. repo end
-- ============================================================
-- SECTION 3: UI / CORE UX PLUGINS
-- SECTION 4: UI / CORE UX PLUGINS
-- guess-indent, gitsigns, which-key, colorscheme, todo-comments, mini modules
-- ============================================================
do
@@ -444,7 +450,7 @@ do
end
-- ============================================================
-- SECTION 4: SEARCH & NAVIGATION
-- SECTION 5: SEARCH & NAVIGATION
-- Telescope setup, keymaps, LSP picker mappings
-- ============================================================
do
@@ -579,7 +585,7 @@ do
end
-- ============================================================
-- SECTION 5: LSP
-- SECTION 6: LSP
-- LSP keymaps, server configuration, Mason tools installations
-- ============================================================
do
@@ -765,7 +771,7 @@ do
end
-- ============================================================
-- SECTION 6: FORMATTING
-- SECTION 7: FORMATTING
-- conform.nvim setup and keymap
-- ============================================================
do
@@ -803,7 +809,7 @@ do
end
-- ============================================================
-- SECTION 7: AUTOCOMPLETE & SNIPPETS
-- SECTION 8: AUTOCOMPLETE & SNIPPETS
-- blink.cmp and luasnip setup
-- ============================================================
do
@@ -885,7 +891,7 @@ do
end
-- ============================================================
-- SECTION 8: TREESITTER
-- SECTION 9: TREESITTER
-- Parser installation, syntax highlighting, folds, indentation
-- ============================================================
do
@@ -947,7 +953,7 @@ do
end
-- ============================================================
-- SECTION 9: OPTIONAL EXAMPLES / NEXT STEPS
-- SECTION 10: OPTIONAL EXAMPLES / NEXT STEPS
-- kickstart.plugins.* examples
-- ============================================================
do