Problem:
The "useful mappings" override existing, arguably *more* useful
mappings.
Analysis:
Revert the commit.
This commit reverts commit 96678bcd99.
Testing:
Used the old mappings successfully.
Documentation:
No change - the reverted commit did not add/modify docs.
A user can set the following variables in their .vimrc.before.local file
to customise the key mappings:
g:spf13_edit_config_mapping
g:spf13_apply_config_mapping
the defaults are <leader>ev and <leader>sv respectively
<leader>ev is mapped to a function that opens the following files in a new tab
.vimrc
.vimrc.before
.vimrc.bundles
.vimrc.local
.vimrc.before.local
.vimrc.bundles.local
.vimrc.fork
.vimrc.before.fork
.vimrc.bundles.fork
<leader>sv is mapped to a function that reloads the spf13 config
Issue: If g:ctrlp_user_command have been customized, reloading .vimrc
with :so $MYVIMRC produces "E706: Variable type mismatch for:
g:ctrlp_user_command"
Currently `<Leader>a=` acting on the following:
````
a = b == 3
xyz = u == v
````
produces
````
a = b = = 3
xyz = u = = v
````
.. which is probably not what the user intended.
Since aligning `=` almost always refers to assignment, it makes sense to only align the first one.
This is the current implementation on http://vimcasts.org/e/14
The original one would not work for paths containing spaces or other strange characters.
If noninvasive completion is set, i get the following error:
Error detected while processing ~/.vimrc:
line 730:
E31: No such mapping
Press ENTER or type command to continue
To avoid this "no such mapping" error, instead of unmapping the commands for <CR> one can simply overwrite it with itself to reset it, which works regardless of wether the mapping existed or not.
NERDTree does'nt show directory which name containing '.git' '.svn' or '.hg'(e.g. 'cupen.github', 'a.svna').
The regx of `NERDTreeIgnore` was‘nt working right,I fixed it..
Because hiding characters is a terrible idea. I can't believe the JSON plugin actually does this by default but it does. This is apparently the proper way to disable it. Fixes#375.