mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-02-04 06:42:05 +00:00
minor changes
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
return {
|
||||
"zbirenbaum/copilot.lua",
|
||||
event = "InsertEnter",
|
||||
keys = {
|
||||
{
|
||||
"<leader>lc",
|
||||
function()
|
||||
vim.cmd("CopilotToggle")
|
||||
end,
|
||||
desc = "Toggle [C]opilot",
|
||||
},
|
||||
},
|
||||
opts = {
|
||||
panel = {
|
||||
enabled = true,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
return {
|
||||
"jayp0521/mason-nvim-dap.nvim",
|
||||
-- cond = false,
|
||||
cond = false,
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"python",
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
return { "sindrets/diffview.nvim" }
|
||||
@@ -1,8 +1,8 @@
|
||||
return {
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = {
|
||||
"williamboman/mason.nvim",
|
||||
"neovim/nvim-lspconfig",
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
"folke/neodev.nvim",
|
||||
"nvim-telescope/telescope.nvim",
|
||||
@@ -35,22 +35,6 @@ return {
|
||||
vim.diagnostic.setloclist,
|
||||
desc = "[S]etloclist",
|
||||
},
|
||||
{
|
||||
"<leader>lj",
|
||||
function()
|
||||
vim.diagnostic.goto_next()
|
||||
vim.cmd("norm zz")
|
||||
end,
|
||||
desc = "Next Diagnostic",
|
||||
},
|
||||
{
|
||||
"<leader>lk",
|
||||
function()
|
||||
vim.diagnostic.goto_prev()
|
||||
vim.cmd("norm zz")
|
||||
end,
|
||||
desc = "Prev Diagnostic",
|
||||
},
|
||||
{
|
||||
"<leader>lr",
|
||||
vim.lsp.buf.rename,
|
||||
@@ -93,13 +77,6 @@ return {
|
||||
require("telescope.builtin").quickfix,
|
||||
desc = "Telescope [Q]uickfix",
|
||||
},
|
||||
{
|
||||
"<leader>lc",
|
||||
function()
|
||||
vim.cmd("CopilotToggle")
|
||||
end,
|
||||
desc = "Toggle [C]opilot",
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
require("mason").setup()
|
||||
|
||||
@@ -55,12 +55,13 @@ return {
|
||||
-- See :help oil-actions for a list of all available actions
|
||||
keymaps = {
|
||||
["g?"] = "actions.show_help",
|
||||
["<CR>"] = "actions.select",
|
||||
["<leader>v"] = "actions.select_vsplit",
|
||||
["<leader>h"] = "actions.select_split",
|
||||
["<leader>t"] = "actions.select_tab",
|
||||
["<leader>p"] = "actions.preview",
|
||||
["<cr>"] = "actions.select",
|
||||
["v"] = "actions.select_vsplit",
|
||||
["s"] = "actions.select_split",
|
||||
["t"] = "actions.select_tab",
|
||||
["p"] = "actions.preview",
|
||||
["<C-c>"] = "actions.close",
|
||||
["q"] = "actions.close",
|
||||
["<C-r>"] = "actions.refresh",
|
||||
["Y"] = "actions.copy_entry_path",
|
||||
["-"] = "actions.parent",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
return {
|
||||
"kylechui/nvim-surround",
|
||||
version = "*", -- Use for stability; omit to use `main` branch for the latest features
|
||||
event = "VeryLazy",
|
||||
opts = true,
|
||||
opts = {},
|
||||
}
|
||||
|
||||
@@ -21,7 +21,9 @@ return {
|
||||
keys = {
|
||||
{
|
||||
"<C-p>",
|
||||
require("telescope.builtin").git_files,
|
||||
function()
|
||||
require("telescope.builtin").git_files(require("telescope.themes").get_dropdown({ previewer = false }))
|
||||
end,
|
||||
desc = "Telescope git_files",
|
||||
},
|
||||
{
|
||||
|
||||
@@ -24,18 +24,18 @@ return {
|
||||
desc = "[D]ocument Diagnostics",
|
||||
},
|
||||
{
|
||||
"<leader>tn",
|
||||
"[d",
|
||||
function()
|
||||
require("trouble").next({ skip_groups = true, jump = true })
|
||||
end,
|
||||
desc = "Next",
|
||||
desc = "Trouble Next",
|
||||
},
|
||||
{
|
||||
"<leader>tp",
|
||||
"]d",
|
||||
function()
|
||||
require("trouble").previous({ skip_groups = true, jump = true })
|
||||
end,
|
||||
desc = "Previous",
|
||||
desc = "Trouble Prev",
|
||||
},
|
||||
},
|
||||
opts = {
|
||||
|
||||
@@ -4,9 +4,13 @@ return {
|
||||
vim.o.timeout = true
|
||||
vim.o.timeoutlen = 300
|
||||
end,
|
||||
opts = true,
|
||||
config = function()
|
||||
local wk = require("which-key")
|
||||
wk.setup({
|
||||
window = {
|
||||
border = "single",
|
||||
},
|
||||
})
|
||||
|
||||
local opts = {
|
||||
mode = "n", -- NORMAL mode
|
||||
|
||||
Reference in New Issue
Block a user