feat: add nvimdots

This commit is contained in:
2024-07-21 02:51:17 -04:00
parent f16942be42
commit e78c5ce3f5
149 changed files with 10623 additions and 43 deletions

View File

View File

@@ -0,0 +1,8 @@
local definitions = {
-- Example
bufs = {
{ "BufWritePre", "COMMIT_EDITMSG", "setlocal noundofile" },
},
}
return definitions

View File

@@ -0,0 +1,16 @@
local mappings = {}
-- Place global keymaps here.
mappings["plug_map"] = {}
-- NOTE: This function is special! Keymaps defined here are ONLY effective in buffers with LSP(s) attached
-- NOTE: Make sure to include `:with_buffer(buf)` to limit the scope of your mappings.
---@param buf number @The effective bufnr
mappings["lsp"] = function(buf)
return {
-- Example
["n|K"] = require("keymap.bind").map_cr("Lspsaga hover_doc"):with_buffer(buf):with_desc("lsp: Show doc"),
}
end
return mappings

View File

@@ -0,0 +1 @@
return {}

View File

@@ -0,0 +1 @@
return {}

View File

@@ -0,0 +1,9 @@
return vim.tbl_extend(
"force",
require("user.keymap.core"),
require("user.keymap.completion").plug_map,
require("user.keymap.editor"),
require("user.keymap.lang"),
require("user.keymap.tool"),
require("user.keymap.ui")
)

View File

@@ -0,0 +1 @@
return {}

View File

@@ -0,0 +1 @@
return {}

View File

@@ -0,0 +1 @@
return {}

View File

@@ -0,0 +1,6 @@
local options = {
-- Example
autoindent = true,
}
return options

View File

View File

@@ -0,0 +1,9 @@
-- Please check `lua/core/settings.lua` to view the full list of configurable settings
local settings = {}
-- Examples
settings["use_ssh"] = true
settings["colorscheme"] = "catppuccin"
return settings