Commit Graph

323 Commits

Author SHA1 Message Date
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
Kien N
6a3eecbda6 Enable default input for non-path
Close #218
2012-06-28 14:48:50 +07:00
Kien N
e2a180a41b Change versioning scheme 2012-06-23 06:33:26 +07:00
Kien N
cb86f0f386 Use the global caching option for extensions 2012-06-19 23:28:10 +07:00
Kien N
2310198033 Respect smartcase 2012-06-18 14:31:24 +07:00
Kien N
28d5e6f2cb Option to follow all symlinks indiscriminately
Close #215
2012-06-14 21:22:53 +07:00
Kien N
4b9c014460 Update docs 2012-06-14 11:36:21 +07:00
Kien N
4645d04a3c Slight sorting tweak 2012-06-06 09:23:07 +07:00
Kien N
b49cd99eea Make the markers unique 2012-06-05 15:51:02 +07:00
Lowe Thiderman
1f9e7e196d Fix root detection for new-style git submodules
In very recent versions of git, the submodule structure has changed. The .git
directory has been moved into the .git of super repo, and the .git in the
submodule is just a file with a relative path to the actual .git directory in
the supermodule.

Since this change, ctrlp will only find the super repo when running s:SetWD().
ctrlp will try to cache and search in all of your submodules, which quickly
becomes a problem if your project has many submodules.

This fix removes the trailing slash from the '.git/' entry in the markers list
in s:SetWD(), which makes ctrlp find the new-style submodule file before the
super repo.
2012-06-05 15:16:34 +07:00
Kien N
6801fa80dd Include ansi terms 2012-06-04 08:31:02 +07:00
Kien N
6a9fda9304 Option to clear the marks 2012-05-31 16:54:54 +07:00
Kien N
fcda2e4d59 Add a flag to jump to the first opened tab or window 2012-05-31 16:33:17 +07:00
Kien N
3e36061fbd Make <c-t>, <c-x>, <c-v> also open multiple files 2012-05-31 16:33:17 +07:00
Kien N
7581d159c9 Reuse normcmd's return 2012-05-31 16:33:17 +07:00
Kien N
b3d52edb01 Replace a few match() calls 2012-05-31 16:33:12 +07:00
Kien N
9b79b74c17 Support standard parent dir syntax 2012-05-31 15:49:45 +07:00
Kien N
96bd4b37f4 Use a custom pathshorten 2012-05-29 13:48:56 +07:00
Kien N
b1035a2c6d Disable autocmds when opening/closing 2012-05-20 13:08:46 +07:00