Commit Graph

369 Commits

Author SHA1 Message Date
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
Marco Hinz
413dd15e4b Docs: explain new delete signs 2013-06-07 11:37:21 +02:00
Marco Hinz
476f22ac48 Merge branch 'ext-signs' 2013-06-07 09:02:06 +02:00
Marco Hinz
925c3aee29 README: add difftool option 2013-06-07 08:56:47 +02:00
Marco Hinz
1ec3e34109 Bump to 1.8 2013-06-07 08:45:17 +02:00
Marco Hinz
7895cb92eb Show number of deleted lines 2013-06-07 08:38:41 +02:00
Marco Hinz
e1cbc2082e New option: g:signify_difftool
Some VCS rely on an external diff tool, because they don't support the
-U0 flag natively. Most of the time that's the standard 'diff' utility.

But fritzophrenic was reporting that even a GNU diff won't always be
installed as 'diff', but e.g. as 'gnudiff' instead.

You can set the external diff tool now.

Closes #29.
2013-06-07 01:03:34 +02:00
Marco Hinz
068c0e894d Write buffer when 'update_on_bufenter' is enabled
References #28.
2013-06-06 18:03:02 +02:00
Marco Hinz
f1a82a8654 Readd BufEnter for setting s:path 2013-06-06 13:08:15 +02:00