From 4d982ca2c5fd577d85f1646e1b3fe2e0d917c456 Mon Sep 17 00:00:00 2001 From: Sirisak Lueangsaksri <1087399+spywhere@users.noreply.github.com> Date: Tue, 23 Jul 2024 14:14:40 +0700 Subject: [PATCH] refactor(nvim): default to home directory --- configs/nvim/lua/neovide/start.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 configs/nvim/lua/neovide/start.lua diff --git a/configs/nvim/lua/neovide/start.lua b/configs/nvim/lua/neovide/start.lua new file mode 100644 index 0000000..ddd6f0d --- /dev/null +++ b/configs/nvim/lua/neovide/start.lua @@ -0,0 +1,5 @@ +local registry = require('lib.registry') + +registry.pre(function () + vim.cmd('cd ~') +end)