aboutsummaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authoreric.marin <maarin.eric@gmail.com>2024-12-18 21:06:41 +0100
committereric.marin <maarin.eric@gmail.com>2024-12-18 21:06:41 +0100
commit000a7c2a4c4bda36f655f6489b5bac3211515a5d (patch)
tree8a5fe85f0632fcca678f0204a4288e6b3423f772 /nvim
parentb0cfdab1e93f660fda8f9398e30c9c996a1760f3 (diff)
downloaddotfiles-000a7c2a4c4bda36f655f6489b5bac3211515a5d.tar.gz
dotfiles-000a7c2a4c4bda36f655f6489b5bac3211515a5d.zip
niri and fuzzel
Diffstat (limited to '')
-rw-r--r--nvim/lazy-lock.json35
-rw-r--r--nvim/lua/config/keymaps.lua2
-rw-r--r--nvim/lua/config/options.lua1
-rw-r--r--nvim/lua/plugins/neorg.lua8
-rw-r--r--nvim/lua/plugins/nvim-lspconfig.lua4
-rw-r--r--nvim/lua/plugins/nvim-parinfer.lua1
-rw-r--r--nvim/lua/plugins/oil.lua14
-rw-r--r--nvim/lua/plugins/yuck.lua5
8 files changed, 24 insertions, 46 deletions
diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json
deleted file mode 100644
index 0a76756..0000000
--- a/nvim/lazy-lock.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "catppuccin": { "branch": "main", "commit": "7be452ee067978cdc8b2c5f3411f0c71ffa612b9" },
- "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
- "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
- "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
- "dashboard-nvim": { "branch": "master", "commit": "19e89f88c83c386d19a0c9b8816638a365ccbfac" },
- "indent-blankline.nvim": { "branch": "master", "commit": "e7a4442e055ec953311e77791546238d1eaae507" },
- "lazy.nvim": { "branch": "main", "commit": "1159bdccd8910a0fd0914b24d6c3d186689023d9" },
- "lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" },
- "lspkind.nvim": { "branch": "master", "commit": "59c3f419af48a2ffb2320cea85e44e5a95f71664" },
- "lspsaga.nvim": { "branch": "main", "commit": "3c1af059348350b0bbb81c5ca3c1f8f573dbd64a" },
- "lua-utils.nvim": { "branch": "main", "commit": "e565749421f4bbb5d2e85e37c3cef9d56553d8bd" },
- "lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" },
- "mini.icons": { "branch": "main", "commit": "a2742459f0ee32806c2438ca06b4d8b331f3f4d4" },
- "neorg": { "branch": "main", "commit": "81ee90cb2d72ac43bfadb7dd276646f34c8f85be" },
- "noice.nvim": { "branch": "main", "commit": "df448c649ef6bc5a6a633a44f2ad0ed8d4442499" },
- "nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" },
- "nvim-autopairs": { "branch": "master", "commit": "ee297f215e95a60b01fde33275cc3c820eddeebe" },
- "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },
- "nvim-lspconfig": { "branch": "master", "commit": "541f3a2781de481bb84883889e4d9f0904250a56" },
- "nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" },
- "nvim-parinfer": { "branch": "master", "commit": "5ca09287ab3f4144f78ff7977fabc27466f71044" },
- "nvim-treesitter": { "branch": "master", "commit": "92725df6222614307c4712eb9982e5287f21aa11" },
- "nvim-web-devicons": { "branch": "master", "commit": "19d257cf889f79f4022163c3fbb5e08639077bd8" },
- "oil.nvim": { "branch": "master", "commit": "39dbf875861449cf09e936fa80073f3413e9439c" },
- "pathlib.nvim": { "branch": "main", "commit": "57e5598af6fe253761c1b48e0b59b7cd6699e2c1" },
- "plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
- "telescope.nvim": { "branch": "master", "commit": "df534c3042572fb958586facd02841e10186707c" },
- "todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
- "toggleterm.nvim": { "branch": "main", "commit": "137d06fb103952a0fb567882bb8527e2f92d327d" },
- "vim-highlightedyank": { "branch": "master", "commit": "afb0f262b490706c23e94012c2ab9fa67c0481ce" },
- "vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" },
- "which-key.nvim": { "branch": "main", "commit": "8badb359f7ab8711e2575ef75dfe6fbbd87e4821" },
- "yuck.vim": { "branch": "master", "commit": "9b5e0370f70cc30383e1dabd6c215475915fe5c3" }
-}
diff --git a/nvim/lua/config/keymaps.lua b/nvim/lua/config/keymaps.lua
index f6d97c9..766627b 100644
--- a/nvim/lua/config/keymaps.lua
+++ b/nvim/lua/config/keymaps.lua
@@ -30,7 +30,7 @@ vim.api.nvim_set_keymap("n", "<C-c>", "gcc", { noremap = false })
vim.api.nvim_set_keymap("v", "<C-c>", "gcc<Esc>", { noremap = false })
-- Buffer kill
-keymap.set("n", "<C-q>", ":bdelete!<Enter>", opts)
+-- keymap.set("n", "<C-q>", ":bunload<Enter>", opts)
-- Working
keymap.set("n", "<C-s>", ":w<Enter>", opts)
diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua
index d79c664..bf92bb5 100644
--- a/nvim/lua/config/options.lua
+++ b/nvim/lua/config/options.lua
@@ -9,6 +9,7 @@ opt.wrap = false
-- Appearance
opt.number = true
+opt.relativenumber = true
opt.cursorline = true
opt.termguicolors = true
opt.showmode = true
diff --git a/nvim/lua/plugins/neorg.lua b/nvim/lua/plugins/neorg.lua
index be2f7e2..1e2d948 100644
--- a/nvim/lua/plugins/neorg.lua
+++ b/nvim/lua/plugins/neorg.lua
@@ -21,6 +21,14 @@ local config = function()
}
}
},
+ -- ["core.dirman"] = {
+ -- config = {
+ -- workspaces = {
+ -- default = "~/neorg"
+ -- },
+ -- index = "index.norg"
+ -- }
+ -- },
["core.completion"] = {
config = {
engine = "nvim-cmp"
diff --git a/nvim/lua/plugins/nvim-lspconfig.lua b/nvim/lua/plugins/nvim-lspconfig.lua
index 5be314c..c9b1326 100644
--- a/nvim/lua/plugins/nvim-lspconfig.lua
+++ b/nvim/lua/plugins/nvim-lspconfig.lua
@@ -98,9 +98,9 @@ local config = function()
})
-- vacuum configuration
lspconfig.vacuum.setup({
- on_attach = on_attach,
+ -- on_attach = on_attach,
capabilities = capabilities,
- filetypes = { "yaml", "json" }
+ filetypes = { "yaml" }
})
end
diff --git a/nvim/lua/plugins/nvim-parinfer.lua b/nvim/lua/plugins/nvim-parinfer.lua
index 15dced7..95d701d 100644
--- a/nvim/lua/plugins/nvim-parinfer.lua
+++ b/nvim/lua/plugins/nvim-parinfer.lua
@@ -1,5 +1,4 @@
return {
"gpanders/nvim-parinfer",
lazy = true,
- ft = "yuck",
}
diff --git a/nvim/lua/plugins/oil.lua b/nvim/lua/plugins/oil.lua
index e717988..c19baad 100644
--- a/nvim/lua/plugins/oil.lua
+++ b/nvim/lua/plugins/oil.lua
@@ -4,9 +4,8 @@ local init = function()
{ noremap = true, silent = true, desc = "File browser (Oil)" }) -- Oil
end
-
-
local config = function()
+ local detail = false
require("oil").setup({
default_file_explorer = true,
delete_to_trash = true,
@@ -23,6 +22,17 @@ local config = function()
["bs"] = "actions.change_sort",
["b."] = "actions.toggle_hidden",
["bt"] = "actions.toggle_trash",
+ ["bd"] = {
+ desc = "Toggle file detail view",
+ callback = function()
+ detail = not detail
+ if detail then
+ require("oil").set_columns({ "icon", "permissions", "size", "mtime" })
+ else
+ require("oil").set_columns({ "icon" })
+ end
+ end,
+ },
},
use_default_keymaps = false,
})
diff --git a/nvim/lua/plugins/yuck.lua b/nvim/lua/plugins/yuck.lua
deleted file mode 100644
index aedbeba..0000000
--- a/nvim/lua/plugins/yuck.lua
+++ /dev/null
@@ -1,5 +0,0 @@
-return {
- "elkowar/yuck.vim",
- lazy = true,
- ft = "yuck"
-}