nvim and tmux updates

This commit is contained in:
Klotz
2025-09-10 19:30:51 +02:00
parent 11f3420414
commit 6df046dd24
2 changed files with 24 additions and 0 deletions

View File

@ -36,6 +36,7 @@ require('lazy').setup({
-- Detect tabstop and shiftwidth automatically
'tpope/vim-sleuth',
'christoomey/vim-tmux-navigator',
-- NOTE: This is where your plugins related to LSP can be installed.
-- The configuration is done below. Search for lspconfig to find it below.
{
@ -196,6 +197,12 @@ require('lazy').setup({
{
'github/copilot.vim',
},
{
'stevearc/oil.nvim',
opts = {},
-- Optional dependencies
dependencies = { "nvim-tree/nvim-web-devicons" },
},
}, {})
@ -285,6 +292,18 @@ require('telescope').setup {
},
}
require("oil").setup({
default_file_explorer = true,
columns = {
"icon",
"size",
"mtime",
"permissions"
},
view_options = {
show_hidden = true,
}
})
-- Enable telescope fzf native, if installed
pcall(require('telescope').load_extension, 'fzf')
@ -444,6 +463,9 @@ local on_attach = function(_, bufnr)
nmap('K', vim.lsp.buf.hover, 'Hover Documentation')
nmap('<C-k>', vim.lsp.buf.signature_help, 'Signature Documentation')
vim.api.nvim_set_keymap('n', '<Tab>', ':bnext<CR>', { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<S-Tab>', ':bprev<CR>', { noremap = true, silent = true })
-- Lesser used LSP functionality
nmap('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration')
nmap('<leader>wa', vim.lsp.buf.add_workspace_folder, '[W]orkspace [A]dd Folder')

View File

@ -2,6 +2,8 @@
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'catppuccin/tmux#v2.1.3' # See https://github.com/catppuccin/tmux/tags for additional tags
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'laktak/extrakto'
setw -g mode-keys vi
set -g @catppuccin_flavor 'frappe'