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
|
||||
vim.keymap.set("t", "<Esc>", [[<C-\><C-n>]])
|
||||
vim.keymap.set('t', '<Esc>', [[<C-\><C-n>]])
|
||||
|
||||
-- Diagnostic keymaps
|
||||
vim.keymap.set("n", "[d", vim.diagnostic.goto_prev)
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
return {
|
||||
"github/copilot.vim",
|
||||
lazy = false,
|
||||
config = function()
|
||||
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_assume_mapped = true
|
||||
end,
|
||||
config = function ()
|
||||
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_assume_mapped = true;
|
||||
end
|
||||
}
|
||||
|
|
|
@ -10,3 +10,4 @@ return {
|
|||
{ "<leader>p", "<cmd>PasteImage<cr>", desc = "Paste clipboard image" },
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -18,6 +18,18 @@ return {
|
|||
vim.cmd([[colorscheme tokyonight]])
|
||||
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",
|
||||
config = function()
|
||||
|
@ -53,5 +65,14 @@ return {
|
|||
})
|
||||
end,
|
||||
},
|
||||
"tpope/vim-fugitive",
|
||||
"tpope/vim-rhubarb",
|
||||
"tpope/vim-sleuth",
|
||||
{
|
||||
"numToStr/Comment.nvim",
|
||||
config = function()
|
||||
require("Comment").setup()
|
||||
end,
|
||||
},
|
||||
"SidOfc/mkdx",
|
||||
}
|
||||
|
|
|
@ -8,5 +8,5 @@ return {
|
|||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue