summaryrefslogtreecommitdiff
path: root/mut/neovim
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2023-11-29 13:41:27 +0100
committerMike Vink <ivi@vinkies.net>2023-11-29 13:41:27 +0100
commitcf0591eef668852bece4285514b4ad64837ee9df (patch)
tree9330423b8d0aed2a3d4f1aefe345241e1309e7e4 /mut/neovim
parentde0bf05c6c438c6365fbc2f6f45ccc091dd45f52 (diff)
add M-x as tmux prefix
Diffstat (limited to 'mut/neovim')
-rw-r--r--mut/neovim/fnl/conf/init.fnl3
-rw-r--r--mut/neovim/fnl/conf/pkgs/lspconfig.fnl3
2 files changed, 2 insertions, 4 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))