junxnone / linux

Linux wiki
https://junxnone.github.io/linux/
0 stars 0 forks source link

Tools Text Vi #39

Open junxnone opened 5 years ago

junxnone commented 5 years ago

Vi

Install and Setup

1 使用自动化脚本获取插件并安装

wget -qO- https://raw.github.com/ma6174/vim/master/setup.sh | sh -x

2 设置侧边目录树 Nerdtree - F3 快捷键

o 打开文件/目录 s 以新窗口形式打开文件 ? 获取帮助

3 设置 Tagbar - F4 快捷键 - 查看 tag[函数/变量]

Reference

junxnone commented 5 years ago

pyflakes.vim plugin error

error log: the pyflakes.vim plugin requires Vim to be compiled with +python

git clone --recursive https://github.com/kevinw/pyflakes-vim.git
cd pyflakes-vim/ftplugin/
cp -R ./python/  ~/.vim/ftplugin/