Marco Hinz
fcecc3c868
Remove rather useless :SignifyDebugDiff
2017-01-18 00:14:36 +01:00
Marco Hinz
2a3dafd045
Add ]C and [C mappings
2016-01-14 03:40:52 +01:00
William Clemens
e134c152e0
Add :SignifyEnable and :SignifyDisable
2016-01-07 02:54:44 +01:00
Marco Hinz
2dc2526426
SignifyToggleFold -> SignifyFold!
2015-12-09 00:31:59 +01:00
Marco Hinz
a0e061a5cf
Refactoring
2015-12-08 22:19:46 +01:00
albfan
64a6dbd5d8
Add bang option to SignifyToggleFold
...
Without bang open folds on a new tab, with it on current buffer
2015-12-08 13:48:07 +01:00
albfan
d5e72e0ae7
Toggle folding on same buffer
...
resolves #169
2015-12-08 11:22:25 +01:00
Marco Hinz
8c5ad74a7b
Add :SignifyFold
...
References #118 .
2015-06-02 15:12:57 +02:00
Marco Hinz
a05b780c33
Add :SignifyDebugUnknown
2015-05-26 10:59:29 +02:00
Marco Hinz
3f1f9c17fd
Add :SignifyDebugDiff
...
References #161
2015-05-24 10:40:18 +02:00
Marco Hinz
ee918b9562
Calling sy#stop() on BufDelete is obsolete
...
Since we switched from global variables to buffer-local ones, there is no
clean up needed anymore.
2015-02-04 16:05:16 +01:00
James McCoy
c61dded98a
Add the buffer number as an argument to sy#stop()
...
sy#stop() is called by the BufDelete autocmd so b: variables may not
correspond to the buffer actually being deleted. Instead, we must use
<abuf> to determine which buffer is being deleted and pass that into
sy#stop().
There are some ripple effects, causing sy#sign#remove_all_signs to also
gain a buffer number argument.
Signed-off-by: James McCoy <vega.james@gmail.com>
2014-11-25 11:25:40 -05:00
James McCoy
babf2fd975
Remove extraneous :call in FocusGained autocmd
...
Closes mhinz/vim-signify#143
Signed-off-by: James McCoy <vega.james@gmail.com>
2014-11-06 14:02:00 -05:00
Marco Hinz
bd0956eee6
Remove all default mappings except for ]c / [c
...
References #142 .
2014-11-05 14:16:44 +01:00
Alex Rodionov
de297820bc
Expose sy#util#refresh_windows()
...
References #141 .
2014-11-05 13:07:59 +01:00
Alex Rodionov
4c3c10d1cb
Update signs both on FocusGained and FocusLost
2014-11-02 19:47:49 +06:00
Marco Hinz
a03bee658f
Add support for lazy loading
2014-11-02 09:28:54 +01:00
killphi
e4a428c0d7
Make hunk text object mappable
...
References #138 .
2014-11-02 09:11:28 +01:00
Marco Hinz
2723b1e86e
Execute FocusGained action for all windows
...
References #113 .
2014-10-06 14:09:22 +02:00
Marco Hinz
9186a58ca7
Doc: add remark about ]c and [c
2014-10-06 01:32:10 +02:00
Marco Hinz
ecd0bb0dbc
Introduce hunk text object
2014-10-06 01:17:57 +02:00
Marco Hinz
8cef26186e
Make sure b:sy_path is always set
...
References #136 .
2014-10-04 19:48:10 +02:00
Marco Hinz
fe3bafce11
Introduce smarter sign management
2014-10-04 15:56:10 +02:00
Marco Hinz
a4e06fb303
Set b:sy_path also for SessionLoadPost events
...
Closes #101 .
2013-12-27 14:45:44 +01:00
Marko Tibold
dcae627181
Improve speed of :vimgrep by using a global lock
2013-11-26 11:11:52 +01:00
Marco Hinz
6ecab1b621
Prevent potential regressions
...
References #95 .
2013-11-22 16:44:06 +01:00
James McCoy
5211c19ee7
Move Sy's data from g:sy to b:sy
2013-11-22 13:48:49 +01:00
Marco Hinz
a9284f363c
Move modelines to the top
2013-09-30 10:19:31 +02:00
Dario Sneidermanis
99ef641012
Fix mapping shadowing
...
Use empty() instad of ! when testing for string emptiness.
if !'foo' == !'' | echo 'facepalm!' | endif
2013-09-06 17:36:30 +02:00
Marco Hinz
b29cd71f6d
Set encoding for plugin files
...
Closes #54 .
2013-08-19 17:36:16 +02:00
Marco Hinz
b53043de80
New option: signify_update_on_focusgained
2013-08-13 08:09:02 +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
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
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
James McCoy
e9747e791a
Add support for accurev
2013-07-10 16:08:11 -04:00
Marco Hinz
d6086e769a
Docs: minor corrections
2013-07-09 07:28:03 +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
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