-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove BufAdd hook for mrufiles.vim:record() #677
Open
gywn
wants to merge
112
commits into
kien:master
Choose a base branch
from
gywn:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prefers grouping words together, examples: app/assets/javascripts/common --- ------ > app/common app/models/group_user.rb --- ------ ---- > appmodelsuser
Make README screenshot narrower so it fits on the GitHub project home page The current screenshot as displayed on https://github.com/kien/ctrlp.vim is squished to fit within 722px, introducing aliasing and making the screenshot hard to read. This updated image is 720px, so it will fit, and provide a better first impression of ctrlp.vim to people visiting the project page. I produced this screenshot in Photoshop by effectively deleting some of the empty space in the middle. The window in the image might not be a realistically-sized one – its width might not be a multiple of the character cell width – but nobody will notice.
Buffer tags supported includes traits, methods, types, classes, objects, packages. In order to use this with Exuberant Ctags, the following needs to be added to ~/.ctags: --langdef=Scala --langmap=Scala:.scala --regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private|protected)?[ \t]*class[ \t]+([a-zA-Z0-9_]+)/\4/c,classes/ --regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private|protected)?[ \t]*object[ \t]+([a-zA-Z0-9_]+)/\4/c,objects/ --regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private|protected)?[ \t]*case class[ \t]+([a-zA-Z0-9_]+)/\4/c,case classes/ --regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private|protected)?[ \t]*case object[ \t]+([a-zA-Z0-9_]+)/\4/c,case objects/ --regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private|protected)?[ \t]*trait[ \t]+([a-zA-Z0-9_]+)/\4/t,traits/ --regex-scala=/^[ \t]*type[ \t]+([a-zA-Z0-9_]+)/\1/T,types/ --regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*def[ \t]+([a-zA-Z0-9_]+)/\3/m,methods/ --regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*val[ \t]+([a-zA-Z0-9_]+)/\3/l,constants/ --regex-scala=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*var[ \t]+([a-zA-Z0-9_]+)/\3/l,variables/ --regex-scala=/^[ \t]*package[ \t]+([a-zA-Z0-9_.]+)/\1/p,packages/
In Windows, some users set the Cygwin shell as their Vim shell, consider this before rewriting `cd` calls. Checking if `shellcmdflag` contains a backslash should catch all true windows shells. You can also check if &shell contains `sh`, but this seems more robust.
Added support for custom ancestors: g:ctrlp_custom_ancestors.
Make README screenshot narrower to fit
This creates the ability to add custom highlighting to CtrlP signs/marks if someone wishes to change them. It links back to the Search group to maintain backwards compatibility.
Added CtrlPMark highlight group
Translate documentation to Chinese
Check shell in Windows before assuming cmd.exe
Drop migemo
Update URLs in README to point to new repo
Support ordered processing of multiple g:ctrlp_working_path_mode specifications Clarify g:ctrlp_working_path_mode semantics in readme.md
Add ability to specify a custom ignore function, instead of just patterns
Support ctrlp_custom_ignore as function ref
Update the README to include an example.
… of each line. Default: '> '
Nomod (follow up to ctrlpvim#43)
added option g:ctrlp_line_prefix. Default: '> '
…han a global setting
Allows to manipulate the user's input string just before it is used with the matching algorithm.
Starting with commit 83397bd, when possible Ctrlp tries to autoselect a tag from from the `tselect` menu. This has a significant flaw though, as it does not select the correct tag when there are multiple tags with the same name in the same file, instead preferring to always use the last tag from that file. By matching not just on filename of the selected tag, but also on the tagaddress (generally a regex or linenumber), we ensure that the correct tag is always selected from the tselect prompt.
…into ggVgc-auto_open_single Conflicts: autoload/ctrlp.vim
Add function s:isneovimterminal
translate recent help doc changes
Add support for terminal buffers on neovim
Fix auto selection of tag from tselect menu for tags in the same file.
Documentation for ctrlp_line_prefix and ctrlp_open_single_match
Fix buffer mode to handle neovim terminal buffer properly (#106)
Correct misspellings
Add support for ant and tex files in buffertag
Add buffertag support for dosbatch, matlab and vhdl
&buffertype is define after BufAdd event. Hooking record() onto BufAdd will make getbufvar(..., '&bt') return empty string even for a help buffer.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
&buffertype is define after BufAdd event. Hooking record() onto BufAdd
will make getbufvar(..., '&bt') return empty string even for a help
buffer.