Commit Graph

337 Commits

Author SHA1 Message Date
Kien N
c82ebb6b32 Faster tag.vim
* Discard all time consuming tasks when initializing tag.vim - #27.
2011-12-01 12:59:14 +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
15c8c25d4e Fix str and cmd order 2011-11-30 16:51:33 +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
mattn
53c83b158a treat multiple pattern for migemo. 2011-11-30 18:15:32 +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
8807669cef Merge branch 'migemo' of https://github.com/mattn/ctrlp.vim 2011-11-30 10:30:33 +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
mattn
61c237ca51 enable migemo search. 2011-11-30 10:47:00 +09:00
mattn
6167a1f7da use silent! to graceful redraw. 2011-11-30 10:25:37 +09:00
Kien N
d37ab0da56 Preserve local 'tags' option
* Save and restore &l:tags when creating a new buffer,
  workaround for easytags.vim changing the buffer's &l:tags
  and allow using <c-x> <c-t> <c-v> and <cr> to open file.
* New caching method, remove the need for <F5>.
* Continue #27.
2011-11-29 18:05:25 +07:00
Kien N
d6504d2eb5 Pass s:tagfiles to tag.vim
* Pass s:tagfiles and path of the current buffer to tag.vim
  to properly expand '.' in the 'tags' option. Continue #27.
2011-11-29 07:12:58 +07:00
Kien N
a4b8d4cd38 Get tag files with Vim's tagfiles()
Continue #27.
2011-11-28 22:36:13 +07:00
Kien N
c3b316a5a1 Change 'updatetime' handling
* Only change 'updatetime' if lazy_update is enabled.
  Continue #27 and #37.
2011-11-28 21:02:13 +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
dee2f5a998 Hide active buffer
* Don't show active buffer in buffer list
* Remove compword()

Patches by Simon Ruderich
2011-11-23 01:38:21 +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
dffd8692d8 Fix path when creating new file
* Overlooked after changing from :chd to :lcd. Close #34.
2011-11-14 21:23:11 +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
72b7ab4883 Correct normcmd()'s behavior
* Broken if nosplit is empty
2011-11-09 19:57:34 +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
b6764d7c0a Fix sorting by match length
* Broken by previous commit.
2011-11-09 01:55:59 +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
087c64efcd Handling modified buffer
Always split a new window instead of prompting for saving.
Continue #25.
2011-11-07 03:24:48 +07:00
Kien N
8c8e24e151 Add a save dialog
Close #25
2011-11-07 01:44:02 +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
9dcef3db12 Remove :botright
Remove :botright from default opening commands. Let user decides how to move the newly created window, if needed.
Close #24
2011-11-04 20:49:51 +07:00
Kien N
d24ed9c5a9 Restore clearcache() 2011-11-04 18:53:15 +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
d87f9dd474 Update doc on creating extensions 2011-11-03 06:09:12 +07:00
Kien N
5dd5e526c0 Update readme 2011-10-30 14:14:56 +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
f3edbfbe56 fix :str$ and toggling modes 2011-10-12 04:48:37 +07:00
Kien N
976a1025e0 keep cwd if reached max depth 2011-10-11 16:49:36 +07:00
Kien N
a7dbff85d2 fix for issue #18 2011-10-10 16:16:40 +07:00
Kien N
7d8b4d8f78 fix an issue with sign unplace 2011-10-09 16:27:23 +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