vim searching, ctrlp, and setup
This commit is contained in:
parent
de074893b1
commit
87eb242cf0
10
.vimrc
10
.vimrc
@ -7,11 +7,11 @@ call vundle#begin()
|
||||
" let Vundle manage Vundle, required
|
||||
Plugin 'gmarik/Vundle.vim'
|
||||
Plugin 'vim-airline/vim-airline'
|
||||
Plugin 'kien/ctrlp.vim'
|
||||
Plugin 'tpop/vim-fugitive'
|
||||
Plugin 'scrooloose/nerdtree'
|
||||
Plugin 'tpope/vim-fugitive'
|
||||
Plugin 'edkolev/tmuxline.vim'
|
||||
Plugin 'vim-airline/vim-airline-themes'
|
||||
Plugin 'chrisbra/csv.vim'
|
||||
"Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
|
||||
" All of your Plugins must be added before the following line
|
||||
call vundle#end() " required
|
||||
@ -46,3 +46,9 @@ map <Leader>f :bp<cr>
|
||||
map <Leader>d :bp<cr>:bd #<cr>
|
||||
"-----nerdtree--------------------
|
||||
nmap <Leader>e :NERDTreeToggle<CR>
|
||||
" Search as you type, highlight results
|
||||
set incsearch
|
||||
set showmatch
|
||||
set hlsearch
|
||||
nnoremap \\ :noh<cr> " Clear higlighting
|
||||
"nnoremap <esc> :noh<return><esc>
|
||||
|
19
setup.sh
19
setup.sh
@ -38,7 +38,7 @@ then
|
||||
read -p "do you want to install golang and go-powerline?" yn
|
||||
case $yn in
|
||||
[Yy]* )
|
||||
sudo apt-get install golang;
|
||||
sudo apt-get install golang -y;
|
||||
go get -u github.com/justjanne/powerline-go;
|
||||
break;;
|
||||
[Nn]* )
|
||||
@ -48,6 +48,23 @@ then
|
||||
done
|
||||
fi
|
||||
|
||||
#----------------------------------------------------------install go-powerline---------------------------------------------------------------------------
|
||||
|
||||
if [ -z "$GOPATH" ]
|
||||
then
|
||||
while true; do
|
||||
read -p "do you want to install golang and go-powerline?" yn
|
||||
case $yn in
|
||||
[Yy]* )
|
||||
sudo apt-get install golang -y;
|
||||
go get -u github.com/justjanne/powerline-go;
|
||||
break;;
|
||||
[Nn]* )
|
||||
exit;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
#----------------------------------------------------------install power line fonts------------------------------------------------------------------------
|
||||
|
||||
if [ ! -d ~/fonts ]
|
||||
|
Loading…
Reference in New Issue
Block a user