Commit Graph

125 Commits

Author SHA1 Message Date
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
eae302f869 Add custom statusline option
* Add an option to allow user to rebuild the statuslines:

  let g:ctrlp_status_func = {
    \ 'main': 'function_name_1',
    \ 'prog': 'function_name_2',
    \ }

  See https://gist.github.com/1610859 for a working example.
2012-01-14 16:53:42 +07:00
Kien N
420174fc53 Ignore filename and context of tags
Fix #76
2012-01-13 23:02:17 +07:00
Kien N
418a22859c Further extending ctrlp_open_multi 2012-01-13 10:42:15 +07:00
Kien N
34aa84e6db Rewrite s:OpenMulti()
* Simplify s:OpenMulti() and extend ctrlp_open_multi. Close #71.
* Add g:ctrlp_arg_map option.
* Some internal changes.
2012-01-13 09:13:39 +07:00
Kien N
f04196941a Resolve some issues
* Remove active buffer from MRU listing. Close #66.
* Re-evaluate ctrlp_user_command when changing dir. Fix #69.
* Link to custom ctrlp_user_command config in the docs. Close #70.
2012-01-10 05:58:59 +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
7ccb62b28b Add BufferTag extension
First version of buffertag.vim extension.
* Enable: `let g:ctrlp_extensions = ['buffertag']`
* Command: ':CtrlPBufTag'
* Options:
  + g:ctrlp_buftag_ctags_bin
  + g:ctrlp_buftag_systemenc
  + g:ctrlp_buftag_types
2011-12-21 18:58:08 +07:00
Zak Johnson
348e25644d Fix c-up binding typo 2011-12-18 14:20:51 -08: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
f7322b3d12 Fix match window position option
* Breaks returning to previous window if set to 0.
2011-12-05 19:34:15 +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
03f1d920da Directory extension
* Add directory extension.
* Merge fix for Migemo support, pull #42.
2011-11-30 16:42:19 +07:00
mattn
5f788e1910 only works in regexp mode. 2011-11-30 18:16:08 +09:00
Kien N
416978f80c Update docs with use_migemo option 2011-11-30 11:11:14 +07:00
Kien N
bd95edb8c7 Use Migemo to match Japanese filenames
* Thanks to Yasuhiro Matsumoto <github.com/mattn>
* Close $41.
2011-11-30 10:45:46 +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
052b48bff6 Option to follow symlinks
* Add an option to disable symlinks filtering.
* Simplify a few functions.
2011-11-22 13:38:26 +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
faff324fb7 Extend the nosplit option
* Accept filetypes in addition to bufnames.
2011-11-09 19:29:08 +07:00
Kien N
b028010343 Option to replace special buffers
* Add an option to open files in windows with a special buffer. Close #28.
2011-11-09 18:07:54 +07:00
Kien N
2f4d281eed Preserve neighboring windows' height
* Save the window heights and restore them later,
  prevent ctrlp from nudging the bottom (or top)
  windows when it opens.
* Escape whitespaces in path. Close #26.
2011-11-09 01:30:53 +07:00
Kien N
ae6f1592b4 Some improvements
* More graceful degradation for 700, 701
* Simplify insertcache()
* Correct SetWorkingPath()'s behavior
* Reserve Open-Multiple-Files for built-ins
2011-11-04 22:35:26 +07:00
Kien N
d87f9dd474 Update doc on creating extensions 2011-11-03 06:09:12 +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
b44a699d22 Some refactorings
* Shave off a few lines
* Extend `g:ctrlp_jump_to_buffer`
* Update docs
2011-10-22 21:57:29 +07:00
Kien N
1d85258cbc Add an option
An option to toggle the `jump-to-open-buffer` feature. Disabled by default.
2011-10-22 17:19:04 +07:00
Kien N
c785656628 Some refactorings 2011-10-21 08:27:48 +07:00
Kien N
8d99466502 Add a warning
`:e` cmd fails when buffer's been changed and user doesn't use `set autowriteall` or `set hidden`.
2011-10-20 17:54:39 +07:00
Kien N
eefc3cd4e1 clear foldcolumn 2011-10-20 04:09:44 +07:00
Kien N
06a388f4ec More note on using wildignore 2011-10-20 03:58:28 +07:00
Kien N
2fb98098c3 Some minor refactorings 2011-10-19 19:00:08 +07:00
Kien N
976a1025e0 keep cwd if reached max depth 2011-10-11 16:49:36 +07:00
Kien N
6ee4410612 Improve Open Multiple Files
Try not to open a new tab when using <c-o> to open marked files.
Option to move the match window to top of screen.
2011-10-09 09:30:16 +07:00
Kien N
000742dc0f Use VCS's list commands
:help g:ctrlp_user_command
2011-10-09 02:26:36 +07:00
Kien N
b7d87e1cfb Smarter OpenMulti() action 2011-10-08 21:42:18 +07:00
Kien N
c8d02c5902 Enhancements for prompt history and :CtrlP [start-dir]
Can now use <tab> to auto-complete the directory for the :CtrlP [starting-directory] command.
Prompt history: put last string into history as well (accepted or not).
Remove |g:ctrlp_persistent_input|, |g:ctrlp_live_update| and <c-^>.
2011-10-07 21:10:14 +07:00
Kien N
1a2c3ee8d2 Open Multiple Files
Use <c-z> to mark/unmark files and <c-o> to open them. You can enter new input strings and continue to mark more files. The list of marked files will be cleared upon exiting CtrlP.
2011-10-03 03:04:43 +07:00
Kien N
7d7e74b008 set history=0 to disable prompt's history 2011-09-29 20:49:07 +07:00
Kien N
0158e6406a <c-n>, <c-p> next/prev string in prompt's history 2011-09-29 19:15:33 +07:00
Kien N
a5396ff11a <c-y> creates a new file and the parent dirs 2011-09-28 21:53:55 +07:00
Kien N
97f797821f fix issue #13 on github 2011-09-28 20:42:52 +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
9b188b1369 small fix 2011-09-15 05:16:15 +07:00
Kien N
dd582ee9e0 update docs and some clean ups 2011-09-15 04:57:51 +07:00
Kien N
a07e9ffc3a correctly open split; fix arrow keys in term 2011-09-14 21:38:37 +07:00
Kien N
e311264c38 update docs on using wildignore 2011-09-14 00:17:20 +07:00
Kien N
c360f2db47 sorting and escaping 2011-09-13 08:27:27 +07:00
Kien N
d18767ec36 mentionwildignore 2011-09-12 05:49:42 +07:00
Kien N
1470144bcd update docs on using custom command 2011-09-12 04:26:18 +07:00
Kien N
ff56395a8f various changes 2011-09-11 23:53:32 +07:00
Kien N
7dbf68e96b option to clear cache uponexiting Vim 2011-09-11 01:54:07 +07:00
Kien N
fe5af5807f some clean up 2011-09-10 21:22:14 +07:00
Kien N
467b194d4b <c-w> correctly deletes inner word 2011-09-10 19:51:49 +07:00
Kien N
6fd7065d9e small performance increase 2011-09-10 17:07:48 +07:00
Kien N
c36e2d2f10 include dotfiles in search 2011-09-10 07:32:08 +07:00
Kien N
1fecf8bc3f .. input format and some refactorings 2011-09-09 19:55:24 +07:00
Kien N
1daeb3291d properly support wildignore 2011-09-09 04:39:59 +07:00
Kien N
68236f6ec9 update docs 2011-09-09 01:25:01 +07:00
Kien N
6339308c72 some clean up 2011-09-09 01:16:12 +07:00
Kien N
d8ca2990d2 refresh match window 2011-09-08 22:50:57 +07:00
Kien N
d17beb03f9 bug fix and clean up 2011-09-08 04:01:08 +07:00
Kien N
1c9a615111 udate docs 2011-09-07 22:10:52 +07:00
Kien N
fbcfec256e New feature: search most recently opened files 2011-09-07 21:41:43 +07:00
Kien N
e50970f80e update docs 2011-09-06 20:19:49 +07:00
Kien N
8d1ec536d3 optional root markers 2011-09-06 20:03:31 +07:00
Kien N
f823efefee some small edits 2011-09-06 06:30:54 +07:00
Kien N
4ca1ab9e37 some small changes 2011-09-05 21:59:18 +07:00
Kien N
bb8a2e19e4 update docs 2011-09-05 18:21:42 +07:00
Kien N
c51b7ecbfc add find buffers 2011-09-05 18:05:04 +07:00
Kien N
b6f15390b8 various changes 2011-08-22 09:14:00 +07:00