update vimrc
This commit is contained in:
parent
533d695a0e
commit
987a2464d1
3
.vimrc
3
.vimrc
@ -318,9 +318,6 @@ noremap <silent> <c-f> :call smooth_scroll#down(&scroll*2, 0, 4)<CR>
|
||||
|
||||
" ack
|
||||
nnoremap <Leader>k :Ack!<space>
|
||||
if executable('ag')
|
||||
let g:ackprg = 'ag --vimgrep'
|
||||
endif
|
||||
|
||||
" 个性化
|
||||
if filereadable(expand($HOME . '/.vimrc.local'))
|
||||
|
||||
@ -61,19 +61,19 @@ function compile_vim()
|
||||
# 安装mac平台必要软件
|
||||
function install_prepare_software_on_mac()
|
||||
{
|
||||
brew install vim gcc cmake ctags-exuberant curl ack the_silver_searcher
|
||||
brew install vim gcc cmake ctags-exuberant curl ack
|
||||
}
|
||||
|
||||
# 安装centos发行版必要软件
|
||||
function install_prepare_software_on_centos()
|
||||
{
|
||||
sudo yum install -y vim ctags automake gcc gcc-c++ kernel-devel cmake python-devel python3-devel curl
|
||||
sudo yum install -y vim ctags automake gcc gcc-c++ kernel-devel cmake python-devel python3-devel curl ack
|
||||
}
|
||||
|
||||
# 安装ubuntu发行版必要软件
|
||||
function install_prepare_software_on_ubuntu()
|
||||
{
|
||||
sudo apt-get install -y ctags build-essential cmake python-dev python3-dev fontconfig curl
|
||||
sudo apt-get install -y ctags build-essential cmake python-dev python3-dev fontconfig curl ack-grep
|
||||
ubuntu_1604=`is_ubuntu1604`
|
||||
echo ${ubuntu_1604}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user