Comments (2)
If you add set hidden
to your init.vim
, then I think this is not a problem.
New user of n/vim.
I suggest you read up on the use of buffers. The default settings is to remove a buffer in vim when you leave it. With set hidden
, the buffer is not removed, but hidden. You can come back to it. Thus, when you follow a link in wiki.vim, things work as expected.
I'll close this issue. After reading about buffers (see suggested help pages), feel free to reopen or continue the discussion if you want more input.
Following help pages are good:
:help 'hidden'
:help usr_07.txt
:help usr_08.txt
:help windows.txt
(quite long, but includes most of the main details)
from wiki.vim.
I expected this process to work in the same way as vimwiki, without having to manually save files before traversing new links. Namely, [cr] on text in normal mode to create link, [cr] to follow link to new page, enter text, [bs] in normal mode to return to the original page.
I am not sure how Vimwiki solves this particular "kink", but I guess Vimwiki instead saves the buffer for you automatically. I don't think that is the best idea, because it makes the assumption that you want to save the file. I don't want to make the assumption. If you use set hidden
, then you explicitly allow to follow the link even if the buffer is not saved. If you do not use set hidden
, then that might be a real preference, in which case I would expect you to also save your files manually.
from wiki.vim.
Related Issues (20)
- citekey: link to BibDesk (in wiki.vim too) [feature request] HOT 27
- Feature Request: Auto-Copy Text for WikiLinkFollow HOT 10
- Default keybinds not loading when attempting to use `adoc` HOT 3
- How can I avoid affecting certain default templates of wiki.vim HOT 3
- Possible to use one prefix to delimit a line of tags? HOT 3
- WikITocGenerate for more filetypes HOT 3
- WikiJournalNext / WikiJournalPrev navigate out of journal folder HOT 7
- Backlinks don't update immediately HOT 16
- WikiExport: cmd should use double quote under windows HOT 18
- How can g:wiki_export be configured to support HTML, docx, and PDF? HOT 4
- Using custom resolver breaks WikiJournalNext/WikiJournalPrev HOT 10
- Disabling default mappings might be broken HOT 2
- Provide dictionaries containing default mappings HOT 6
- Enhancement request for WikiJournalIndex: reverse order and update HOT 3
- Is it possible for wiki-link-types to support jumping to Vim help? HOT 7
- WikiTags can't work under gvim 9.1 or neovim 0.10 + win 10 pro HOT 19
- Infinite loop on template rendering if function starts at index 0 in template file HOT 1
- HTML text objects are overwritten by text objects for link texts HOT 3
- WikiLinkAdd in visual mode HOT 3
- Add completion source for `:WikiOpen`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wiki.vim.