Commit Graph

229 Commits

Author SHA1 Message Date
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
17f697a1cb Merge branch 'narrowing' 2012-03-15 09:56:35 +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
4a728842a6 Narrow the item list when adding characters
Close #157
2012-03-15 08:14:04 +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
01910d3bb6 Add g:ctrlp_match_func 2012-03-12 08:58:01 +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
c909254257 Update contributor list 2012-03-04 06:18:04 +07:00
Kien N
1f894c6e81 Deprecate the old commands 2012-03-04 01:53:34 +07:00
lucapette
e6b47365c2 Rename commands that weren't prefixed with CtrlP 2012-03-03 19:25:53 +01:00
Kien N
64ff51ffc9 Version 1.7.2 2012-03-03 22:32:19 +07:00
Kien N
8dde6d0f7c Update docs 2012-03-03 22:31:50 +07:00
Kien N
fcd20d1c94 Rename and tweak g:ctrlp_open_multi 2012-03-01 18:48:03 +07:00
Kien N
6285f507a3 Deprecate a few options 2012-03-01 18:33:35 +07:00
Kien N
247bd4835e Tweak version conditional statements 2012-02-27 19:45:37 +07:00
Kien N
0e34ecefd2 Don't use earlier fnameescape() 2012-02-27 19:27:51 +07:00
Kien N
62e414de13 Put s:wig2cmd() and s:setcwd() into docs
Close #70
2012-02-27 19:13:35 +07:00
Kien N
3dfb4b444c set imdisable nomousefocus 2012-02-27 17:56:10 +07:00
Kien N
8048e5220b Change to :badd and :redraws 2012-02-26 11:08:35 +07:00
Kien N
ce17f507b5 Add filename comparison into the mix 2012-02-26 01:46:46 +07:00
Kien N
f0d2ce1be7 Add keypad mappings
Close #147
2012-02-24 01:19:44 +07:00
Kien N
92b8c399dd Support of per buffer working path mode
Close #145
2012-02-22 00:41:08 +07:00
Kien N
7dbf7f2be9 Truncate long paths
Close #134
2012-02-20 19:06:47 +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
370ac18b3b Fix jumping to a line
Close #135
2012-02-09 17:13:37 +07:00
Kien N
75e31e9341 Make highlight groups overridable 2012-02-09 17:13:21 +07:00
Kien N
ec31fa8bb8 More highlight groups
Add some highlight groups for the text in the prompt. Refs #127.
2012-02-04 20:28:03 +07:00
Kien N
2e5e5041ec Add some highlight groups
* Add a few ctrlp specific highlight groups to make customization easier.
* Document the highlight groups ctrlp uses.

Close #127
2012-02-04 18:41:27 +07:00
Kien N
167ad5341a Disregard 'langmap' option
Make typing in the ctrlp prompt work like typing in Insert mode
for people with 'langmap' set.

Close #125
2012-02-03 16:25:52 +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
5e04bfaeed Some internal changes 2012-01-30 23:03:30 +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
Kien N
d0714ff6fd Selection movement fix
* Vim 7.0 and 7.1 can't parse the syntax {dict}[key]
* Update vim.org version since this is critical.
2012-01-26 17:28:09 +07:00
Kien N
a126be38ef Hide line prefix in terminal
Close #113
2012-01-26 17:11:07 +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
Kien N
6fe1e509c2 Version 1.6.8
* Ignore `\` as a full-path trigger in regexp mode. Refs #98.
* Stop using $XDG_CACHE_HOME. Refs #109.
* Shorten paths wherever possible.
* Bump version to 1.6.8. Update contributors list.
2012-01-22 19:20:27 +07:00
Kien N
e7b08a3223 Resolve a few issues
* Use :buffer commands when opening already opened files, all modes. Refs #97.
* Temporarily enable full-path if input has '/' or '\'. Close #98.
* Ignore possible empty return strings (from malformed tags). Close #99.
* Fix an incorrect cwd bug when opening multiple buffers with <c-o>.
  Introduced by f1c2b7a. Refs #108.
* Default keymap can be disabled with `let g:ctrlp_map = ''`. Refs #103.
* Remove duplicate rts entries. Close #107.
2012-01-22 11:48:44 +07:00