feat: add nvimdots
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
local definitions = {
|
||||
-- Example
|
||||
bufs = {
|
||||
{ "BufWritePre", "COMMIT_EDITMSG", "setlocal noundofile" },
|
||||
},
|
||||
}
|
||||
|
||||
return definitions
|
||||
@@ -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
|
||||
@@ -0,0 +1 @@
|
||||
return {}
|
||||
@@ -0,0 +1 @@
|
||||
return {}
|
||||
@@ -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")
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
return {}
|
||||
@@ -0,0 +1 @@
|
||||
return {}
|
||||
@@ -0,0 +1 @@
|
||||
return {}
|
||||
@@ -0,0 +1,6 @@
|
||||
local options = {
|
||||
-- Example
|
||||
autoindent = true,
|
||||
}
|
||||
|
||||
return options
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user