Commit Graph

341 Commits

Author SHA1 Message Date
Kien N
f1acbbc503 Further reduce MRU saving
Only save once when a new entry is added.
2012-11-26 06:38:15 +07:00
mattn
f9ada48b58 Allow x_func options to be defined using dict functions
Closes #319
2012-11-22 16:55:18 +07:00
Kien N
4f7d0a30f4 Add an option for saving the MRU list on every update
Closes #317
2012-11-21 01:35:00 +07:00
Jo De Boeck
92b0774d35 Make ctrlp#call return the result
This is useful to make extensions/custom match functions to execute
internal methods like MatchIt

Closes #315
2012-11-17 07:09:30 +07:00
Kien N
7251d9dce8 Re-resize to work around windows with winfixheight set
Rix #302
2012-10-24 19:25:28 +07:00
Zahary Karadjov
1757bade78 Display some status indicators in Buffer mode
Closes #283
2012-09-21 10:17:45 +07:00
Kien N
3c6182371d Move the completion function 2012-09-20 19:12:54 +07:00
Kien N
bedfa3b6c3 Use a custom completion function 2012-09-20 18:00:16 +07:00
Kien N
10bbbfa7ba Improve filename and path escaping
Refs #281
2012-09-20 17:51:51 +07:00
Kien N
51e26144c5 Expose the marked list 2012-09-18 10:52:26 +07:00
Kien N
20f6e4097c Simplify some conditional expressions 2012-09-15 13:32:38 +07:00
Kien N
985c3b3541 Toggle &imdisable 2012-09-15 13:14:27 +07:00
Kien N
0d198fb507 Remove unneeded variables 2012-09-15 12:04:55 +07:00
Kien N
91a0dc5fa5 Match the tag pattern with "very nomagic"
Refs #272
2012-09-15 12:03:53 +07:00
Kien N
5bded09b77 Input abbreviations 2012-09-14 16:44:07 +07:00
Kien N
b3334eb659 Escape cmd.exe reserved chars 2012-09-14 16:43:49 +07:00
mattn
6089090b85 Option for typing multi-byte and accented characters
Closes #276
2012-09-14 16:43:47 +07:00
Kien N
6dae84fd23 Support using a one-time value for some options
Refs #273
2012-09-11 21:01:01 +07:00
Kien N
c3eba28192 Remove an obsolete command 2012-09-11 21:01:01 +07:00
Kien N
4a66d00bc9 Add b:var support for some options
Refs #273
2012-09-11 21:00:59 +07:00
Kien N
f66f4e8503 Rename g:ctrlp_dotfiles and change its default value 2012-09-11 21:00:35 +07:00
Kien N
32ac8d27cb Save the current cursor position before jumping
Closes #272
2012-09-11 20:58:38 +07:00
Kien N
767368d5e7 Also split if the buffer isn't writable 2012-09-06 10:13:34 +07:00
Kien N
1fd3760b94 Make LastMode also be able to restore last working directory 2012-09-06 10:13:26 +07:00
Kien N
4557b5e542 Change working_path_mode option's default value 2012-09-06 10:13:18 +07:00
Kien N
309d29d0c7 Extend the ability to jump to existing buffers
Refs #268
2012-09-02 18:29:05 +07:00
Kien N
44347fec88 Splitting instead of hiding
When the active buffer has been modified, instead of using :hide, open a new
split for the new buffer if `confirm`, `hidden`, `autowrite` and `autowriteall`
are all off.
2012-09-02 18:26:02 +07:00
Kien N
b50b5a6806 Option to :lcd into the selected file's directory
The problem: sometimes I want to open a few files in a directory that hasn't
been bookmarked, but I opened a different file in the same directory sometime
earlier and the file can be found in the MRU list.
2012-08-30 10:38:20 +07:00
Kien N
1c05a664b1 Map some characters in the extended ASCII range
Rewrite the mapping functions and add basic support for typing accented
characters with press-and-hold type modifier keys and with keyboards
that include accented characters on their own keys.

Note that using dead keys is not possible due to the required small
timeoutlen (0).
2012-08-23 13:28:23 +07:00
Kien N
b7cb2f539d More specific default ignore rules 2012-08-19 23:31:22 +07:00
Kien N
43ab14f8fe Small tweaks for tag and buffertag 2012-08-18 09:50:13 +07:00
Christopher
2bac5d9cca Make the circumflex and the dollar sign optional...
...when parsing the pattern part of the ctags output

http://pubs.opengroup.org/onlinepubs/009695399/utilities/ctags.html#tag_04_30_12

Closes #257
2012-08-18 09:38:02 +07:00
Kien N
46afd98e19 Account for perma cache when use_caching is bigger than 1 2012-08-14 20:23:13 +07:00
Kien N
08375f24d2 Allow manually adding MRU entries 2012-08-14 17:58:43 +07:00
Kien N
398f6036a8 Disable the default <c-h> mapping for all non-GUI Vim
To avoid confusion and to reduce the number of unnecessary bug reports/feature
requests regarding <c-h> and <bs> in terminals.

Previously only disabled for console Vim on Windows.
2012-08-13 07:50:37 +07:00
Kien N
a3dbd8c519 Store cachefile's modified time 2012-08-08 14:48:56 +07:00
Kien N
093b1c2325 Option to use the ignore options for g:ctrlp_user_command
* Not recommended as it'll likely increase the total indexing time and defeat
  the purpose of using custom commands, but should be an option for convenience.
  Also, mention the default (of not applying ignore options) more explicitly
  in the docs to reduce the number of unnecessary bug reports.

* Add a note about E706.
2012-08-07 10:19:57 +07:00
Kien N
188de26f74 Rewrite WD related functions
* Equal priority for default root markers. Closes #241.
* Change g:ctrlp_working_path_mode's type.
2012-07-21 21:35:26 +07:00
Kien N
f14014d0a7 Option for using custom file opening functions
Refs #232
2012-07-21 11:01:39 +07:00
Kien N
744e7be635 Check the mode first 2012-07-18 10:15:42 +07:00
Kien N
c01e1b6d71 Add a condition for switch_buffer
Fixes #233
2012-07-14 12:50:14 +07:00
Kien N
26c6f268c7 Improve s:findcount()
Fixes #235
2012-07-13 18:06:32 +07:00
Kien N
bf3f6cb2b1 Remove redundant fnamemodify() calls 2012-07-13 18:05:41 +07:00
Kien N
455cadb0a0 Improve OpenSelected 2012-07-13 18:05:40 +07:00
Kien N
74155db2ef Use %{} to evaluate the cwd displayed on the statusline
In case the cwd has %'s in it, resulting in a messed up looking cwd.
2012-07-09 18:43:05 +07:00
Kien N
4d5b39c0cf Version 1.78 2012-07-08 09:58:31 +07:00
Kien N
da09f4b415 Extend tabpage_position 2012-07-07 09:21:24 +07:00
Kien N
5e4bfa660b Option to change the new tabpage's position
Close #225
2012-07-06 12:28:29 +07:00
Kien N
f837c34774 Fix a typo 2012-06-30 20:28:14 +07:00
Kien N
5885da54be Enable <c-o> when s:marked doesn't exist
Close #221
2012-06-29 18:39:45 +07:00