Commit Graph

477 Commits

Author SHA1 Message Date
Marco Hinz
a1668bab51 Avoid creating the useless highlight group NONE #2
I forgot to change one line..

References #45.
2013-07-29 15:09:00 +02:00
Marco Hinz
7ae3a0f5ff Avoid creating the useless highlight group NONE
By using the wrong :sign-define syntax, a highlighting group NONE was
created by accident.

Closes #45.
2013-07-28 20:38:38 +02:00
Marco Hinz
2d0653d61b Docs: add Twitter handle 2013-07-22 20:39:35 +02:00
Marco Hinz
9733f6cfac Improve jumping once again
References #4.
2013-07-22 00:21:34 +02:00
deris0126
4b1dc081d7 Do not overwrite already mapped keys
Don't set <plug> mappings twice and don't set them at all if the target
keys are already mapped.

Closes 42.
2013-07-21 18:51:00 +02:00
deris0126
6df6dd1eb7 Fix jumping if no count is specified for commands
References #40.

Closes #43.
2013-07-21 17:55:19 +02:00
Marco Hinz
6f95251190 Merge branch 'fix-jumping' 2013-07-21 15:22:00 +02:00
deris0126
3b96ea5cbe Make jumping behaviour more pragmatic
This patch makes jumps go the the first/last hunk when the given count
was bigger than the available hunks.

E.g. when there are only 2 hunks and you use 4]c, the cursor jumps to
the last hunk nevertheless. Before this patch the cursor wouldn't move
at all (which mimics the standard behaviour of ]c/[c).

Closes #41.
2013-07-21 15:21:34 +02:00
deris0126
f550254e33 Fix wrong jump if no count is specified
If jump next hunk with no count, it move last hunk of below hunks.

v:count step is 0, 2, 3, 4..., so if no count is specified, next hunk is
-1(this is last hunk of below hunks).  Because of above reason, I change
to use v:count1 instead of v:count.  v:count1 step is 1, 2, 3, 4... .

Closes #40.
2013-07-21 14:23:29 +02:00
Marco Hinz
c2770af9f1 Correct comment 2013-07-19 22:33:23 +02:00
Marco Hinz
0b337dd38e Don't sy diffing buffers 2013-07-17 13:45:06 +02:00
Marco Hinz
cdc3bd338c Merge branch 'modularisation' 2013-07-17 12:51:37 +02:00
Marco Hinz
7d56e9aac1 Minor corrections 2013-07-17 12:44:21 +02:00
Marco Hinz
ea331d6065 Populate autoload/ 2013-07-17 12:30:58 +02:00
Marco Hinz
0718c1a2a9 Add sy#repo.vim 2013-07-17 10:14:43 +02:00
Marco Hinz
7d4759866a New sy#utils.vim 2013-07-17 09:54:03 +02:00
Marco Hinz
b28fbe2625 New: s:repo_get_stat_git() 2013-07-17 09:23:29 +02:00
Marco Hinz
2c192d6ada Merge accurev support
Closes #39.
2013-07-10 23:14:18 +02:00
Marco Hinz
381f003d18 README: add accurev 2013-07-10 23:12:13 +02:00
James McCoy
e9747e791a Add support for accurev 2013-07-10 16:08:11 -04:00
Marco Hinz
be2d7290ca Gitignore: update 2013-07-09 07:37:03 +02:00
Marco Hinz
d6086e769a Docs: minor corrections 2013-07-09 07:28:03 +02:00
Marco Hinz
3c5d45036c Docs: use full sentences 2013-07-09 07:04:25 +02:00
Marco Hinz
d5f7bd5f02 Docs: "amount" -> "number" 2013-07-09 06:48:26 +02:00
Marco Hinz
d6c1fd78ab Doc: update 'local additions' header 2013-07-08 20:54:42 +02:00
Marco Hinz
b720a971a1 README: remove sign_change_delete var 2013-07-08 12:19:34 +02:00
Marco Hinz
1ee010eddb README: remove 2.0 note
It will be released when it's ready!
2013-07-08 12:15:54 +02:00
Marco Hinz
60105c6779 Docs: simplify sign explanation 2013-07-08 12:06:54 +02:00
Marco Hinz
673d17a2da Indicate deleted lines for ChangeDelete signs 2013-07-08 11:56:23 +02:00
Marco Hinz
4c8fa59309 Setup hl groups on VimEnter 2013-07-08 11:25:12 +02:00
Marco Hinz
16359f44f2 Put hl group linking into a function 2013-07-08 11:17:11 +02:00
Marco Hinz
abdd63063c Fix wipeout error
Closes #38.
2013-07-08 02:13:39 +02:00
Marco Hinz
5dd80d421b Echomsg won't interpret unprintable characters 2013-07-05 11:36:23 +02:00
Marco Hinz
9a42020f53 Bump to 1.9 2013-07-04 13:06:08 +02:00
Marco Hinz
282262cba6 New option: g:signify_disable_by_default
You can choose to disable Sy by default now. You can enable it anytime
via :SignifyToggle (or the default mapping: <leader>gt).

Closes #34.
2013-07-04 12:28:18 +02:00
Marco Hinz
3d2d7afcf6 Docs: update hunk jumping 2013-07-04 11:52:28 +02:00
Marco Hinz
15b88e811b Merge pull request 36 from @jamessan
Closes #36.
2013-07-04 11:45:57 +02:00
James McCoy
93006d94a3 Make "jump to hunk" behave like the builtin ]c/[c
Instead of using the sign id as the primary piece of data, store
information on a per-hunk granularity.  A hunk has a start/end line as
well as a set of sign ids that have been placed within those lines.

This makes moving to the start of the next/previous hunk, as per the
behavior of the standard `]c`/`[c` bindings, pretty straight forward --
a simple filter to find relevant hunks, and then grab the first sign id.
2013-07-04 01:49:08 -04:00
Marco Hinz
3202db8c70 Showcolors: proper cleanup 2013-07-03 20:06:26 +02:00
Marco Hinz
a268d48655 Add showcolors.bash 2013-07-03 17:23:38 +02:00
Marco Hinz
039f361ff7 Heavily reduce compexity by removing color options
This will be the first backwards incompatible commit for Sy for the sake
of simplicity.

For more information see:  :help signify-colors
2013-07-03 17:01:51 +02:00
Marco Hinz
9e4de23259 Fix SignifyDeleteChanged sign setting
Closes #33.
2013-07-02 11:05:42 +02:00
Marco Hinz
0bf4514308 Update signify.gif 2013-06-25 11:59:25 +02:00
Marco Hinz
32f70cac6d Merge branch 'ext-signs' 2013-06-24 11:27:53 +02:00
Marco Hinz
be483c494a README: update 2013-06-22 15:17:39 +02:00
Marco Hinz
7b42403429 Doc: indicate default values 2013-06-22 15:11:25 +02:00
Marco Hinz
30a66c9de3 Doc: typo 2013-06-22 13:57:34 +02:00
Marco Hinz
ae799c152f Fix BufDelete racing problem
In certain cases the code that gets triggered by BufDelete would use
the wrong s:path due to a racing problem.

Thanks to @techlivezheng for the feedback.

Closes #30.
2013-06-22 11:47:50 +02:00
Marco Hinz
2f43b45009 README: add animated gif 2013-06-07 19:54:50 +02:00
Marco Hinz
6d00d4707d Correct g:signify_difftool check 2013-06-07 17:57:51 +02:00