Compare commits

..

4 commits

Author SHA1 Message Date
Bruno BELANYI 16d68022eb home: vim: enable swap and undo files
All checks were successful
ci/woodpecker/push/check Pipeline was successful
Trying it on for size, since NeoVim does use XDG directories for those.
2024-07-12 19:13:09 +01:00
Bruno BELANYI 0de9966127 home: vim: remove redundant 'nobackup'
It's already the default.
2024-07-12 19:13:09 +01:00
Bruno BELANYI 452399ee4c home: vim: oil: add detail view toggle mapping 2024-07-12 19:12:58 +01:00
Bruno BELANYI 6a6f3aed63 home: vim: migrate to 'oil.nvim' 2024-07-12 19:12:12 +01:00
3 changed files with 11 additions and 8 deletions

View file

@ -1,8 +0,0 @@
local wk = require("which-key")
local oil = require("oil")
local keys = {
["-"] = { oil.open, "Open parent directory" },
}
wk.register(keys)

View file

@ -1,4 +1,6 @@
local oil = require("oil") local oil = require("oil")
local wk = require("which-key")
local detail = false local detail = false
oil.setup({ oil.setup({
@ -24,3 +26,9 @@ oil.setup({
}, },
}, },
}) })
local keys = {
["-"] = { oil.open, "Open parent directory" },
}
wk.register(keys)

View file

@ -54,6 +54,9 @@ in
# Pulseaudio setup # Pulseaudio setup
(lib.mkIf cfg.pulse.enable { (lib.mkIf cfg.pulse.enable {
# ALSA
sound.enable = true;
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;
}) })
]); ]);