Skip to content

Conversation

@paulefoe
Copy link

External file path links ({/ /path/to/file}) were not respecting the hop mode when opened. Using (hop-link.tab-drop) would incorrectly open the file in the current window instead of a new tab. This worked correctly for internal Neorg links but not for external files

@paulefoe
Copy link
Author

idk it's still kinda sucks for the directories.

Ideally I would like to open a new directory in a new tab and have nvim-tree to point to that dir and when I'm done I just close the tab and my notes stays at the notes dir

Should I save a current working dir before opening another dir?

local current_cwd = vim.fn.getcwd()
vim.cmd.tcd(current_cwd)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant