akiyosi / goneovim

A GUI frontend for neovim.
MIT License
2.35k stars 60 forks source link

goneovim should open in home directory #522

Closed carlmueller closed 4 months ago

carlmueller commented 5 months ago

OS: macOS Sonoma 14.3.1 Goneovim: 0.6.8, from Homebrew

  1. Open goneovim by clicking on the icon
  2. Type :e
  3. This opens a list of directories and files in the root directory /
  4. It should open a list from the home directory ~/
akiyosi commented 4 months ago

@carlmueller Hi, As a result of the discussions in #43, #325, and #337, the current working directory (CWD) of goneovim is now set to / by default. However, by including the following in init.lua, users can set the current directory to whatever they prefer. Does this meet your expectations?

if vim.g.goneovim then
  vim.cmd('cd ~')
end
carlmueller commented 4 months ago

Yes, thanks.