Luis Palacios

Results 10 comments of Luis Palacios

I can confirm that this persists with another WM for macos called [yabai](https://github.com/koekeishiya/yabai). I don't know if this helps at all but [zathura](https://github.com/pwmt/zathura) had a [similar issue](https://github.com/zegervdv/homebrew-zathura/issues/38) that appears to...

Try this out... ```lua local function chg_cwd() local file = vim.fn.readfile("/tmp/fm-nvim")[1] if vim.fn.isdirectory(file) == 1 then vim.cmd("cd " .. file) os.remove("/tmp/fm-nvim") end end require('fm-nvim').setup { on_close = { chg_cwd, }...

Are you on the latest version of `fm-nvim`?

This is me using the `chg_cwd` function and it works for me. I'm not sure what's preventing it from working on your machine. https://user-images.githubusercontent.com/57725322/153719480-720beb05-c0c4-4309-b296-9d2fea2c0bb7.mp4 Here's the my config in case...

Does running `:lua print(vim.fn.expand('%:p:h'))` print the `CWD`?

> Though I would expect the file to live at the root of the project folder instead of where my current open buffer is. Is that the intended design? The...

> Would looking for common top level dot files be a decent heuristic to use? Like .git That's actually a pretty smart work-around. I'll try to get it working ASAP.

> We can treat them as special status clients and keep them raised. > This was fixed when I did the rewrite in Nim way back in November, I think.....

> Yes, I just keep them unmanaged. Should they be raised? Dock windows (in my experience) are kept: 1. Floating 2. Raised above other windows

I don't know much about window managers but the simplest solution to me is to just prevent any dock windows from being unraised/lowered. Or maybe when a normal window is...