-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
58 lines (33 loc) · 1.16 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Developer Notes Vim Plugin
Allows you to create notes on lines of code
## Setup
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
```
## Usage
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).
## Changelog
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