Compare commits
No commits in common. "0d971b9ff1f80c8989d7d60e9eaa4d3155dc0fe7ab2119d4d352599b566a819c" and "8865bb91b5be12d303d5fbd10deec26d5175d6a30e72928e34ea849872652b9b" have entirely different histories.
0d971b9ff1
...
8865bb91b5
5 changed files with 8 additions and 40 deletions
|
@ -1,11 +0,0 @@
|
||||||
return {
|
|
||||||
{
|
|
||||||
"tpope/vim-fugitive"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"lewis6991/gitsigns.nvim",
|
|
||||||
config = function()
|
|
||||||
require("gitsigns").setup()
|
|
||||||
end
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -7,9 +7,6 @@ return {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
opts = {
|
|
||||||
auto_install = true
|
|
||||||
},
|
|
||||||
config = function()
|
config = function()
|
||||||
require('mason-lspconfig').setup({
|
require('mason-lspconfig').setup({
|
||||||
ensure_installed = { "lua_ls", "bashls", "gopls", "jsonls", "biome", "zk", "pyre", "rust_analyzer", "sqls", "taplo", "yamlls" }
|
ensure_installed = { "lua_ls", "bashls", "gopls", "jsonls", "biome", "zk", "pyre", "rust_analyzer", "sqls", "taplo", "yamlls" }
|
||||||
|
@ -33,6 +30,8 @@ return {
|
||||||
lspconfig.sqls.setup({ capabilities = capabilities })
|
lspconfig.sqls.setup({ capabilities = capabilities })
|
||||||
lspconfig.taplo.setup({ capabilities = capabilities })
|
lspconfig.taplo.setup({ capabilities = capabilities })
|
||||||
lspconfig.yamlls.setup({ capabilities = capabilities })
|
lspconfig.yamlls.setup({ capabilities = capabilities })
|
||||||
|
vim.keymap.set("n", "<leader>ca", vim.lsp.buf.code_action, {})
|
||||||
|
vim.keymap.set("n", "K", vim.lsp.buf.hover, {})
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,21 +6,9 @@ return {
|
||||||
'nvim-tree/nvim-web-devicons',
|
'nvim-tree/nvim-web-devicons',
|
||||||
'MunifTanjim/nui.nvim',
|
'MunifTanjim/nui.nvim',
|
||||||
},
|
},
|
||||||
opts = {
|
config = function()
|
||||||
filesystem = {
|
vim.keymap.set("n", "<C-n>", ":Neotree filesystem reveal left<CR>") -- ctrl + n = show filesystem on left side
|
||||||
filtered_items = {
|
end
|
||||||
visible = true,
|
|
||||||
show_hidden_count = true,
|
|
||||||
hide_dotfiles = false,
|
|
||||||
hide_gitignored = true,
|
|
||||||
hide_by_name = {
|
|
||||||
'.DS_Store',
|
|
||||||
'thumbs.db'
|
|
||||||
},
|
|
||||||
never_show = { '.git' }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,12 +2,4 @@ vim.cmd("set expandtab")
|
||||||
vim.cmd("set tabstop=2")
|
vim.cmd("set tabstop=2")
|
||||||
vim.cmd("set softtabstop=2")
|
vim.cmd("set softtabstop=2")
|
||||||
vim.cmd("set shiftwidth=2")
|
vim.cmd("set shiftwidth=2")
|
||||||
vim.cmd("set clipboard+=unnamedplus")
|
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
|
||||||
-- Setup custom keybinds
|
|
||||||
vim.keymap.set("n", "<C-n>", "<CMD>Neotree toggle<CR>") -- Open Neotree fs with CTRL - n
|
|
||||||
vim.keymap.set("n", "<leader>ca", vim.lsp.buf.code_action) -- Open Code actions with Space - ca
|
|
||||||
vim.keymap.set("n", "K", vim.lsp.buf.hover) -- Open information with captial K
|
|
||||||
vim.keymap.set("n", "<leader>gp", "<CMD>Gitsigns preview_hunk<CR>") -- Open tab with changes with Space - gp
|
|
||||||
vim.keymap.set("n", "<leader>gt", "<CMD>Gitsigns toggle_current_line_blame<CR>") -- Shows when and who changed with Space - gt
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# created by KDE Plasma, Wed Jun 26 10:00:02 2024
|
# created by KDE Plasma, Tue Jun 18 23:34:43 2024
|
||||||
#
|
#
|
||||||
|
|
||||||
gtk-alternative-button-order = 1
|
gtk-alternative-button-order = 1
|
||||||
|
|
Loading…
Reference in a new issue