aboutsummaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/simenandre/plugins
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/simenandre/plugins')
-rw-r--r--.config/nvim/lua/simenandre/plugins/oil.lua7
-rw-r--r--.config/nvim/lua/simenandre/plugins/plugins.lua4
2 files changed, 9 insertions, 2 deletions
diff --git a/.config/nvim/lua/simenandre/plugins/oil.lua b/.config/nvim/lua/simenandre/plugins/oil.lua
index 1861543..37e8f94 100644
--- a/.config/nvim/lua/simenandre/plugins/oil.lua
+++ b/.config/nvim/lua/simenandre/plugins/oil.lua
@@ -10,6 +10,7 @@ return {
["<C-h>"] = false,
["<M-h>"] = "actions.select_split",
},
+ watch_for_changes = true,
view_options = {
show_hidden = true,
},
@@ -17,5 +18,11 @@ return {
-- Open parent directory in current window
vim.keymap.set("n", "-", "<CMD>Oil<CR>", { desc = "Open parent directory" })
+ vim.keymap.set(
+ "n",
+ "<leader>dd",
+ "<CMD>Oil /Users/cobraz/ghq/github.com/simenandre/notes/<CR>",
+ { desc = "Open parent directory" }
+ )
end,
}
diff --git a/.config/nvim/lua/simenandre/plugins/plugins.lua b/.config/nvim/lua/simenandre/plugins/plugins.lua
index 969b96e..53f76e5 100644
--- a/.config/nvim/lua/simenandre/plugins/plugins.lua
+++ b/.config/nvim/lua/simenandre/plugins/plugins.lua
@@ -346,7 +346,7 @@ return {
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
local servers = {
-- clangd = {},
- -- gopls = {},
+ gopls = {},
-- pyright = {},
-- rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
@@ -355,7 +355,7 @@ return {
-- https://github.com/pmizio/typescript-tools.nvim
--
-- But for many setups, the LSP (`ts_ls`) will work just fine
- -- ts_ls = {},
+ ts_ls = {},
--
lua_ls = {