Skip to content

yantao473/linux_vim

Repository files navigation

关于vim-airline 已经替换为轻量级的lightline
1. 安装vim-airline 时要安装 Plugin 'vim-airline/vim-airline-themes' 主题设置才起作用
2. linux 终端如果显示不正确需要安装字体,先git clone https://github.com/powerline/fonts.git, 在linux系统的fonts目录中mkdir powerline_fonts
将install.sh中脚本中linux 项的font_dir改为 font_dir='xxx/powerline_fonts'(xxx为你系统的字体目录), 当然可以直接将你喜欢的字体,直接copy到powerline_fonts目录中,
避免安装多余的字体, 最后配置终端的字体
3. copy c.vim $VIM/plugin/
4. windows下, 先用git下载字体,选一种喜欢的字体安装到系统中,然后设置,set guifont=DejaVu\ Sans\ Mono\ for\ Powerline:h13:cANSI (Dejavu Sans Mono for Powerline要替换为你安装的字体`)
5. 更多javascript eslint规范参照: https://www.npmjs.com/package/eslint-config-fornode

coc.nvim 配置:
:CocConfig 内直接输入的内容会保存到coc-settings.json中

{
  "suggest.noselect": false,
  "suggest.preferCompleteThanJumpPlaceholder": true,

    "languageserver": {
        "phplang": {
            "command": "php",
            "args": ["/usr/share/nvim/php-language-server/vendor/felixfbecker/language-server/bin/php-language-server.php"],
            "filetypes": ["php"]
        }
    }
}

coc 安装的扩展
1 * coc-pairs 1.2.15 ~/.config/coc/extensions/node_modules/coc-pairs                                                                                                      
2 * coc-emmet 1.1.3 ~/.config/coc/extensions/node_modules/coc-emmet
3 * coc-snippets 2.1.5 ~/.config/coc/extensions/node_modules/coc-snippets
4 * coc-highlight 1.2.3 ~/.config/coc/extensions/node_modules/coc-highlight
5 * coc-lists 1.1.16 ~/.config/coc/extensions/node_modules/coc-lists
6 + coc-phpls 2.0.6 ~/.config/coc/extensions/node_modules/coc-phpls
7 + coc-json 1.2.3 ~/.config/coc/extensions/node_modules/coc-json
8 + coc-html 1.2.1 ~/.config/coc/extensions/node_modules/coc-html
9 + coc-tsserver 1.3.13 ~/.config/coc/extensions/node_modules/coc-tsserver
10 + coc-tslint-plugin 1.0.5 ~/.config/coc/extensions/node_modules/coc-tslint-plugin
11 + coc-python 1.2.2 ~/.config/coc/extensions/node_modules/coc-python
12 + coc-css 1.2.2 ~/.config/coc/extensions/node_modules/coc-css    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published