Commit Graph

19 Commits

Author SHA1 Message Date
Kien N
20f6e4097c Simplify some conditional expressions 2012-09-15 13:32:38 +07:00
Kien N
cb86f0f386 Use the global caching option for extensions 2012-06-19 23:28:10 +07:00
Kien N
93414deb65 Use a few curly braces variables 2012-04-16 11:40:21 +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
2cedde3400 Only read from cache when necessary 2012-04-06 22:00:10 +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
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
affe9e557f Fix a globing problem with MacVim
Reverts the change in v1.6.7 that splitted '.*\|*' to '.*' and '*'
2012-01-19 18:33:59 +07:00
Kien N
b3b8f7beae Version 1.6.7
Add directory <tab> completion to the prompt. Refs #77.
2012-01-16 20:14:09 +07:00
Kien N
ed2acba947 Some enhancements
* Add g:ctrlp_mruf_relative, an option to list only MRU files in the current
  working directory. Close #81.
* Extend <c-y> to work with <c-z> to get a base dir to create the new file.
  First stab at feature #77.
* Remove the hard limit for partial matching. Resolve #76.
* Merge custom_statusline. Close #80. Refs Lokaltog/vim-powerline#25.
2012-01-16 00:42:14 +07:00
Kien N
969075718a Version 1.6.6
* Allow running commands like `:diffthis` when opening multiple files.
* Add experimental extensions:
  + undo.vim (requires v7.3.005+)
  + rtscript.vim (find vimscripts in runtimepath)
* Include the workaround for <bs> and <c-h> for MS-Win. Resolve #62.
* Mention custom_ignore in readme and on the homepage. Resolve #63.
* Check the present of cwd in returned paths. Fix #64.
* Trigger Vim to remove cwd from display-names. Fix #65.
* Some internal changes and additions.
2012-01-06 13:22:55 +07:00
Kien N
b22ebbee60 Detect same-root symlink
* Ignore symlinks pointing to a file or a dir inside the cwd,
  or to a parent dir of the cwd.
2011-12-21 12:12:33 +07:00
Kien N
64dca5ec79 Custom ignore and default command options
* Extend jump-to-open-buffer to use <c-t> when jump_to_buffer = 2.
  Only works for buffers opened in another tab.  Suggested by @hail2u.
* Add g:ctrlp_default_cmd, option to reuse the default mapping for a
  different command.  Close #57.
* Add g:ctrlp_custom_ignore.  Close #58.
2011-12-18 09:58:44 +07:00
Kien N
9bff726dd6 A few tweaks
* Fix `:CtrlP .` (thanks to @mattn)
* Enhance jump-to-open-buffer: jump to line number as well
* Close #39
2011-12-13 21:42:57 +07:00
Kien N
af22f30e39 Restore unnamed register
* Close #44
* Add help tags for extension's commands. Issue #43.
* Folding tweak.
2011-12-03 10:54:18 +07:00
Kien N
b1a8c3d21e Improve directory mode
* More mappings for different types of :cd
  + <cr> change the local working directory inside ctrlp.
  + <c-t> change the global working directory. (exit ctrlp)
  + <c-v> change the local working directory for the current window. (exit ctrlp)
  + <c-x> change the global working directory to |CtrlP|’s current local working
    directory (exit).
* Some clean up.
2011-12-01 16:36:21 +07:00
Kien N
844e28dd93 Simple tag count finder
* Add a simple tag count finder. Continue #27.
2011-11-30 22:13:37 +07:00
Kien N
03f1d920da Directory extension
* Add directory extension.
* Merge fix for Migemo support, pull #42.
2011-11-30 16:42:19 +07:00