r/vim•
BithTree

Taking notes inside vim for vim to remember mappings

Fixed title: Taking notes inside vim for vim-specific stuff so I can remember how to do stuff

I'd like to take notes inside of vim to remember commands and keymappings. I currently use help and a file in my .vim, but it's somewhat burdensome. For example, I only use a couple of fold methods. I don't want to search the help file for it when I can just write a quick note. The note should be callable in vim, so I could do something like :Notes or :Notes fold-all.

Does this exist? I'm not sure what to search. I suppose I could grep the notes file.

Posted Jul 11, 2019, 6:19 PM UTC

126
neilhwatson•

You can write your own native vim help files then access via :help myhelp. Also there is the very useful :help quickref.

See :he write-local-help

19
BithTreeOP•

Oh cool, I didnt realize that was possible. Thanks for the tip.

4
Luck128•

I usually just make comments in .vimrc file that way if I need to transfer my configuration file I don’t have to remember what changes I did

4
damofthemoon•

I use Vim-Startify to have a home page when opening Vim. I setup it to display some reminders about commands sometimes I forget.

Take a look to my vimrc line 292 😄

2
kidpixo•

Is this one?

Nice idea, I have to many keybinds to list them in g:footer_common ...

1
damofthemoon•

Yes it is! Just realized my link didn’t paste here, my bad 😅

1
[deleted]•

[deleted]

1