Comments (6)
FZF doesn't pass anything to the callback function when no file had been selected, so the typed text seems to be not accessible to Vim-zettel, unfortunately.
from vim-zettel.
I would also like to do this. That notational-fzf plugin makes searching a lot nicer than any of the other plain-text Zettelkasten plugins (e.g. org-roam or zettledeft in emacs).
from vim-zettel.
It is possible to set the variable that Notational FZF search in to contain path to your Zettelkasten. I have the following line in my .vimrc
:
let g:nv_search_paths = ['~/Dropbox/notes']
It is not possible to set it to the current Wiki from Vim-zettel
, because Notational FZF process it at the startup and it cannot be changed later.
from vim-zettel.
The link searching command ([[
in the insert mode) now uses the preview window.
from vim-zettel.
Is there a way to insert what you've typed as a search back into the note if nothing has been found?
ie:
in insert mode
[[
Search comes up, type something
"something" isn't found, hit esc
.
result:
[[something
Or am I misusing it, or missing a way to do this that already exists?
from vim-zettel.
Obviously this request has been fullfilled. Closing it, unless there is a further issue here.
from vim-zettel.
Related Issues (20)
- Add `%random` variable for template files HOT 1
- ZettelInsertNote fails with multiple wikis: Can't open file... HOT 1
- ZettelInbox indiscriminately adds all zettels to the page HOT 3
- Front Matter not included in YAML HOT 5
- Generate ID in template HOT 2
- Flying Zettels/Buffers HOT 6
- Make :ZettelOpen jump to correct line HOT 4
- Would it be possible to use Telescope rather than fzf? HOT 9
- Linking visually selected text to an existing zettel HOT 3
- Allow for NV-like creation of new zettel HOT 1
- Error when running ZettelInbox on Vimwiki dev branch HOT 4
- ZettelSearch and insert mode HOT 1
- :ZettelSearch and :NV search different things HOT 1
- Feature Request: ZettelOrphanedPages?ZettelOrphans
- Should this work in Neovim? I cannot make it create notes anywhere but current directory HOT 7
- :ZettelOpen & :ZettelSearch don't work HOT 8
- Disregard
- Question: Using vim-zettel with 11ty - Generating 11ty links on output HOT 1
- Create zettels in a subfolders? HOT 12
- Zettels are not created in the current subfolder. HOT 7
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 vim-zettel.