Tim Pope
d948ec3376
Support expanding inline diffs in :Gstatus
2019-01-03 00:19:21 -05:00
Tim Pope
4c7998f58c
Add :G as alias for :Gstatus
2019-01-01 14:21:16 -05:00
Tim Pope
40e8d0b9f0
Support for :Grebase --interactive
2018-12-31 13:48:38 -05:00
Tim Pope
682b2acdac
Remove outdated reference to :Gcommit calling :Gstatus
...
Closes https://github.com/tpope/vim-fugitive/issues/1144
2018-12-29 12:40:06 -05:00
Tim Pope
261c00986d
Change vsplit map from S to gO
2018-12-25 19:35:13 -05:00
Tim Pope
d4eba85499
Add maps for :Gcommit --fixup/--squash
2018-12-24 14:42:47 -05:00
Tim Pope
b295f49e93
Change :Gstatus U to g|
...
I want U for a full `git reset`. This will probably end up on X, but I
don't want to do a second abrupt transition, so for now, the official
map is the ungainly g|.
2018-12-24 14:42:47 -05:00
Tim Pope
fd83fcaf90
Support expansion flags
2018-08-28 00:35:35 -04:00
Tim Pope
7b0aa58090
Accept ./ paths as relative to cwd
2018-08-15 19:24:35 -04:00
Tim Pope
a358191cfb
Use unambiguous paths for :Gstatus dot map
...
When the current working directory isn't the work tree, use absolute
paths so that pairing with both :Git and :! works as expected.
2018-08-10 19:22:13 -04:00
John Varga
6138aebbbb
Fix minor spelling error in help document
2018-08-08 16:26:11 -04:00
Tim Pope
4d684256ba
Update :Gbrowse docs
2018-08-01 17:21:16 -04:00
Tim Pope
c1d2fc1a19
Remove filename expansion from buffer object
...
This has long haunted me as a particularly egregious design, as
expansion of "%" is always respective to the current buffer.
2018-07-31 23:57:38 -04:00
Tim Pope
fc8f9eda9d
Rename Fugitive revisions to Fugitive objects
...
Neither term is great, as they both exclude work tree files in Git
parlance, but "object" is a better umbrella term as "revision" can be
actively misleading in some contexts.
2018-07-31 02:44:44 -04:00
Tim Pope
8a0a448f56
Show fake trees when editing directory in index
2018-07-29 15:08:31 -04:00
Tim Pope
deaf4aa139
Pass absolute paths through FugitiveGenerate() unchanged
...
This is designed to exclude traditional paths, URLs, and also Vim
constructs like zipfile:c:\foo.zip::file.
2018-07-28 20:33:17 -04:00
Tim Pope
4b0475f9d8
Map <CR> in blobs to jump to blamed commit
2018-07-27 01:48:44 -04:00
Tim Pope
f818a947ae
Map p to in :Gblame to open commit in preview window
2018-07-25 01:06:08 -04:00
Tim Pope
196e448375
Make :Gmove always relative to repository root
2018-07-22 19:16:17 -04:00
Tim Pope
e0b770a9bd
Drop instaweb support
...
I had been considering extracting it, but it's so badly broken that
clearly nobody actually uses it.
2018-07-22 17:33:59 -04:00
Tim Pope
6f9fa8a4b1
Document P as preferred :Gcommit map for patching
2018-07-02 18:26:52 -04:00
Tim Pope
bb54881388
Jump directly to commit rather than ref file in more cases
2018-06-15 15:31:27 -04:00
Tim Pope
8c43505037
Provide :Grebase (no --interactive)
2018-05-31 18:43:17 -04:00
Tim Pope
01e7a7e1e6
Switch out new and old official functions
2018-05-31 13:49:34 -04:00
Tim Pope
b14434bae0
Tweak :Gstatus commit maps
2018-05-11 17:12:18 -04:00
Tim Pope
dcecb762b0
Add :Grename
...
I'll rip out the weird current directory stuff later.
2018-05-04 21:42:38 -04:00
Tim Pope
b82abd5bd5
Link to quickfix help topic
...
Closes https://github.com/tpope/vim-fugitive/issues/987
2018-01-25 13:08:57 -05:00
Tim Pope
be2ff98db5
Provide :Gdelete
...
Closes https://github.com/tpope/vim-fugitive/issues/804
2017-06-08 01:25:15 -04:00
Stephen Rasku
2c8d15a790
Add help for 'a' command in :Gstatus
2017-05-26 14:19:35 -04:00
Matěj Cepl
779949c255
Add a bit of documentation for d2o and d3o commands
...
Covering changes in #801 .
2017-04-29 12:10:03 -04:00
Tim Pope
c3052fba84
Heavy handed rhubarb.vim suggestion
2017-04-11 17:59:32 -04:00
Tim Pope
e1ae9effbc
Document bang to :Ggrep
...
Closes https://github.com/tpope/vim-fugitive/issues/767
2016-03-18 11:26:11 -04:00
Tim Pope
19d1c944db
Remove unmerged files on :Gstatus U
2016-03-09 21:31:25 -05:00
Tyler Hallada
9315ec694d
Document StageUndo key map (U) in :Gstatus
2016-03-09 21:28:26 -05:00
Tim Pope
18d6d1ab82
Overhaul :Gbrowse remote handling
2015-12-26 19:53:07 -05:00
Tim Pope
d8ce8d1d03
Document transition to rhubarb.vim
2015-11-30 22:25:50 -05:00
Tim Pope
ee2b0ecdb8
Provide :Gpush and :Gfetch
...
Closes #450 .
2014-06-30 14:30:44 -04:00
Tim Pope
0cd33c6170
:Gcommit -v opens message in new tab
...
Closes #513 . References #480 .
2014-06-29 14:52:43 -04:00
Tim Pope
7fb703534a
:Gmerge and :Gpull
2014-06-25 13:05:14 -04:00
Tim Pope
276f89837f
Use -L to handle :Glog range
...
Closes #507 . References #286 .
2014-06-24 19:36:47 -04:00
Tim Pope
64c690603e
Change reload map to r
2014-06-21 09:33:59 -04:00
Tim Pope
c5a3c5f8ce
Smart choice of vertical or horizontal diff
2014-06-21 08:18:46 -04:00
Daniel Harding
46ca7374f0
Fix Gblame documentation
...
Remove an incorrect sentence about what happens when enter is pressed in
the blame buffer.
2014-05-09 14:49:23 -04:00
Tim Pope
e7c7149434
Map both g? and <F1> to show help
...
Closes #273 .
2014-04-07 05:00:41 -04:00
Tim Pope
c1664de7b4
Don't blow up on vanishing HEAD
...
Closes #459 .
2014-03-30 13:14:00 -04:00
Tim Pope
09cbdded83
Add . to prepopulate command line with revision
2013-03-12 02:26:09 -04:00
Tim Pope
cf3fe781dd
Switch :Gblame <CR> to open commit
...
This is more useful than the previous behavior of reblaming at that
commit. Said behavior is still available on -.
2013-01-30 16:00:41 -05:00
Tim Pope
7df3a6894a
Send :help :Gw to the right place
2012-12-08 16:45:31 -05:00
Tim Pope
f64ba46509
Allow :Gbrowse on HTTP GitHub FI
...
Closes #272 .
2012-11-18 22:43:04 -05:00
Tim Pope
3f703b6e03
Replace :Gstatus cv with cva and cvc
...
My rebuttal to #263 .
2012-10-22 17:02:30 -04:00
Tim Pope
daccfb508f
Update :Gblame supported options
2012-10-09 18:36:54 -04:00
Tim Pope
3b278277e0
Add maps for resizing blame window
2012-06-22 19:44:32 -04:00
Georgi Valkov
43741b550d
Add fugitive#head() and fugitive#repo().head()
...
fugitive#head() returns the name of the current branch. If the current
HEAD is detached, fugitive#head() will return the empty string, unless
the optional 'len' argument is given, in which case the hash of the
current HEAD will be truncated to 'len' characters.
This makes should make life easier for people who don't want to use the
default provided by fugitive#statusline()
2012-05-07 11:39:33 -04:00
Jean Jordaan
60fdd95b95
Fix some typos
2012-04-16 21:57:49 -04:00
Adam George
75a27559a3
Add an S
mapping for vertical splits from :Gstatus
2012-04-08 17:16:38 -04:00
Tim Pope
9619055cfd
Map - to go up a directory
2012-04-07 16:16:41 -04:00
Tim Pope
b978d9f0be
:Glgrep and :Gllog
2012-04-05 12:25:24 -04:00
Tim Pope
3c641a7ef5
Use - not <CR> for reblame
...
The plan is to ultimately reclaim <CR> for closing the blame, then
jumping to the commit.
2012-03-28 20:35:47 -04:00
Tim Pope
41ea90cddf
Support GitHub FI
2012-03-28 20:27:26 -04:00
Tim Pope
14735b470a
Use y<C-G> to yank the current object's path
...
In response to #165 .
2012-03-10 17:40:21 -05:00
Tim Pope
6cf850dd00
Show :Gblame maps in tabular form
2011-10-01 17:31:57 -04:00
Tim Pope
c4baefff69
Press i in blame to close then jump to commit
2011-10-01 04:23:27 -04:00
Tim Pope
59ce7a9e19
Restore blamed window on gq in blame
2011-10-01 04:13:09 -04:00
Tim Pope
c212714cba
:Gwrite
in a patch to apply it
...
Closes #106 .
2011-09-08 17:13:00 -04:00
Tim Pope
821f11176f
Add ca and cA commit maps to :Gstatus
2011-08-25 15:45:00 -04:00
Tim Pope
e674a7e2f3
Map dp to show diff in :Gstatus
...
Closes #101
2011-08-19 18:21:58 -04:00
Tim Pope
b8b5272577
Use long options in :Gstatus help
2011-08-19 18:20:43 -04:00
Tim Pope
7005789427
Add :Git! et al. for loading output into a buffer
2011-08-19 15:01:56 -04:00
Tim Pope
dd52642d13
Document :Gstatus maps in tabular form
2011-08-19 15:01:56 -04:00
Tim Pope
8e9fa7a807
Consolidate duplication in help and README
2011-08-07 18:53:59 -04:00
Tim Pope
23c7599ab3
Document mappings in :Gblame
...
Also document q in :Gstatus.
2011-08-07 00:09:53 -04:00
Tim Pope
c10d7cc5f8
Reference homepage not email
2011-08-06 16:55:57 -04:00
Tim Pope
3366704c8f
Enable -
on headings in :Gstatus
2011-04-23 22:15:28 -04:00
Tim Pope
2e4c9236d6
Implement :Gwq
2011-02-27 14:35:08 -05:00
Tim Pope
3933bfdc57
Prefer ds to dh for horizontal diff map
2011-02-27 13:15:10 -05:00
Tim Pope
fe7f04ebdf
Document :Gsdiff and :Gvdiff
2011-02-27 13:15:10 -05:00
Tim Pope
2c0574594d
Cease supporting :Gread!
2011-02-27 13:15:09 -05:00
Tim Pope
383b2a43df
Handle arbitrary :Gbrowse revision
2011-02-26 17:59:15 -05:00
Daniel Hahler
55fac5dd74
Fix typo: "flie" => "file"
2011-02-23 00:14:18 +08:00
Tim Pope
d6615891c2
Provide :Gbrowse to open code in web browser
2011-02-21 17:54:23 -05:00
Tim Pope
119fd9e1ad
<C-N> and <C-P> in :Gstatus cycle between files
2010-09-15 23:24:05 -04:00
Tim Pope
6ea8f2a2ae
Update email
2010-08-04 09:29:22 -04:00
Tim Pope
2b9faa8c7f
Press dh in :Gstatus to do a horizontal diff
2010-07-28 09:14:25 -04:00
Tim Pope
a1cc7f3fbd
Document :Gdiff!
2010-07-25 21:53:12 -04:00
Tim Pope
4975e76935
D
in :Gstatus invokes :Gdiff
2010-03-19 21:23:41 -04:00
Tim Pope
9c86a7d379
Pass :Gblame flags along to git-blame
2010-03-05 22:28:53 -05:00
Tim Pope
ce56d6119d
Fix GitHub capitalization
2010-02-15 13:58:36 -05:00
Tim Pope
972f9d2bfb
Mention :Gstatus and :Gcommit in introduction
2010-02-15 12:04:04 -05:00
Tim Pope
d527faa6cb
Update tag line
2010-02-14 14:16:30 -05:00
Tim Pope
a27c0fc633
Add optional statusline indicator
2010-02-02 23:46:04 -05:00
Tim Pope
315eb92abd
Remove = separators from documentation
2010-02-02 23:23:07 -05:00
Tim Pope
eb48c6c284
In :Gdiff, newest file is shown on right
2010-01-30 00:31:10 -05:00
Tim Pope
dc63e2d890
Press p in :Gstatus to add/reset --patch
2010-01-11 23:29:40 -05:00
Tim Pope
3a25d0aff6
Consistently use - when talking about git commands
2010-01-11 23:29:40 -05:00
Tim Pope
79339bfa81
:Gread is now equivalent to :Gread!
2010-01-11 15:21:43 -05:00
Tim Pope
ec49a84cb7
Add :Gcommit
2010-01-09 23:43:16 -05:00
Tim Pope
ecb2157d7e
Deprecate :Gread with no range or bang
...
In the future, :Gread will become equivalent to :Gread!, and :.Gread
will be required in order to read into a buffer without replacing it.
2010-01-09 19:12:45 -05:00
Tim Pope
26edba9dec
Fix :0Gread to operate at very top of file
2010-01-09 13:41:51 -05:00
Tim Pope
037ce62894
Pass :Glog arguments to git-log
2009-11-14 23:47:17 -05:00
Tim Pope
39be3515c9
Add :Gstatus with "-" map to stage and unstage
2009-10-19 22:11:40 -04:00