From 7f24f5478ec752ed372458c0c71d009b0dcfb37b Mon Sep 17 00:00:00 2001 From: light <1870499383@qq.com> Date: Wed, 30 Jan 2019 17:16:51 +0800 Subject: [PATCH] update --- .gitignore | 0 LICENSE | 0 README.md | 0 cartographer/install.md | 22 ++++++++++++++++ csdn_markdown.md | 0 database/mysql.md | 13 ++++++++-- env/fzf.md | 10 ++++++++ env/sysmonitor.sh | 2 +- esp/build_code_with_micropython.md | 0 esp/emqtt.md | 0 esp/http | 0 gfw/shadowsockes.md | 0 git/change_repo.md | 0 git/gitlab_nginx.md | 0 git/install_git.md | 0 git/install_gitlab.md | 0 git/ssh_key.md | 0 go/gocode.md | 6 +++++ go/iris/source.md | 12 +++++++++ go/安装go1.4.md | 0 light.md | 0 markdown/add image.md | 0 markdown/csdn_markdown.md | 0 mongodb/auth.md | 0 mongodb/use.md | 0 ngrok/ngrok.md | 0 nodejs/install.md | 0 openstack/apt_download.sh | 0 openstack/docker.md | 1 + .../compute/cinder/api-paste.ini | 0 .../openstack_conf/compute/cinder/cinder.conf | 0 .../compute/cinder/logging.conf | 0 .../compute/cinder/rootwrap.conf | 0 .../compute/cinder/rootwrap.d/volume.filters | 0 .../compute/neutron/neutron.conf | 0 .../openstack_conf/compute/nova/api-paste.ini | 0 .../openstack_conf/compute/nova/logging.conf | 0 .../compute/nova/nova-compute.conf | 0 .../openstack_conf/compute/nova/nova.conf | 0 .../openstack_conf/compute/nova/rootwrap.conf | 0 .../compute/nova/rootwrap.d/compute.filters | 0 .../controller/keystone/credential-keys/0 | 0 .../controller/keystone/credential-keys/1 | 0 .../controller/keystone/fernet-keys/0 | 0 .../controller/keystone/fernet-keys/1 | 0 .../controller/neutron/neutron.conf | 0 .../controller/nova/api-paste.ini | 0 .../openstack_conf/controller/nova/nova.conf | 0 openstack/version.md | 6 +++++ python/ReformFileName.py | 0 python/command.md | 0 python/pyqt.md | 0 python/uncompyle2.md | 0 python/virtualenv.md | 0 rabbitmq/install.md | 0 raspberry/main.md | 0 raspberry/router.md | 0 raspberry/sound.md | 0 raspberry/wifi.md | 0 redis/配置.md | 3 +-- ros/env.md | 9 +++++++ .../iptables_examples_network_topology.png | Bin static/img/iptables_frame.png | Bin static/img/ssh_key.png | Bin static/img/test.jpg | Bin ubuntu/apt_source.md | 17 +++++++++++++ ubuntu/aria2.md | 0 ubuntu/install_nginx.md | 0 ubuntu/iptables.md | 0 ubuntu/iptables设置端口转发.md | 0 ubuntu/minicom.md | 0 ubuntu/nmap.md | 0 ubuntu/scp.md | 0 ubuntu/screen.md | 0 ubuntu/synergy.md | 6 +++++ ubuntu/ubuntu_install_pyqt4.md | 0 ubuntu/uget.md | 0 ubuntu/update-alternatives.md | 0 ubuntu/user.md | 24 ++++++++++++++++++ ubuntu/网络相关命令.md | 0 vim/vimrc | 16 +++++++----- vue/start_project.md | 0 82 files changed, 136 insertions(+), 11 deletions(-) mode change 100755 => 100644 .gitignore mode change 100755 => 100644 LICENSE mode change 100755 => 100644 README.md create mode 100644 cartographer/install.md mode change 100755 => 100644 csdn_markdown.md create mode 100644 env/fzf.md mode change 100755 => 100644 esp/build_code_with_micropython.md mode change 100755 => 100644 esp/emqtt.md mode change 100755 => 100644 esp/http mode change 100755 => 100644 gfw/shadowsockes.md mode change 100755 => 100644 git/change_repo.md mode change 100755 => 100644 git/gitlab_nginx.md mode change 100755 => 100644 git/install_git.md mode change 100755 => 100644 git/install_gitlab.md mode change 100755 => 100644 git/ssh_key.md create mode 100644 go/gocode.md create mode 100644 go/iris/source.md mode change 100755 => 100644 go/安装go1.4.md mode change 100755 => 100644 light.md mode change 100755 => 100644 markdown/add image.md mode change 100755 => 100644 markdown/csdn_markdown.md mode change 100755 => 100644 mongodb/auth.md mode change 100755 => 100644 mongodb/use.md mode change 100755 => 100644 ngrok/ngrok.md mode change 100755 => 100644 nodejs/install.md mode change 100755 => 100644 openstack/apt_download.sh mode change 100755 => 100644 openstack/openstack_conf/compute/cinder/api-paste.ini mode change 100755 => 100644 openstack/openstack_conf/compute/cinder/cinder.conf mode change 100755 => 100644 openstack/openstack_conf/compute/cinder/logging.conf mode change 100755 => 100644 openstack/openstack_conf/compute/cinder/rootwrap.conf mode change 100755 => 100644 openstack/openstack_conf/compute/cinder/rootwrap.d/volume.filters mode change 100755 => 100644 openstack/openstack_conf/compute/neutron/neutron.conf mode change 100755 => 100644 openstack/openstack_conf/compute/nova/api-paste.ini mode change 100755 => 100644 openstack/openstack_conf/compute/nova/logging.conf mode change 100755 => 100644 openstack/openstack_conf/compute/nova/nova-compute.conf mode change 100755 => 100644 openstack/openstack_conf/compute/nova/nova.conf mode change 100755 => 100644 openstack/openstack_conf/compute/nova/rootwrap.conf mode change 100755 => 100644 openstack/openstack_conf/compute/nova/rootwrap.d/compute.filters mode change 100755 => 100644 openstack/openstack_conf/controller/keystone/credential-keys/0 mode change 100755 => 100644 openstack/openstack_conf/controller/keystone/credential-keys/1 mode change 100755 => 100644 openstack/openstack_conf/controller/keystone/fernet-keys/0 mode change 100755 => 100644 openstack/openstack_conf/controller/keystone/fernet-keys/1 mode change 100755 => 100644 openstack/openstack_conf/controller/neutron/neutron.conf mode change 100755 => 100644 openstack/openstack_conf/controller/nova/api-paste.ini mode change 100755 => 100644 openstack/openstack_conf/controller/nova/nova.conf create mode 100644 openstack/version.md mode change 100755 => 100644 python/ReformFileName.py mode change 100755 => 100644 python/command.md mode change 100755 => 100644 python/pyqt.md mode change 100755 => 100644 python/uncompyle2.md mode change 100755 => 100644 python/virtualenv.md mode change 100755 => 100644 rabbitmq/install.md mode change 100755 => 100644 raspberry/main.md mode change 100755 => 100644 raspberry/router.md mode change 100755 => 100644 raspberry/sound.md mode change 100755 => 100644 raspberry/wifi.md mode change 100755 => 100644 redis/配置.md mode change 100755 => 100644 static/img/iptables_examples_network_topology.png mode change 100755 => 100644 static/img/iptables_frame.png mode change 100755 => 100644 static/img/ssh_key.png mode change 100755 => 100644 static/img/test.jpg create mode 100644 ubuntu/apt_source.md mode change 100755 => 100644 ubuntu/aria2.md mode change 100755 => 100644 ubuntu/install_nginx.md mode change 100755 => 100644 ubuntu/iptables.md mode change 100755 => 100644 ubuntu/iptables设置端口转发.md mode change 100755 => 100644 ubuntu/minicom.md mode change 100755 => 100644 ubuntu/nmap.md mode change 100755 => 100644 ubuntu/scp.md mode change 100755 => 100644 ubuntu/screen.md create mode 100644 ubuntu/synergy.md mode change 100755 => 100644 ubuntu/ubuntu_install_pyqt4.md mode change 100755 => 100644 ubuntu/uget.md mode change 100755 => 100644 ubuntu/update-alternatives.md create mode 100644 ubuntu/user.md mode change 100755 => 100644 ubuntu/网络相关命令.md mode change 100755 => 100644 vue/start_project.md diff --git a/.gitignore b/.gitignore old mode 100755 new mode 100644 diff --git a/LICENSE b/LICENSE old mode 100755 new mode 100644 diff --git a/README.md b/README.md old mode 100755 new mode 100644 diff --git a/cartographer/install.md b/cartographer/install.md new file mode 100644 index 0000000..c1cb00b --- /dev/null +++ b/cartographer/install.md @@ -0,0 +1,22 @@ +# install cartographer + +```bash +sudo apt-get update +sudo apt-get install -y \ + cmake \ + g++ \ + git \ + google-mock \ + libboost-all-dev \ + libcairo2-dev \ + libeigen3-dev \ + libgflags-dev \ + libgoogle-glog-dev \ + liblua5.2-dev \ + libprotobuf-dev \ + libsuitesparse-dev \ + libwebp-dev \ + ninja-build \ + protobuf-compiler \ + python-sphinx +``` diff --git a/csdn_markdown.md b/csdn_markdown.md old mode 100755 new mode 100644 diff --git a/database/mysql.md b/database/mysql.md index 1aba218..09487e7 100644 --- a/database/mysql.md +++ b/database/mysql.md @@ -11,7 +11,16 @@ cd ~ mkdir mysql cd mysql -docker run -p 3306:3306 --name mymysql -v ~/mysql/conf:/etc/mysql/conf.d -v ~/mysql/logs:/logs -v ~/mysql/data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=123456 -d mysql:5.6 +docker run -p 3306:3306 -p 8090:80 --name mymysql -v ~/mysql/conf:/etc/mysql/conf.d -v ~/mysql/logs:/logs -v ~/mysql/data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=123456 -d mysql:5.6 docker exec -i -t id /bin/bash -``` \ No newline at end of file +``` + + +## 可视化 + +```bash +docker pull quantumobject/docker-mywebsql +docker run --rm-p 8090:80 --name mywebsql quantumobject/docker-mywebsql +docker run -dit --name mywebsql --network=container:mymysql quantumobject/docker-mywebsql +``` diff --git a/env/fzf.md b/env/fzf.md new file mode 100644 index 0000000..e52fb96 --- /dev/null +++ b/env/fzf.md @@ -0,0 +1,10 @@ +# install fzf ag autojump + + +```bash +git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf +~/.fzf/install +sudo apt install silversearcher-ag +sudo apt install autojump +echo ". /usr/share/autojump/autojump.sh" >> ~/.zshrc +``` diff --git a/env/sysmonitor.sh b/env/sysmonitor.sh index 6f6f215..f17820f 100644 --- a/env/sysmonitor.sh +++ b/env/sysmonitor.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash sudo add-apt-repository ppa:fossfreedom/indicator-sysmonitor -y -sudo apt-get -y install indicator-sysmonitor \ No newline at end of file +sudo apt -y install indicator-sysmonitor diff --git a/esp/build_code_with_micropython.md b/esp/build_code_with_micropython.md old mode 100755 new mode 100644 diff --git a/esp/emqtt.md b/esp/emqtt.md old mode 100755 new mode 100644 diff --git a/esp/http b/esp/http old mode 100755 new mode 100644 diff --git a/gfw/shadowsockes.md b/gfw/shadowsockes.md old mode 100755 new mode 100644 diff --git a/git/change_repo.md b/git/change_repo.md old mode 100755 new mode 100644 diff --git a/git/gitlab_nginx.md b/git/gitlab_nginx.md old mode 100755 new mode 100644 diff --git a/git/install_git.md b/git/install_git.md old mode 100755 new mode 100644 diff --git a/git/install_gitlab.md b/git/install_gitlab.md old mode 100755 new mode 100644 diff --git a/git/ssh_key.md b/git/ssh_key.md old mode 100755 new mode 100644 diff --git a/go/gocode.md b/go/gocode.md new file mode 100644 index 0000000..3fef00a --- /dev/null +++ b/go/gocode.md @@ -0,0 +1,6 @@ +# gocode vim不更新提示 + +```bash +# 退出gocode 服务 +gocode exit +``` diff --git a/go/iris/source.md b/go/iris/source.md new file mode 100644 index 0000000..e9724f5 --- /dev/null +++ b/go/iris/source.md @@ -0,0 +1,12 @@ +# 源码分析 + + + +## 入口 + +```go +app := iris.New() + +app.Run(iris.Addr("0.0.0.0:8080")) + +``` diff --git a/go/安装go1.4.md b/go/安装go1.4.md old mode 100755 new mode 100644 diff --git a/light.md b/light.md old mode 100755 new mode 100644 diff --git a/markdown/add image.md b/markdown/add image.md old mode 100755 new mode 100644 diff --git a/markdown/csdn_markdown.md b/markdown/csdn_markdown.md old mode 100755 new mode 100644 diff --git a/mongodb/auth.md b/mongodb/auth.md old mode 100755 new mode 100644 diff --git a/mongodb/use.md b/mongodb/use.md old mode 100755 new mode 100644 diff --git a/ngrok/ngrok.md b/ngrok/ngrok.md old mode 100755 new mode 100644 diff --git a/nodejs/install.md b/nodejs/install.md old mode 100755 new mode 100644 diff --git a/openstack/apt_download.sh b/openstack/apt_download.sh old mode 100755 new mode 100644 diff --git a/openstack/docker.md b/openstack/docker.md index f70fdfa..8857643 100644 --- a/openstack/docker.md +++ b/openstack/docker.md @@ -4,4 +4,5 @@ ```bash docker run -dit --privileged --cap-add=ALL --network=host --name=controller -h controller -v /lib/modules:/lib/modules openstack_base:rocky_ovs docker run -dit --privileged --cap-add=ALL --network=host --name=compute -h compute -v /lib/modules:/lib/modules openstack_compute:rocky_ovs +docker run -dit --privileged --cap-add=ALL --network=host --name=cinder -h cinder -v /lib/modules:/lib/modules openstack_cinder:dscloud ``` diff --git a/openstack/openstack_conf/compute/cinder/api-paste.ini b/openstack/openstack_conf/compute/cinder/api-paste.ini old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/compute/cinder/cinder.conf b/openstack/openstack_conf/compute/cinder/cinder.conf old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/compute/cinder/logging.conf b/openstack/openstack_conf/compute/cinder/logging.conf old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/compute/cinder/rootwrap.conf b/openstack/openstack_conf/compute/cinder/rootwrap.conf old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/compute/cinder/rootwrap.d/volume.filters b/openstack/openstack_conf/compute/cinder/rootwrap.d/volume.filters old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/compute/neutron/neutron.conf b/openstack/openstack_conf/compute/neutron/neutron.conf old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/compute/nova/api-paste.ini b/openstack/openstack_conf/compute/nova/api-paste.ini old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/compute/nova/logging.conf b/openstack/openstack_conf/compute/nova/logging.conf old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/compute/nova/nova-compute.conf b/openstack/openstack_conf/compute/nova/nova-compute.conf old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/compute/nova/nova.conf b/openstack/openstack_conf/compute/nova/nova.conf old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/compute/nova/rootwrap.conf b/openstack/openstack_conf/compute/nova/rootwrap.conf old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/compute/nova/rootwrap.d/compute.filters b/openstack/openstack_conf/compute/nova/rootwrap.d/compute.filters old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/controller/keystone/credential-keys/0 b/openstack/openstack_conf/controller/keystone/credential-keys/0 old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/controller/keystone/credential-keys/1 b/openstack/openstack_conf/controller/keystone/credential-keys/1 old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/controller/keystone/fernet-keys/0 b/openstack/openstack_conf/controller/keystone/fernet-keys/0 old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/controller/keystone/fernet-keys/1 b/openstack/openstack_conf/controller/keystone/fernet-keys/1 old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/controller/neutron/neutron.conf b/openstack/openstack_conf/controller/neutron/neutron.conf old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/controller/nova/api-paste.ini b/openstack/openstack_conf/controller/nova/api-paste.ini old mode 100755 new mode 100644 diff --git a/openstack/openstack_conf/controller/nova/nova.conf b/openstack/openstack_conf/controller/nova/nova.conf old mode 100755 new mode 100644 diff --git a/openstack/version.md b/openstack/version.md new file mode 100644 index 0000000..6309132 --- /dev/null +++ b/openstack/version.md @@ -0,0 +1,6 @@ +# version + +```bash +apt install software-properties-common +add-apt-repository cloud-archive:rocky +``` diff --git a/python/ReformFileName.py b/python/ReformFileName.py old mode 100755 new mode 100644 diff --git a/python/command.md b/python/command.md old mode 100755 new mode 100644 diff --git a/python/pyqt.md b/python/pyqt.md old mode 100755 new mode 100644 diff --git a/python/uncompyle2.md b/python/uncompyle2.md old mode 100755 new mode 100644 diff --git a/python/virtualenv.md b/python/virtualenv.md old mode 100755 new mode 100644 diff --git a/rabbitmq/install.md b/rabbitmq/install.md old mode 100755 new mode 100644 diff --git a/raspberry/main.md b/raspberry/main.md old mode 100755 new mode 100644 diff --git a/raspberry/router.md b/raspberry/router.md old mode 100755 new mode 100644 diff --git a/raspberry/sound.md b/raspberry/sound.md old mode 100755 new mode 100644 diff --git a/raspberry/wifi.md b/raspberry/wifi.md old mode 100755 new mode 100644 diff --git a/redis/配置.md b/redis/配置.md old mode 100755 new mode 100644 index 8414ba8..d085310 --- a/redis/配置.md +++ b/redis/配置.md @@ -88,6 +88,5 @@ esac ``` bash docker pull redis -mkdir /db/redis/ docker run -p 127.0.0.1:6379:6379 --name myredis -v /db/redis/:/data -d redis redis-server --appendonly yes --requirepass "abc123456" -``` \ No newline at end of file +``` diff --git a/ros/env.md b/ros/env.md index 85644e7..60447fa 100644 --- a/ros/env.md +++ b/ros/env.md @@ -21,3 +21,12 @@ cd .. catkin_make ``` + + +## 安装依赖包 + +```bash + +rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y + +``` diff --git a/static/img/iptables_examples_network_topology.png b/static/img/iptables_examples_network_topology.png old mode 100755 new mode 100644 diff --git a/static/img/iptables_frame.png b/static/img/iptables_frame.png old mode 100755 new mode 100644 diff --git a/static/img/ssh_key.png b/static/img/ssh_key.png old mode 100755 new mode 100644 diff --git a/static/img/test.jpg b/static/img/test.jpg old mode 100755 new mode 100644 diff --git a/ubuntu/apt_source.md b/ubuntu/apt_source.md new file mode 100644 index 0000000..0b36538 --- /dev/null +++ b/ubuntu/apt_source.md @@ -0,0 +1,17 @@ +# apt 源 + +## ubuntu 18.04 + +```bash +deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted +deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted +deb http://mirrors.aliyun.com/ubuntu/ bionic universe +deb http://mirrors.aliyun.com/ubuntu/ bionic-updates universe +deb http://mirrors.aliyun.com/ubuntu/ bionic multiverse +deb http://mirrors.aliyun.com/ubuntu/ bionic-updates multiverse +deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse +deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted +deb http://mirrors.aliyun.com/ubuntu/ bionic-security universe +deb http://mirrors.aliyun.com/ubuntu/ bionic-security multiverse + +``` diff --git a/ubuntu/aria2.md b/ubuntu/aria2.md old mode 100755 new mode 100644 diff --git a/ubuntu/install_nginx.md b/ubuntu/install_nginx.md old mode 100755 new mode 100644 diff --git a/ubuntu/iptables.md b/ubuntu/iptables.md old mode 100755 new mode 100644 diff --git a/ubuntu/iptables设置端口转发.md b/ubuntu/iptables设置端口转发.md old mode 100755 new mode 100644 diff --git a/ubuntu/minicom.md b/ubuntu/minicom.md old mode 100755 new mode 100644 diff --git a/ubuntu/nmap.md b/ubuntu/nmap.md old mode 100755 new mode 100644 diff --git a/ubuntu/scp.md b/ubuntu/scp.md old mode 100755 new mode 100644 diff --git a/ubuntu/screen.md b/ubuntu/screen.md old mode 100755 new mode 100644 diff --git a/ubuntu/synergy.md b/ubuntu/synergy.md new file mode 100644 index 0000000..d34f476 --- /dev/null +++ b/ubuntu/synergy.md @@ -0,0 +1,6 @@ +# synergy + +```bash +sudo apt install synergy +sudo apt-get install sni-qt +``` diff --git a/ubuntu/ubuntu_install_pyqt4.md b/ubuntu/ubuntu_install_pyqt4.md old mode 100755 new mode 100644 diff --git a/ubuntu/uget.md b/ubuntu/uget.md old mode 100755 new mode 100644 diff --git a/ubuntu/update-alternatives.md b/ubuntu/update-alternatives.md old mode 100755 new mode 100644 diff --git a/ubuntu/user.md b/ubuntu/user.md new file mode 100644 index 0000000..34f032a --- /dev/null +++ b/ubuntu/user.md @@ -0,0 +1,24 @@ +# user + + +## create user + +```bash +useradd git + +# 制定用户默认的shell +chsh git -s /bin/bash + + +# 更改权限 +chown -R git:git /home/git +``` + + + +## auth + +```bash +## 只修改文件权限 -type d 为修改目录权限 +find workspace -type f -exec chmod 644 {} \; +``` diff --git a/ubuntu/网络相关命令.md b/ubuntu/网络相关命令.md old mode 100755 new mode 100644 diff --git a/vim/vimrc b/vim/vimrc index fbf82ff..99084fc 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -9,12 +9,15 @@ Plugin 'VundleVim/Vundle.vim' Plugin 'junegunn/fzf.vim' +" 搜索 nmap l :BLines nmap L :Lines +" 全局搜索,即使文件没打开 Plugin 'rking/ag.vim' +" 新建文件自动添加模板 Plugin 'aperezdc/vim-template.git' let g:templates_directory = '~/.vim/templates' @@ -73,7 +76,7 @@ set updatetime=100 Plugin 'godlygeek/tabular' Plugin 'plasticboy/vim-markdown' -Plugin 'suan/vim-instant-markdown' +"Plugin 'suan/vim-instant-markdown' Plugin 'Valloric/YouCompleteMe' @@ -83,8 +86,8 @@ let g:ycm_collect_identifiers_from_tags_files = 1 " 开启 YCM基于 "let g:syntastic_ignore_files=[".*\.py$"] let g:ycm_seed_identifiers_with_syntax = 1 " 语法关键字补全 let g:ycm_confirm_extra_conf = 0 " 关闭加载.ycm_extra_conf.py提示 -let g:ycm_key_list_select_completion = ['', ''] " 映射按键,没有这个会拦截掉tab, 导致其他插件的tab不能用. -let g:ycm_key_list_previous_completion = ['', ''] +let g:ycm_key_list_select_completion = [''] " 映射按键,没有这个会拦截掉tab, 导致其他插件的tab不能用. +let g:ycm_key_list_previous_completion = [''] let g:ycm_complete_in_comments = 1 " 在注释输入中也能补全 let g:ycm_complete_in_strings = 1 " 在字符串输入中也能补全 let g:ycm_collect_identifiers_from_comments_and_strings = 1 " 注释和字符串中的文字也会被收入补全 @@ -103,7 +106,7 @@ let g:SuperTabDefaultCompletionType = "" " xml html auto close Plugin 'alvan/vim-closetag' let g:jedi#documentation_command = "" -let g:closetag_filenames = '*.html,*.xhtml,*.phtml,*.launch' +let g:closetag_filenames = '*.html,*.xhtml,*.phtml,*.launch,*.vue' Plugin 'jiangmiao/auto-pairs' @@ -207,9 +210,10 @@ Plugin 'posva/vim-vue' "Plugin 'https://github.com/taketwo/vim-ros.git' +Plugin 'ctrlpvim/ctrlp.vim' - - +Plugin 'terryma/vim-multiple-cursors' +"Plugin 'Shougo/neocomplete.vim' call vundle#end() " required diff --git a/vue/start_project.md b/vue/start_project.md old mode 100755 new mode 100644