<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                [TOC] ## github上start數目較多的vim配置 最近在重新配置Vim,也在GitHub上找了三個star和fork數目很高的方案,在這里分享給大家: * [https://github.com/amix/vimrc](https://github.com/amix/vimrc)?- star 3,482 ; Fork 1,203 * [https://github.com/humiaozuzu/dot-vimrc](https://github.com/humiaozuzu/dot-vimrc)?- star 781 ; Fork 304 * [https://github.com/spf13/spf13-vim](https://github.com/spf13/spf13-vim)?- star 5,287 ; Fork 1,593 * https://github.com/chxuan/vimplus ## 我是用的是vimplus GitHub: https://github.com/chxuan/vimplus 支持平臺: macos/linux ### 安裝vimplus ``` // 原來的鏈接 git clone https://github.com/chxuan/vimplus.git ~/.vimplus // github修改為鏡像的鏈接 git clone --depth=1 https://github.com.cnpmjs.org/chxuan/vimplus.git ~/.vimplus cd ~/.vimplus ./install.sh //不加sudo ``` ### 設置Nerd Font 為防止vimplus顯示亂碼,需設置mac終端字體為`Droid Sans Mono Nerd Font`。 ### 更新vimplus 緊跟vimplus的步伐,嘗鮮新特性 ``` ./update.sh ``` ## 出現過的問題 ### YCM編譯錯誤 出現過問題”YouCompleteMe unavailable: No module named ycmd”, 解決辦法 ``` cd ~/.vim/plugged/YouCompleteMe git pull git submodule update --init --recursive apt-get install python3-dev cmake ./install.sh --clang-completer ``` 如果是使用其他語言,官網也給出了安裝命令,不過也要安裝對應的開發語言環境: ``` C++: python3 install.py --clang-completer C#:install Mono and run python3 install.py --clangd-completer Go:install Go and run python3 install.py --go-completer JS and TypeScript:install Node.js and rpm and run python3 install.py --ts-completer Rust:python3 install.py --rust-completer Java:install JDK8 and python3 install.py --java-completer ``` 如果你想一勞永逸,也可以全部安裝,不過也需要把每種語言的環境都安裝好才可以: ``` python3 install.py --all ``` ### ubuntu16.04 更新安裝vimplus不成功 ``` sudo apt install --only-upgrade gnupg ``` ## C++頭文件找不到 vimplus安裝完畢之后,`~`目錄下將會生成兩個隱藏文件分別是.vimrc和.ycm_extra_conf.py,其中.vimrc是vim的配置文件,`.ycm_extra_conf.py`是ycm插件的配置文件,當你需要創建一個project時,**需要將.ycm_extra_conf.py拷貝到project的頂層目錄,通過修改該配置文件里面的`flags`變量來添加你的第三方庫路徑。** ## Ubuntu16.04安裝vimplus所遇到的坑 ### CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release 卸載python2只需一條語句就可以實現 ``` sudu apt-get remove python ``` ubuntu下安裝python3 ``` sudo apt-get install python3 ``` 但這樣只安裝了python3.4 要想使用python3.5,則必須升級python3.4 ``` sudo add-apt-repository ppa:fkrull/deadsnakes sudo apt-get update sudo apt-get install python3.5 ``` 使用以上三行命令便可升級python3.4到python3.5 啟動時要輸入python3.5 輸入python時啟動的是python2.7 輸入python3時啟動的是python3.4 輸入python3.5時啟動的才是python3.5
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看