The Wayback Machine - http://web.archive.org/web/20201101054819/https://github.com/vimwiki/vimwiki/issues/957
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature and Refactoring: VimwikiDeleteFile could also delete references to link #957

Open
tinmarino opened this issue Jul 26, 2020 · 0 comments

Comments

@tinmarino
Copy link
Collaborator

@tinmarino tinmarino commented Jul 26, 2020

In a file, the command VimwikiDeleteFile only remove the file. It would be nice to update wiki links to it and delete them.

VimwikiRenameLink has all the necessary code, most of which (saving and restoring buffer) could be refactored to s:update_wiki_links which is only called by it RenameLink now and could be of great help for DeleteLink.

@tinmarino tinmarino changed the title Feature $ Refactoring: VimwikiDeleteFile could also delete references to link Feature and Refactoring: VimwikiDeleteFile could also delete references to link Jul 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.