Commit Graph

52 Commits

Author SHA1 Message Date
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
Tim Pope
b65030cd3b :Gdiff does a three-way during a conflict 2009-10-14 23:38:24 -04:00
Tim Pope
04b845a4e9 Write to index and work tree with :Gwrite 2009-10-14 23:38:17 -04:00