summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mut/neovim/fnl/conf/init.fnl3
-rw-r--r--mut/neovim/fnl/conf/pkgs/lspconfig.fnl3
-rw-r--r--profiles/core/home.nix6
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