这个脚本是配置vim的配置文件,当然前提是安装了vim。
写这个脚本的目的:
- 学习git的使用,学会如何有效的管理代码;
- 学习github的使用,包括面板中各个功能;
- 学习vimscript脚本语言;
- 配置适合自己的vim编辑环境.
Summarize the daily use of the VIM plug-in
问题
如何改变vundle默认的插件下载目录?
定位
vundle的默认下载目录是$HOME/.vim/bundle
,在vundle.vim
文件中设定,如下:
" Initialize some global variables used by Vundle.
let vundle#bundle_dir = expand('$HOME/.vim/bundle', 1)
let vundle#bundles = []
let vundle#lazy_load = 0
let vundle#log = []
let vundle#updated_bundles = []
如何解决
思路:获取当前文件的路径,然后通过字符串运算来设定相对灵活的路径。
困难:不知道选取什么样的字符串函数才能达到预定效果。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.