Commit Graph

251 Commits

Author SHA1 Message Date
Marco Hinz
51f5139ff5 better handling of calls to s:remove_signs()
Improving by removing!

Closes #2.
2013-03-08 09:54:52 +01:00
Marco Hinz
24d8a37b58 proper defaults value for new active buffers 2013-03-08 09:23:28 +01:00
Marco Hinz
eddd0cab80 design change of main data structure
s:active_buffers was renamed to s:sy. It holds all active buffers
(buffers that are associated with signify) and their metadata like jump
IDs.

It's a big change but it probably makes future improvements much easier.

Closes issue #2.
2013-03-08 09:11:18 +01:00
Marco Hinz
5cd00ffd33 check for signs feature 2013-03-08 07:16:33 +01:00
Marco Hinz
f8731dc7d3 change structure of s:active_buffers 2013-03-07 16:54:20 +01:00
Marco Hinz
7eed444733 readme: what about vim-gitgutter? #3
I should go to bed rather sooner than later...
2013-03-07 15:37:17 +01:00
Marco Hinz
944c87db22 readme: what about vim-gitgutter? #2 2013-03-07 15:31:40 +01:00
Marco Hinz
b957b2fd4c readme: what about vim-gitgutter? 2013-03-07 15:26:03 +01:00
Marco Hinz
1c5aa4f9da add Jeremy Mack as a contributor (issue #1) 2013-03-07 14:18:57 +01:00
Marco Hinz
1570afaf66 readme: add exception lists 2013-03-07 13:58:54 +01:00
Marco Hinz
e3836c0423 fix 2 small typos 2013-03-07 13:58:05 +01:00
Marco Hinz
7727c169ed add options to README 2013-03-07 13:55:18 +01:00
Marco Hinz
b68825dbd3 rearrange README 2013-03-07 13:29:54 +01:00
Marco Hinz
65b3b69a01 bzr -> bazaar 2013-03-07 13:24:24 +01:00
Marco Hinz
a9d7fa8755 use 3-clause BSD license 2013-03-07 13:12:01 +01:00
Marco Hinz
a283312be6 add sign preserving option 2013-03-07 12:56:25 +01:00
Marco Hinz
219b5ac052 add hunk case: lines added && changed 2013-03-07 07:59:06 +01:00
Marco Hinz
0eb42b7bb5 add hunk case: lines were changed && deleted 2013-03-07 07:50:14 +01:00
Marco Hinz
a92a3b67dd update screenshot 2013-03-07 06:49:34 +01:00
Marco Hinz
9a7656c78c change the default signs
If you liked the old signs more, reset them using:

    let g:signify_sign_add    = '>>'
    let g:signify_sign_delete = '<<'
    let g:signify_sign_change = '!!'
2013-03-07 06:42:23 +01:00
Marco Hinz
6c7fb79750 update signify when gvim regains focus 2013-03-07 03:58:34 +01:00
Marco Hinz
58148c2fb7 make line-highlight colors configurable 2013-03-07 03:41:18 +01:00
Marco Hinz
e6be2c7d3b add support for cvs 2013-03-07 03:28:21 +01:00
Marco Hinz
9ef693960f add support for subversion 2013-03-07 02:47:42 +01:00
Marco Hinz
9cea1eecf6 add configurable exception lists 2013-03-07 02:35:03 +01:00
Marco Hinz
8b3dfd0937 add support for bazaar 2013-03-07 01:56:31 +01:00
Marco Hinz
506c2e2cbe add support for mercurial 2013-03-07 01:40:30 +01:00
Marco Hinz
18e771dab4 avoid getting the buffer name several times 2013-03-07 01:10:51 +01:00
Marco Hinz
e7338cd155 add s:remove_from_buffer_list()
This functions checks if a given key actually exists in our
s:active_buffers dictionary, because there might be buffers that weren't
added to it in the first place.

At the moment this is the case for Vim's help pages and buffers that
aren't associated with any filename.

Thanks for reporting, Jeremy Mack.

Closes #1.
2013-03-07 01:02:23 +01:00
Marco Hinz
9187b70098 add little debug function 2013-03-07 00:15:58 +01:00
Marco Hinz
51c80fe68c use "sy" as short name for signify 2013-03-06 23:40:57 +01:00
Marco Hinz
d9e900e45d sy should be unobtrusive; do not print messages 2013-03-06 23:38:19 +01:00
Marco Hinz
d0decd5f20 readme: add pathogen as suggested installation method 2013-03-06 13:51:23 +01:00
Marco Hinz
5fb7c3b535 doc: refactor options and functions 2013-03-06 13:22:58 +01:00
Marco Hinz
38d442be3e much more configurable colors 2013-03-06 13:15:54 +01:00
Marco Hinz
c2b11e4711 rename 'change' to 'hunk' in the appropriate places 2013-03-06 12:32:02 +01:00
Marco Hinz
2f615f3067 add proper jump handling 2013-03-06 12:19:38 +01:00
Marco Hinz
a7d9b85ae2 check that synIDattr() doesn't return -1 2013-03-06 11:46:33 +01:00
Marco Hinz
70cf833f49 add empty line 2013-03-06 01:22:51 +01:00
Marco Hinz
bb16476811 fix "removed lines" bug
The signs for removed lines were set in the wrong manner, because I used
the wrong part from the diff file. It's working correct now.
2013-03-06 00:57:49 +01:00
Marco Hinz
3e97b592dd add screenshot 2013-03-06 00:36:32 +01:00
Marco Hinz
6ff3545df9 add IRC nick to docs 2013-03-05 23:58:41 +01:00
Marco Hinz
942600a2ce fix color bug
Fixes a bug that happened, when an active buffer was closed and
reopened. Calls s:set_colors() in this case.
2013-03-05 23:42:56 +01:00
Marco Hinz
fbde8b57d9 add sanity check for empty buffers 2013-03-05 23:21:13 +01:00
Marco Hinz
904d702bc4 readme: small cosmetic change 2013-03-05 23:15:28 +01:00
Marco Hinz
6280b89978 unify variable naming 2013-03-05 23:09:08 +01:00
Marco Hinz
5da692cfe4 add doc 2013-03-05 23:07:54 +01:00
Marco Hinz
58d75ce611 improve README 2013-03-05 20:12:24 +01:00
Marco Hinz
6686912e8c rename gitify.vim to signify.vim 2013-03-05 20:08:41 +01:00
Marco Hinz
9bec29fc92 add README 2013-03-05 20:07:37 +01:00