去年令人印象深刻的独立游戏 不只3A大作才好玩
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Results tagged with plugin-system
Search options answers only
not deleted
user 54
百度 存在这些问题的原因主要有:一是想错了。
For questions about Vim's plugin system. NOT for questions about a specific plugin (use the appropriate plugin-* tag) or questions that may require a plugin.
5
votes
Accepted
How do I list my current vim plugins without opening vim?
Since you appear to be using Vundle, you could simply grep your vimrc:
$ grep -c Plugin ~/.vimrc
1
vote
Accepted
cannot source file when trying to make a vim pluggin with python3
Use :python foo if you have +python and/or +python/dyn.
Use :python3 foo if you have +python3 and/or +python/dyn.
Since you only have +python3 there's no reason whatsoever to expect :python to work …
6
votes
How to update vim plugins with pathogen package manager?
Pathogen is not a plugin manager at all. Updating your plugins is your job and the best method depends entirely on how you installed those plugins.
If you want an actual plugin manager, try Neobundle …
1
vote
Check if a script is sourced
The "loaded" notion is quite a bit more complex than what you are envisioning.
First, the effect of sourcing a vimscript can only be reverted explicitly, by letting every variable or option to its pri …
5
votes
Accepted
When to use "set exrc" and local '.vimrc' in Vim, and how to manage plugins with multiple 'v...
First, set exrc is a prerequisite for using a local vimrc.
Second, assuming :help 'exrc' is enabled, your local vimrc is only read at startup, if you start Vim in the directory where you put it. Basic …
0
votes
How to save reference to function before overriding it?
Here is a slightly different approach to the problem…
Ask the maintainer of that "existing plugin" (better yet: do it yourself and send them a PR) to do Vim's equivalent of a "hook" upon completion of …
13
votes
Settings and plugins when root (`sudo vim`)?
Two things:
Use $ sudo -e file to edit file with $EDITOR. Add export EDITOR=/path/to/vim if $EDITOR is not already set.
Going vanilla is an excellent way to fight your plugin addiction.
12
votes
Accepted
Summary of functions in current file?
You could try either TagList or TagBar but such a list could be generated as needed (no third party tool or configuration needed) with a simple:
:g/func/#
See :help :global.
If you don't mind a li …
12
votes
What makes a plugin Vundle compatible and are other plugin managers interchangeable?
For a plugin to be Pathogen/Vundle/NeoBundle/Plug/VAM-compatible, it needs to follow the standard structure expected by Vim in your ~/.vim/ directory:
STANDARD STRUCTURE PLUGIN STRUCTURE
~ …
2
votes
How to design a command in a plugin that can be called from vimrc?
A list would IMO be the easiest solution:
let g:pluginname_my_operators = [
['cd', '/* ' . v:val . ' */'],
['cm', '<em>' . v:val . '</em>']
]
Check for g:pluginname_my_operators when you in …
28
votes
Accepted
How can I redefine plugin key mappings?
Plugins are sourced after your vimrc so there's no way to override a plugin mapping in your vimrc if the plugin doesn't provide a way to do so.
Placing your custom mapping in ~/.vim/after/plugin/mys …
2
votes
Accepted
How do I let the user of my plugin customize a custom highlight group I define?
The recommendation to use the ColorScheme autocommand comes from the fact that color schemes all start with hi clear, which effectively removes any previous hi definition, wherever, whenever, and who …
1
vote
Accepted
Why does the help suggest to end the lhs of a plug mapping with a semicolon?
If I understand the given example correctly, the purpose of that semicolon is to visually separate the <Plug> mapping from any subsequent command, as in the imaginary:
nmap xx <Plug>FooBarx " Is it …
1
vote
Accepted
How to noremap plugin functions that take arguments?
The point of <Plug>MyFunc (even better, <Plug>(MyFunc)) is to expose a ready-made "virtual mapping" that can then be remapped at will…
without forcing a default mapping onto the user that could confl …
2
votes
Accepted
How to use tmap with <Plug>?
So, there are a few issues with your example:
the two first lines are irrelevant if you don't also include the content of the imported script, because a) we have no idea what DoSomething() does and b …