Allows you to create notes on lines of code
Run this to clone it as a submodule (or use your preferred way to install vim plugins):
cd .vim
git submodule add https://github.com/alex-fedorov/vim-dev-notes.git bundle/vim-dev-notes
To open a dev note for specific line of code type in normal mode :Note
.
You may want to map it to some key in your vimrc, for example:
nmap <F1> :Note<cr>
or to be more precise (if you have already Note
command from other plugin(s)):
nmap <F5> :call dev_notes#toggle_note()<cr>
When used inside another note, it will save it and close it (just like :wq
).
To open summary in one file with snippets of relevant code with file path and line number and the note itself: :Notes
or :call dev_notes#summary()
You are free to assign it to some key, but it is not required (because you'll generate summary not so often).
0.3.1
- Fixed issue with not cleared old summary reports
0.3.0
- Added notes summary feature
0.2.0
- Added note toggle feature
0.1.1
- Fixed typos in readme
- Added changelog to readme
0.1.0
- Initial somehow working plugin