diff options
| author | Mike Vink <ivi@vinkies.net> | 2023-11-29 13:41:27 +0100 |
|---|---|---|
| committer | Mike Vink <ivi@vinkies.net> | 2023-11-29 13:41:27 +0100 |
| commit | cf0591eef668852bece4285514b4ad64837ee9df (patch) | |
| tree | 9330423b8d0aed2a3d4f1aefe345241e1309e7e4 | |
| parent | de0bf05c6c438c6365fbc2f6f45ccc091dd45f52 (diff) | |
add M-x as tmux prefix
| -rw-r--r-- | mut/neovim/fnl/conf/init.fnl | 3 | ||||
| -rw-r--r-- | mut/neovim/fnl/conf/pkgs/lspconfig.fnl | 3 | ||||
| -rw-r--r-- | 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<cr>") (map :n "]x" ":lnext<cr>") (map :n :<c-p> ":Telescope find_files<cr>" {:noremap true}) - (map :n "`<Backspace>" ":FocusDispatch ") - (map :n "`k" ":K9s ") - (map :n "`s" ":Ssh ") (map :n "<leader>;" ":silent grep ") (map :n :<leader>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 |
