From cf0591eef668852bece4285514b4ad64837ee9df Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Wed, 29 Nov 2023 13:41:27 +0100 Subject: add M-x as tmux prefix --- mut/neovim/fnl/conf/init.fnl | 3 --- mut/neovim/fnl/conf/pkgs/lspconfig.fnl | 3 ++- profiles/core/home.nix | 6 +++--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/mut/neovim/fnl/conf/init.fnl b/mut/neovim/fnl/conf/init.fnl index 2b658b8..0279375 100644 --- a/mut/neovim/fnl/conf/init.fnl +++ b/mut/neovim/fnl/conf/init.fnl @@ -53,9 +53,6 @@ (map :n "[x" ":lprevious") (map :n "]x" ":lnext") (map :n : ":Telescope find_files" {:noremap true}) - (map :n "`" ":FocusDispatch ") - (map :n "`k" ":K9s ") - (map :n "`s" ":Ssh ") (map :n ";" ":silent grep ") (map :n :xb #(builtin.buffers { :sort_mru true :ignore_current_buffer true}))) diff --git a/mut/neovim/fnl/conf/pkgs/lspconfig.fnl b/mut/neovim/fnl/conf/pkgs/lspconfig.fnl index b6920ef..64220b9 100644 --- a/mut/neovim/fnl/conf/pkgs/lspconfig.fnl +++ b/mut/neovim/fnl/conf/pkgs/lspconfig.fnl @@ -14,7 +14,8 @@ (lspconfig.pyright.setup {:root_dir (lspconfig.util.root_pattern :.git (vim.fn.getcwd)) - :on_attach attach}) + :on_attach attach + :settings {:venvPath (.. (vim.fn.getcwd) :.venv)}}) (lspconfig.tsserver.setup {:root_dir (lspconfig.util.root_pattern :.git (vim.fn.getcwd)) diff --git a/profiles/core/home.nix b/profiles/core/home.nix index 2811390..fe95ec9 100644 --- a/profiles/core/home.nix +++ b/profiles/core/home.nix @@ -106,9 +106,9 @@ set -ga terminal-overrides ",xterm-256color:Tc" set-option -g focus-events on set-option -sg escape-time 10 - # unbind C-b - # set -g prefix C-space - # bind C-space send-prefix + unbind M-x + set -g prefix M-x + bind M-x send-prefix set-window-option -g mode-keys vi bind-key -T copy-mode-vi v send -X begin-selection -- cgit v1.2.3