From bd20986f0da19885d446680992b5f2c511d1cd7a Mon Sep 17 00:00:00 2001 From: Martin Pander Date: Thu, 24 Jul 2025 12:15:43 +0200 Subject: [PATCH] Nvim --- nix/user/tmux.nix | 1 + nvim/keymaps.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/user/tmux.nix b/nix/user/tmux.nix index bb04de0..b876739 100644 --- a/nix/user/tmux.nix +++ b/nix/user/tmux.nix @@ -29,6 +29,7 @@ bind C-g display-popup -E -d "#{pane_current_path}" -xC -yC -w 95% -h 95% "lazygit" bind C-t display-popup -E -xC -yC -w 95% -h 95% "tasksquire" bind C-n display-popup -E -xC -yC -w 95% -h 95% "vim /mnt/c/Users/marti/Documents/notes/Work/quick_notes.md" + bind C-m display-popup -E -xC -yC -w 95% -h 95% "vim /mnt/c/Users/marti/Documents/notes/Work/mbpr.md" ####################################### # status line diff --git a/nvim/keymaps.lua b/nvim/keymaps.lua index e3dd4e4..b4b49b4 100644 --- a/nvim/keymaps.lua +++ b/nvim/keymaps.lua @@ -44,7 +44,7 @@ vim.keymap.set('n', 'cd', 'Trouble diagnostics toggle focus=true wi vim.keymap.set('n', 'cq', 'Trouble quickfix toggle focus=true win.position=bottom') vim.keymap.set('n', 'cr', vim.lsp.buf.rename, { desc = 'LSP Rename' }) vim.keymap.set('n', 'ct', vim.lsp.buf.type_definition, { desc = 'LSP Type Definition' }) -vim.keymap.set('n', 'cf', require("conform").format, { desc = 'LSP Format' }) +vim.keymap.set('n', 'cF', require("conform").format, { desc = 'LSP Format' }) vim.keymap.set('n', 'cgi', vim.lsp.buf.implementation, { desc = 'LSP Implementation' }) vim.keymap.set('n', 'cgd', vim.lsp.buf.definition, { desc = 'LSP Definition' }) vim.keymap.set('n', 'cgD', vim.lsp.buf.declaration, { desc = 'LSP Declaration' })