Commit Graph

363 Commits

Author SHA1 Message Date
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
Kien N
b830093e3f Open all files as hidden buffers 2012-05-14 19:19:08 +07:00
Kien N
4a4900ff09 Fix #200 2012-05-14 18:53:36 +07:00
Kien N
2826589dc6 Ver bump 2012-05-10 21:00:29 +07:00
Kien N
34881d22cd Paste from registers 2012-05-10 20:55:06 +07:00
Kien N
bfbbbafa86 Extend '..' input 2012-05-10 20:39:13 +07:00
Kien N
a9262720c1 Use @cd like :cd 2012-05-10 09:38:33 +07:00
Kien N
3e83d624bb Separate filename and path
Close #183
2012-05-08 21:22:46 +07:00
Kien N
4eae56d817 Adjust a change in 5042a5d 2012-05-08 20:22:19 +07:00
Kien N
5042a5d0de Misc 2012-05-05 19:30:08 +07:00
Kien N
80bc9cea8c Preserve v:errmsg 2012-05-03 08:35:21 +07:00
mattn
59aa11f49f Avoid to start on cmdwin. 2012-05-03 02:22:34 +09:00
Kien N
dc12e57ded Tweak tags filter 2012-05-02 03:25:30 +07:00
Seth Fowler
f8f8f56fae Fixed an issue that caused a large number of errors in the 'tag' plugin if a tagfile was empty. 2012-05-02 02:45:28 +07:00
Kien N
e61e7d5b80 Ver bump 2012-04-22 08:43:02 +07:00
Kien N
93ab44a31d Some clean ups 2012-04-22 08:42:05 +07:00
Kien N
9f5e949d66 Default behavior for arg_map 2012-04-22 02:10:48 +07:00
Kien N
d4e658caa9 Better option handling 2012-04-22 02:08:18 +07:00
Kien N
4852c3214b Silently open files 2012-04-21 13:58:02 +07:00
Kien N
269a3f1350 Only when using globpath() 2012-04-21 13:03:36 +07:00
Kien N
5dfe7f245b One mapping...
...to rule them all, one mapping to find them,
One mapping to bring them all and in the darkness bind them.
2012-04-21 08:38:29 +07:00
Kien N
008ad743e9 Hint and default ignores 2012-04-20 22:28:50 +07:00
Kien N
5292020781 Lower raw length's priority 2012-04-20 09:08:12 +07:00
Kien N
2e590e3b02 Fix var type 2012-04-20 07:35:45 +07:00
Kien N
60b9d44313 Expand default input if is string 2012-04-20 07:21:54 +07:00
Kien N
aca1f9db97 Don't sort 1, 2 if prompt's empty 2012-04-20 07:20:50 +07:00
Kien N
fa2d745b5d Get lines from buffers first 2012-04-19 17:53:45 +07:00
Kien N
d39b7b014d Insert filename under the cursor (like gf) 2012-04-19 16:38:52 +07:00
Kien N
c747af3ae6 Tweak MRE buffer sorting 2012-04-19 10:59:56 +07:00
Kien N
75ef943c35 Option to disable sorting in MRU mode
Close #177
2012-04-18 03:29:47 +07:00
Kien N
0b3173e021 Tweak mru and buffer sorting 2012-04-16 23:06:23 +07:00
Kien N
b41dbb68ba Don't need to check pathmode 2012-04-16 13:09:48 +07:00
Kien N
b3d9e480c8 Save bookmarks before exiting 2012-04-16 11:41:26 +07:00
Kien N
93414deb65 Use a few curly braces variables 2012-04-16 11:40:21 +07:00
Kien N
863996ce26 Change bookmarkdir's cache 2012-04-15 02:00:06 +07:00
Kien N
43915113db Check matchlist's result 2012-04-14 13:44:05 +07:00
Kien N
f534dab9bd Skip non-existent files 2012-04-14 13:20:54 +07:00
Kien N
aba33190b6 Allow remarking regular lines if needed 2012-04-14 13:10:22 +07:00
Kien N
d1ad73559e Use sorting functions selectively 2012-04-14 12:31:50 +07:00
Kien N
eddd3091c9 Map <MiddleMouse> to paste-from-clipboard action
Refs #176
2012-04-14 03:41:37 +07:00
Kien N
c8fbd773b4 Give last-modified-time higher priority in MRU mode
Refs #177
2012-04-14 03:41:37 +07:00
Kien N
ccf90bfd8c Nuke the ControlP buffer before leaving 2012-04-13 17:54:08 +07:00
Kien N
d6e5c56b04 Add BookmarkDir extension
Literally the only thing I was still using NERDTree for, so figured I'd bring it to CtrlP.
2012-04-13 14:30:36 +07:00
Kien N
e94a5e78e7 Allow using F7 in extensions 2012-04-13 09:58:37 +07:00
Kien N
13cf37f106 Apply case sensitivity option when deleting 2012-04-13 09:58:24 +07:00
Kien N
9cf53d959b Add a few local vars 2012-04-11 01:19:10 +07:00
Kien N
cb25e84cce Limit default input to path related modes 2012-04-09 01:21:50 +07:00
Kien N
1dfd1e1b84 Downgrade CtrlPLastMode 2012-04-08 22:56:07 +07:00
Kien N
349e5afc4f Generalize getting extension vars 2012-04-08 12:08:01 +07:00
Kien N
194987f331 Fix last entered sorting 2012-04-08 08:18:53 +07:00
Kien N
6863e650d4 Use bufnr directly 2012-04-08 07:33:04 +07:00
Kien N
9c88549e8b Version bump 2012-04-08 06:42:54 +07:00
Kien N
ba7c2048a2 Get a separate buffer list 2012-04-08 06:33:05 +07:00
Kien N
f1dd272388 Revert "Keep s:mrufs separated"
This reverts commit fec6cf52ef.
2012-04-08 05:08:35 +07:00
Kien N
59f64d698b Preset ext_vars 2012-04-07 18:55:23 +07:00
Kien N
9f0cd39ea9 Add buffer_func option 2012-04-07 18:42:31 +07:00
Kien N
a14bbe0737 Reorganize syntax stuff 2012-04-07 09:01:06 +07:00
Kien N
c62259c201 Add buffers into the mix 2012-04-07 07:58:44 +07:00
Kien N
2cedde3400 Only read from cache when necessary 2012-04-06 22:00:10 +07:00
Kien N
b1a688fc2f Use s:dyncwd more 2012-04-06 04:42:05 +07:00
Kien N
045b66a6ab Remix when MRU list changes 2012-04-06 00:18:13 +07:00