vim-zsh-tmux environment configuration

Because the PC is ready to go to the overall environment under Linux, so be prepared to make a record to record some of Kiki in Linux to configure plug-ins or strange environment. After taking into account the work might not have permission to su, so far as possible the overall installation source compiler way, but would be more to eat configure, compile, or in some cases take longer, try not in a virtual machine.

ZSH

Original Address
there may be a problem:

You may need to install a package called 'curses-devel' or 'ncurses-devel' on your system. 

Baidu know related content
will generally when there is this library, source code installation can also be used: Link

Some of my former practice and bloggers are not the same in the final set as the default shell, I modified the ~ / .bashrc relevant content, that start and then start the bash zsh
default zsh is not displayed absolute path only displays the current directory the name, which is more uncomfortable;
modification method


TMUX

Original Address
Of course, the location of the original bloggers have installed a Diudiu strange, it is possible to modify the installation location to a suitable location at the time of ./configure.
tmux relatively simple to install good should be no need for additional configuration, of course, are interested can also change keys handy place to
remember the tmux added to ~ / .bashrc or ~ / .zshrc in this way is that every time you start in the environment tmux
tutorial


VIM

vim can indeed count the entire bulk of the configuration, detailed Nongnong spend a whole day is not impossible. Among the most annoying vim should count youcompleteme configuration, my approach may not all work.

First, we need a support python / python3 of vim, to version> = 7.4.1578
directly after opening the vim :versionView version

Note python / python3 before to have a plus sign, or need to reinstall the vim
of course, we assume that the future work environment will take the initiative to provide support for the python vim, otherwise source installation is too much trouble, not here started

apt-get install python vim support of:
uninstall: sudo apt remove vim
install:sudo apt install vim-nox

Configuration vim first step:

Installation Vundle

github address
tutorial is quite detailed, it is simply the first

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

Then in ~ / .vimrc topmost add such a passage

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
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList       - lists configured plugins
" :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line

Then save, then :PluginInstall
Vundle installation is complete.

After that highlight:

YouCompleteMe

github address
First, add the corresponding configuration in the vundle

Plugin 'Valloric/YouCompleteMe'

Install two types of source code compiled and installed with apt-get install
relatively simple apt-get install:

sudo apt install build-essential cmake python3-dev

Mounted on the bin
after adding semantic support of c-family

cd ~/.vim/bundle/YouCompleteMe
python3 install.py --clang-completer

As for source installation ...

Guess you like

Origin www.cnblogs.com/master-of-blue-pictures/p/10932263.html