Compare commits
2 commits
12c5e919e8
...
f875590278
Author | SHA1 | Date | |
---|---|---|---|
f875590278 | |||
e321003bb8 |
5 changed files with 7 additions and 29 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,4 +10,3 @@ return {
|
||||||
{ "<leader>p", "<cmd>PasteImage<cr>", desc = "Paste clipboard image" },
|
{ "<leader>p", "<cmd>PasteImage<cr>", desc = "Paste clipboard image" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,18 +18,6 @@ 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()
|
||||||
|
@ -65,14 +53,5 @@ 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