Commit Graph

337 Commits

Author SHA1 Message Date
Kien N
b49cd99eea Make the markers unique 2012-06-05 15:51:02 +07:00
Lowe Thiderman
1f9e7e196d Fix root detection for new-style git submodules
In very recent versions of git, the submodule structure has changed. The .git
directory has been moved into the .git of super repo, and the .git in the
submodule is just a file with a relative path to the actual .git directory in
the supermodule.

Since this change, ctrlp will only find the super repo when running s:SetWD().
ctrlp will try to cache and search in all of your submodules, which quickly
becomes a problem if your project has many submodules.

This fix removes the trailing slash from the '.git/' entry in the markers list
in s:SetWD(), which makes ctrlp find the new-style submodule file before the
super repo.
2012-06-05 15:16:34 +07:00
Kien N
6801fa80dd Include ansi terms 2012-06-04 08:31:02 +07:00
Kien N
6a9fda9304 Option to clear the marks 2012-05-31 16:54:54 +07:00
Kien N
fcda2e4d59 Add a flag to jump to the first opened tab or window 2012-05-31 16:33:17 +07:00
Kien N
3e36061fbd Make <c-t>, <c-x>, <c-v> also open multiple files 2012-05-31 16:33:17 +07:00
Kien N
7581d159c9 Reuse normcmd's return 2012-05-31 16:33:17 +07:00
Kien N
b3d52edb01 Replace a few match() calls 2012-05-31 16:33:12 +07:00
Kien N
9b79b74c17 Support standard parent dir syntax 2012-05-31 15:49:45 +07:00
Kien N
96bd4b37f4 Use a custom pathshorten 2012-05-29 13:48:56 +07:00
Kien N
b1035a2c6d Disable autocmds when opening/closing 2012-05-20 13:08:46 +07:00
Kien N
7fc15428c1 Update docs 2012-05-20 11:55:53 +07:00
Kien N
f7561810bf Minor doc update 2012-05-14 19:25:47 +07:00
Kien N
b830093e3f Open all files as hidden buffers 2012-05-14 19:19:08 +07:00
Kien N
4a4900ff09 Fix #200 2012-05-14 18:53:36 +07:00
Kien N
369bd81bbd Update docs 2012-05-12 18:38:58 +07:00
Kien N
2826589dc6 Ver bump 2012-05-10 21:00:29 +07:00
Kien N
34881d22cd Paste from registers 2012-05-10 20:55:06 +07:00
Kien N
bfbbbafa86 Extend '..' input 2012-05-10 20:39:13 +07:00
Kien N
a96f0b2204 Update docs 2012-05-10 20:39:06 +07:00
Kien N
a9262720c1 Use @cd like :cd 2012-05-10 09:38:33 +07:00
Kien N
9c9e120b81 Update readme 2012-05-10 08:04:56 +07:00
Kien N
3e83d624bb Separate filename and path
Close #183
2012-05-08 21:22:46 +07:00
Kien N
4eae56d817 Adjust a change in 5042a5d 2012-05-08 20:22:19 +07:00
Kien N
c465ac3a79 Update docs 2012-05-08 15:22:20 +07:00
Kien N
8a2521c5bd Merge remote-tracking branch 'mattn/fix-doc-quotes' into dev
Conflicts:
	doc/ctrlp.txt
2012-05-08 15:12:03 +07:00
mattn
53b643dc75 use 0x27. doc file must be encoded with latin-1. 2012-05-08 16:30:35 +09:00
Kien N
5042a5d0de Misc 2012-05-05 19:30:08 +07:00
Kien N
80bc9cea8c Preserve v:errmsg 2012-05-03 08:35:21 +07:00
mattn
59aa11f49f Avoid to start on cmdwin. 2012-05-03 02:22:34 +09:00
Kien N
8820dec7b9 Update docs 2012-05-02 03:25:49 +07:00
Kien N
dc12e57ded Tweak tags filter 2012-05-02 03:25:30 +07:00
Seth Fowler
f8f8f56fae Fixed an issue that caused a large number of errors in the 'tag' plugin if a tagfile was empty. 2012-05-02 02:45:28 +07:00
Kien N
e61e7d5b80 Ver bump 2012-04-22 08:43:02 +07:00
Kien N
93ab44a31d Some clean ups 2012-04-22 08:42:05 +07:00
Kien N
9f5e949d66 Default behavior for arg_map 2012-04-22 02:10:48 +07:00
Kien N
d4e658caa9 Better option handling 2012-04-22 02:08:18 +07:00
Kien N
4852c3214b Silently open files 2012-04-21 13:58:02 +07:00
Kien N
269a3f1350 Only when using globpath() 2012-04-21 13:03:36 +07:00
Kien N
5dfe7f245b One mapping...
...to rule them all, one mapping to find them,
One mapping to bring them all and in the darkness bind them.
2012-04-21 08:38:29 +07:00
Kien N
008ad743e9 Hint and default ignores 2012-04-20 22:28:50 +07:00
Kien N
5292020781 Lower raw length's priority 2012-04-20 09:08:12 +07:00
Kien N
2e590e3b02 Fix var type 2012-04-20 07:35:45 +07:00
Kien N
60b9d44313 Expand default input if is string 2012-04-20 07:21:54 +07:00
Kien N
aca1f9db97 Don't sort 1, 2 if prompt's empty 2012-04-20 07:20:50 +07:00
Kien N
fa2d745b5d Get lines from buffers first 2012-04-19 17:53:45 +07:00
Kien N
d39b7b014d Insert filename under the cursor (like gf) 2012-04-19 16:38:52 +07:00
Kien N
c747af3ae6 Tweak MRE buffer sorting 2012-04-19 10:59:56 +07:00
Kien N
75ef943c35 Option to disable sorting in MRU mode
Close #177
2012-04-18 03:29:47 +07:00
Kien N
2a033dad07 Update help 2012-04-17 05:10:29 +07:00