Commit Graph

96 Commits

Author SHA1 Message Date
Kien N
93414deb65 Use a few curly braces variables 2012-04-16 11:40:21 +07:00
Kien N
863996ce26 Change bookmarkdir's cache 2012-04-15 02:00:06 +07:00
Kien N
43915113db Check matchlist's result 2012-04-14 13:44:05 +07:00
Kien N
d6e5c56b04 Add BookmarkDir extension
Literally the only thing I was still using NERDTree for, so figured I'd bring it to CtrlP.
2012-04-13 14:30:36 +07:00
Kien N
13cf37f106 Apply case sensitivity option when deleting 2012-04-13 09:58:24 +07:00
Kien N
9cf53d959b Add a few local vars 2012-04-11 01:19:10 +07:00
Kien N
6863e650d4 Use bufnr directly 2012-04-08 07:33:04 +07:00
Kien N
ba7c2048a2 Get a separate buffer list 2012-04-08 06:33:05 +07:00
Kien N
f1dd272388 Revert "Keep s:mrufs separated"
This reverts commit fec6cf52ef.
2012-04-08 05:08:35 +07:00
Kien N
59f64d698b Preset ext_vars 2012-04-07 18:55:23 +07:00
Kien N
a14bbe0737 Reorganize syntax stuff 2012-04-07 09:01:06 +07:00
Kien N
c62259c201 Add buffers into the mix 2012-04-07 07:58:44 +07:00
Kien N
2cedde3400 Only read from cache when necessary 2012-04-06 22:00:10 +07:00
Kien N
b1a688fc2f Use s:dyncwd more 2012-04-06 04:42:05 +07:00
Kien N
045b66a6ab Remix when MRU list changes 2012-04-06 00:18:13 +07:00
Kien N
fec6cf52ef Keep s:mrufs separated 2012-04-05 05:15:03 +07:00
Kien N
dee21e1873 Save a few bytes 2012-04-05 04:28:37 +07:00
Kien N
97f955c89c Rewrite MRU mode
+ Delay saving MRU list to disk.
+ Remove g:ctrlp_mruf_last_entered and make the setting a default feature.
2012-04-04 10:35:35 +07:00
Kien N
7cda4083de Add mixed files + mrufiles mode
Close #101
2012-04-04 08:58:04 +07:00
Kien N
dbc40ca3be Use more s:var's instead of passing arguments around 2012-04-04 08:51:28 +07:00
Kien N
7c67b3bde6 Workarounds for older Vims 2012-03-31 12:11:36 +07:00
Kien N
8b5bb1a6dd Allow extensions to disable sorting
Close #170
2012-03-31 01:58:51 +07:00
Kien N
535b13a82d Move getenv stuff to each extension 2012-03-29 08:53:00 +07:00
Kien N
c4fe304565 Use :undolist for older Vim versions 2012-03-24 11:58:01 +07:00
Kien N
3d5eef8b4e Reinit autocmds 2012-03-21 02:53:04 +07:00
Kien N
fbdd0fa10a Handling arbitrary ext_vars 2012-03-17 22:00:47 +07:00
Kien N
9dfda30843 Tweak MRU mode's autocmds 2012-03-16 03:11:55 +07:00
Kien N
a82a75c134 Merge branch 'mre_buffers' 2012-03-15 09:56:46 +07:00
Kien N
1ed632f101 Fix bugs related to ctrlp#buffers() 2012-03-15 09:52:10 +07:00
Kien N
fbc61b0d3e Use MRE sorting for buffers
Close #156
2012-03-15 08:15:54 +07:00
Kien N
607cc29d81 Add some highlight groups 2012-03-13 16:20:56 +07:00
Kien N
b8c16c71a7 Make line, undo, and changes official 2012-03-12 15:34:40 +07:00
Kien N
5ed0cba954 Add changes.vim
Close #154
2012-03-10 10:05:58 +07:00
Kien N
dd832abfff Relax the condition to reuse a window
Close #155
2012-03-10 06:49:16 +07:00
Kien N
ac56d68249 Hide the current file from the results 2012-03-07 07:45:55 +07:00
Kien N
8dde6d0f7c Update docs 2012-03-03 22:31:50 +07:00
Kien N
247bd4835e Tweak version conditional statements 2012-02-27 19:45:37 +07:00
Kien N
ea0eef6d44 Allow deleting MRU entries marked by <c-z> with <F7>
Close #122
2012-02-20 14:58:03 +07:00
Kien N
93cb20dbfb Fix :CtrlPLine and :CtrlPBufTagAll 2012-02-12 18:50:15 +07:00
Kien N
0110b7b129 Remove duplicate MRUFs created by ssl switching
Close #138
2012-02-11 21:54:27 +07:00
Kien N
3453b0d473 Fix console dialogs being hidden
Close #136
2012-02-09 20:58:11 +07:00
Kien N
75e31e9341 Make highlight groups overridable 2012-02-09 17:13:21 +07:00
Kien N
ece04926b0 More silent executions
* Silently continue execution of commands regardless of errors
  which are prone to happen with Vim's customizability.
* Remove ctrlp#msg() as it's no longer needed.

Fix #95 and prevent similar issues.
2012-02-02 03:18:04 +07:00
Kien N
afa9158132 Correctly identifying buffers
Close #121
2012-02-01 18:08:06 +07:00
Kien N
6a9f1e3a46 Support multiple user commands
Support defining multiple user VCS commands with g:ctrlp_user_command
following this format:

let g:ctrlp_user_command = {
  \ 'types': {
    \ 1: [root_marker_1, listing_command_1],
    \ n: [root_marker_n, listing_command_n],
    \ },
  \ 'fallback': fallback_command
  \ }

Check the docs for a working example (:help ctrlp_user_command).

Refs #118
2012-01-30 08:54:06 +07:00
Kien N
2d90da985d Some bugfixes
* Remove \zs, \ze as regexp-mode auto-triggers.
* Fix #116. Remove the full-path auto-switching feature. Refs #98.
* Proper caching for rtscript extension.
* Add <PageUp>, <PageDown> keymaps (used for quickfix and undo).
2012-01-29 00:29:09 +07:00
Thibault Duplessis
f170a5f9b0 Don't try to create an existing directory
Because this sets v:errmsg to E739, making other plugins fail.
2012-01-26 10:27:01 +01:00
Kien N
99542d295b Bump version to 1.6.9
* Some minor internal changes.
* Update vim.org version.
2012-01-24 09:13:51 +07:00
Kien N
a13d90fd2a Change default cache dir to ~/.cache/ctrlp
* Revert previously reverted change that uses ~/.cache/ctrlp. Refs #105.
* Improve CreateNewFile(). Refs #77.
2012-01-22 22:51:08 +07:00
Kien N
17772fa8d8 Fix cache directory creation
Revert some changes in 6fe1e50. Refs #109.
2012-01-22 19:52:11 +07:00