Fix nvim plugins
This commit is contained in:
parent
2d1e72db72
commit
ab98dbb4e7
3 changed files with 38 additions and 0 deletions
18
.config/nvim/custom/chadrc.lua
Normal file
18
.config/nvim/custom/chadrc.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
-- Just an example, supposed to be placed in /lua/custom/
|
||||
|
||||
local M = {}
|
||||
|
||||
-- make sure you maintain the structure of `core/default_config.lua` here,
|
||||
-- example of changing theme:
|
||||
|
||||
M.ui = {
|
||||
theme = "gruvchad",
|
||||
}
|
||||
|
||||
local userPlugins = require "custom.plugins"
|
||||
|
||||
M.plugins = {
|
||||
user = userPlugins
|
||||
}
|
||||
|
||||
return M
|
9
.config/nvim/custom/init.lua
Normal file
9
.config/nvim/custom/init.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
-- example file i.e lua/custom/init.lua
|
||||
|
||||
-- MAPPINGS
|
||||
vim.api.nvim_set_keymap("i", "<C-J>", 'copilot#Accept("<CR>")', { silent = true, expr = true })
|
||||
|
||||
|
||||
-- Github copilot config
|
||||
vim.g.copilot_no_tab_map = true
|
||||
|
11
.config/nvim/custom/plugins/init.lua
Normal file
11
.config/nvim/custom/plugins/init.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
-- My plugins
|
||||
return {
|
||||
["kovetskiy/sxhkd-vim"] = {},
|
||||
["wakatime/vim-wakatime"] = {},
|
||||
["github/copilot.vim"] = {},
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue