glidenote / memolist.vim Goto Github PK
View Code? Open in Web Editor NEWsimple memo plugin for Vim.
Home Page: http://blog.glidenote.com/blog/2012/03/26/memolist.vim/
simple memo plugin for Vim.
Home Page: http://blog.glidenote.com/blog/2012/03/26/memolist.vim/
While your memolist
is almost perfect in its flexibility and minimalism, would it be possible to add something like MemoDelete
command? Which, obviously, would ask for a name of a memo (may be allowing to TAB-browse all the memos and / or to select from a list of memos) and then would delete the selected memo.
Thanks!
The plugin is great. I looked for a notebook tools by using vim for a long time. This one is most suitable to me. One problem here:
Every note' name is with datetime prefix. It would confuse me when i look for one entry of memolist. Could the name of memo be more configuable or you have better solution?
I found the memolist is not supported well on the windows. memolist
and memogrep
can not work any more.
test.vim
set packpath^=$VIM\.vim
let g:memolist_unite = 1
let g:memolist_unite_option = "-auto-preview -start-insert"
let g:memolist_unite_source = "file_rec"
packadd unite.vim
packadd memolist.vim
以下を実行
vim -Nu NONE -S test.vim
:Memolist
そうすると候補に"C"というファイルが一つだけ表示されてしまいます。
デバッグしてみたのですが、以下コードがmemolist.vim内で実行されていました。
:Unite file_rec:C:/Users/username/memo -auto-preview -start-insert
Uniteではsourceのあとの引数(今回でいうところのC:/Users/username/memo )の:
はエスケープする必要があるらしく、コード(https://github.com/glidenote/memolist.vim/blob/master/autoload/memolist.vim#L144)
を以下のように修正すると正常に動作するようです。
exe "Unite" g:memolist_unite_source.':'.escape(s:escarg(g:memolist_path), ':') g:memolist_unite_option
他(denite)も同じようなコードになっていましたが問題ないのか判断できなかったため、Pull Requではなく、
issueでの報告とさせていただきました。
ご確認をお願いいたします。
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled May 2 2017 12:56:07)
MS-Windows 64 ビット コンソール 版
適用済パッチ: 1-596
Windows7 Professional
Unite
Uniteのヘルプ
https://github.com/Shougo/unite.vim/blob/master/doc/unite.txt#L300
Thanks for your plugin.
But I still have a problem. Usually I write some code in a folder. I may want to have a look at my memo. Then I type ml to jump into a nerdtree and choose a memo. But after that it's hard to jump back to the file that I wrote code before. Ctrl-o can only jump back to nerdtree page.
Is it any way to jump back to the file that I was editing?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.