Fix neovim configs 🥰

This commit is contained in:
Anas Elgarhy 2022-07-17 15:20:40 +02:00
parent b73d4104d7
commit f9d55ef6a4
5 changed files with 6 additions and 39 deletions

View File

@ -1,18 +0,0 @@
-- 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

@ -1,9 +0,0 @@
-- 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

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

View File

@ -9,4 +9,10 @@ M.ui = {
theme = "gruvchad",
}
local userPlugins = require "custom.plugins"
M.plugins = {
user = userPlugins
}
return M

View File

@ -1,6 +1,5 @@
-- My plugins
return {
["kovetskiy/sxhkd-vim"] = {},
["wakatime/vim-wakatime"] = {},
["github/copilot.vim"] = {},
["andweeb/presence.nvim"] = {},