Как использовать vim-youcompleteme

Вы также можете изменить клавишу X из командной строки (Terminal):

Gnome 2 (Ubuntu 11.10)

sudo apt-get install -y gconf2
gconftool-2 -t str --set /apps/metacity/general/mouse_button_modifier '<Super>'

Gnome 3 (Ubuntu 13.04)

[F2]
1
задан 27 October 2014 в 02:01

1 ответ

Попробуйте что-то вроде этого:

Поместите это вверху вашего .vimrc, чтобы использовать Vundle.

set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'


" All of your Plugins must be added before the following line
call vundle#end()            " required
filetype plugin indent on    " required

Запустите следующий, чтобы установить:

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
cd ~/.vim/bundle
git clone https://github.com/Valloric/YouCompleteMe.git
cd YouCompleteMe
git submodule update --init --recursive
./install.sh --clang-completer
1
ответ дан 24 May 2018 в 02:27

Другие вопросы по тегам:

Похожие вопросы: