Commit Graph

25 Commits

Author SHA1 Message Date
Kien N
93cb20dbfb Fix :CtrlPLine and :CtrlPBufTagAll 2012-02-12 18:50:15 +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
Piet Delport
2797fb8e9a Change default cache directory to ~/.cache/ctrlp
Details: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
2012-01-20 23:23:41 -05:00
Kien N
e42bb4cca0 Correctly stripping root dir on Windows
Fix #91
2012-01-19 00:58:15 +07:00
Kien N
f1db1253ec Improve <tab> completion
Refs #77
2012-01-18 20:56:18 +07:00
Kien N
d1a64232ad Only ignore &wig and &su for v7.2.0.51+
Fix #88
2012-01-18 03:38:19 +07:00
Kien N
ea4c6021fc Improve :
* Improve s:sanstail() and ':' input
* Shorten s:samerootsyml(), s:ispathitem()
* Add g:ctrlp_log, an option to write all output to .ctrlp_cache/ctrlp.log
* Fix an error with ctrlp#utils#glob()
2011-12-23 20:41:52 +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
8395436d7c Persistent caching for tag.vim
* Change the opening commands to the tag-matchlist commands.
* Stop using taglist() so we don't have to worry about &l:tags.
* Persistent caching for tags.
* Continue #27.
2011-11-30 10:28:14 +07:00
Kien N
ef9e072c5f Tag and Quickfix extensions
* New extensions for searching tag and quickfix.
* Option to update the results lazily. Close #37.
2011-11-28 19:52:28 +07:00
Kien N
6f2fb27b55 Use old ctrlp_cache if exists
* Continue #32
2011-11-14 16:00:44 +07:00
Kien N
9f255ab6b6 Use expand() on cache_dir
* Continue #32
2011-11-14 15:41:18 +07:00
Kien N
9da5b08e04 Add sorting by parent dir
* Add a simple sorting algo giving more weight to files
  with same parent dir. Close #31.
* Change g:ctrlp_cache_dir to accept full path. Close #32.
* Fix a bug with listdirs() introduced in previous commit.
2011-11-14 13:58:09 +07:00
Kien N
0af1cdc791 Find root with '/' and '\'
* Submit '/' or '\' to find the project's root. Close #30.
* Add wig flag to glob() and globpath() in addition to expand().
* Make handling working directory less intrusive.
2011-11-12 22:00:50 +07:00
Kien N
9397e88de0 Some refactorings
* Shave off some more lines.
* path_mode=2 no longer includes path_mode=1. Leave the choice to the user.
* Minor performance enhancement in regexp mode.
2011-11-04 14:29:10 +07:00
Kien N
0319703514 Support user extensions
* Search for and perform actions on anything you want, not just files, buffers and MRU.
  Check out the 'extensions' branch for more details and how-to.
* <F5> now also removes deleted files from MRU list.
* Slight sorting change.
2011-10-23 17:38:03 +07:00
Kien N
bfd98009ed Various changes:
* New option `g:ctrlp_live_update`: enable/disable the update-as-you-type functionality.
* New option `g:ctrlp_max_depth`: the maximum directory depth to recurse into.
* New command `ResetCtrlP`: reset all options and take in new values of the option variables.
* Various other changes and bugfixes.
2011-09-18 18:33:37 +07:00
Kien N
d17beb03f9 bug fix and clean up 2011-09-08 04:01:08 +07:00
Kien N
fbcfec256e New feature: search most recently opened files 2011-09-07 21:41:43 +07:00