Marco Hinz
ee299579c7
Assume at least 7.3.442
...
That version addded `:doau <nomodeline>`. Soon this plugin will be Vim 8+ only
anyway.
Fixes https://github.com/mhinz/vim-signify/issues/301
2019-08-08 17:12:22 +02:00
Marco Hinz
b7ea1a1bb2
Add :SignifyPreviewHunk
...
This is merely a first draft that needs to get refined further.
2019-08-06 00:34:17 +02:00
Marco Hinz
c4eb6e1469
SignifyDiff! will not open a new tab
...
This makes is behave like :SignifyFold.
Closes #271
2018-11-02 21:15:34 +01:00
Marco Hinz
e94764e40c
Check if ]C and [C are already mapped
...
Fixes #264
2018-08-01 22:42:01 +02:00
Marco Hinz
46699b1df6
SignifyDiff: initial support for :SignifyDiff
...
Currently this only works for git and is not documented.
2018-04-11 16:40:59 +02:00
Danek Duvall
e76d00ccc0
Make sure that cpoptions
contains B
...
Closes #254 , #255
2018-03-26 21:32:30 +02:00
shaggyrogers
e8cb5b636c
Don't save nomodifiable/readonly buffers
2018-01-28 23:54:27 +01:00
Marco Hinz
b4c516cd63
Ignore :SignifyRefresh in cmdline-window
...
Closes #231 .
2017-03-02 16:46:55 +01:00
Marco Hinz
96b3eda10e
Win/gvim: don't redraw screen if no files were given
...
References #229 .
2017-02-26 14:05:21 +01:00
Marco Hinz
ce7779198b
Restore g:signify_cursorhold_{normal,insert}
...
References #230 .
2017-02-25 22:18:44 +01:00
Marco Hinz
63efffcae7
Realtime: don't run twice on BufEnter
2017-02-24 18:16:14 +01:00
Marco Hinz
0a09008179
Remove now useless workarounds
2017-02-24 18:09:06 +01:00
Marco Hinz
01bcf8afab
Win/gVim: fix "no signs at start" race
2017-02-21 17:10:48 +01:00
Marco Hinz
01ec338fdb
Add User event "SignifySetup"
2017-02-20 16:42:05 +01:00
Marco Hinz
8fa3524a13
Remove g:signify_cursorhold_normal and g:signify_cursorhold_insert
...
If you want that behaviour, set 'autowrite' instead.
References #226 .
2017-02-20 16:16:07 +01:00
Marco Hinz
88cae56c30
Simplify autocmd setup
2017-02-20 16:05:55 +01:00
Marco Hinz
05f6ff91f4
New option: g:signify_realtime
...
By default Sy only updates signs when opening or writing a buffer that is backed
by a file on disk.
If that's too conservative to you, enable this option. It makes Sy update signs
on almost every occasion.
2017-02-18 18:06:44 +01:00
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