update: imac config

This commit is contained in:
wyj
2024-11-03 20:52:21 -05:00
parent 0316aaead6
commit 09c7389823
160 changed files with 10740 additions and 116 deletions
@@ -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 {}