Fix nvim plugins

This commit is contained in:
Anas Elgarhy 2022-05-13 04:24:43 +02:00
parent 2d1e72db72
commit ab98dbb4e7
3 changed files with 38 additions and 0 deletions

View 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

View 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

View file

@ -0,0 +1,11 @@
-- My plugins
return {
["kovetskiy/sxhkd-vim"] = {},
["wakatime/vim-wakatime"] = {},
["github/copilot.vim"] = {},
}