Compare commits
No commits in common. "f875590278de306462a02ba6bdd3181fd63e5b45" and "12c5e919e829c067ba795fe7f1e02037cbc0b4e9" have entirely different histories.
f875590278
...
12c5e919e8
5 changed files with 29 additions and 7 deletions
2
init.lua
2
init.lua
|
@ -82,7 +82,7 @@ vim.api.nvim_create_autocmd("TextYankPost", {
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Terminal Escape Key Mapping
|
-- Terminal Escape Key Mapping
|
||||||
vim.keymap.set("t", "<Esc>", [[<C-\><C-n>]])
|
vim.keymap.set('t', '<Esc>', [[<C-\><C-n>]])
|
||||||
|
|
||||||
-- Diagnostic keymaps
|
-- Diagnostic keymaps
|
||||||
vim.keymap.set("n", "[d", vim.diagnostic.goto_prev)
|
vim.keymap.set("n", "[d", vim.diagnostic.goto_prev)
|
||||||
|
|
|
@ -2,8 +2,8 @@ return {
|
||||||
"github/copilot.vim",
|
"github/copilot.vim",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
config = function ()
|
config = function ()
|
||||||
vim.api.nvim_set_keymap("i", "<C-Tab>", 'copilot#Accept("<End>")', { silent = true, script = true, expr = true })
|
vim.api.nvim_set_keymap('i', '<C-Tab>', 'copilot#Accept("<End>")', { silent = true, script = true, expr = true })
|
||||||
vim.g.copilot_no_tab_map = true
|
vim.g.copilot_no_tab_map = true;
|
||||||
vim.g.copilot_assume_mapped = true
|
vim.g.copilot_assume_mapped = true;
|
||||||
end,
|
end
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,3 +10,4 @@ return {
|
||||||
{ "<leader>p", "<cmd>PasteImage<cr>", desc = "Paste clipboard image" },
|
{ "<leader>p", "<cmd>PasteImage<cr>", desc = "Paste clipboard image" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,18 @@ return {
|
||||||
vim.cmd([[colorscheme tokyonight]])
|
vim.cmd([[colorscheme tokyonight]])
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"ellisonleao/gruvbox.nvim",
|
||||||
|
lazy = true, -- make sure we load this during startup if it is your main colorscheme
|
||||||
|
priority = 1000 ,
|
||||||
|
config = function()
|
||||||
|
require("gruvbox").setup({
|
||||||
|
dim_inactive = false,
|
||||||
|
})
|
||||||
|
vim.o.background = "light"
|
||||||
|
vim.cmd([[colorscheme gruvbox]])
|
||||||
|
end,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"folke/trouble.nvim",
|
"folke/trouble.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
|
@ -53,5 +65,14 @@ return {
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
"tpope/vim-fugitive",
|
||||||
|
"tpope/vim-rhubarb",
|
||||||
|
"tpope/vim-sleuth",
|
||||||
|
{
|
||||||
|
"numToStr/Comment.nvim",
|
||||||
|
config = function()
|
||||||
|
require("Comment").setup()
|
||||||
|
end,
|
||||||
|
},
|
||||||
"SidOfc/mkdx",
|
"SidOfc/mkdx",
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,5 +8,5 @@ return {
|
||||||
-- your configuration comes here
|
-- your configuration comes here
|
||||||
-- or leave it empty to use the default settings
|
-- or leave it empty to use the default settings
|
||||||
-- refer to the configuration section below
|
-- refer to the configuration section below
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue