Compare commits
5 Commits
d5b37b224f
...
a9890cc3fc
| Author | SHA1 | Date | |
|---|---|---|---|
| a9890cc3fc | |||
| d4a8ceaaeb | |||
| eb6dda9d99 | |||
| 0f00436314 | |||
| 2186d0825a |
@ -1,19 +1,35 @@
|
|||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
|
|
||||||
|
" Recommended plugins that I didn't like
|
||||||
|
"Plug 'airblade/vim-gitgutter'
|
||||||
|
"Plug 'mattn/emmet-vim'
|
||||||
|
"Plug 'terryma/vim-multiple-cursors'
|
||||||
|
"Plug 'tpope/vim-surround'
|
||||||
|
|
||||||
|
|
||||||
|
" File explorer window
|
||||||
|
Plug 'scrooloose/nerdtree'
|
||||||
|
|
||||||
|
" Show open buffers in a tab at top of screen
|
||||||
|
Plug 'ap/vim-buftabline'
|
||||||
Plug 'qpkorr/vim-bufkill'
|
Plug 'qpkorr/vim-bufkill'
|
||||||
|
|
||||||
|
" VCS integration
|
||||||
Plug 'mhinz/vim-signify'
|
Plug 'mhinz/vim-signify'
|
||||||
"#Plug 'airblade/vim-gitgutter'
|
|
||||||
"#Plug 'editorconfig/editorconfig-vim'
|
" Code style setup from .editorconfig file
|
||||||
|
Plug 'editorconfig/editorconfig-vim'
|
||||||
Plug 'itchyny/lightline.vim'
|
Plug 'itchyny/lightline.vim'
|
||||||
|
|
||||||
|
" Fuzzy search within vim
|
||||||
Plug 'junegunn/fzf'
|
Plug 'junegunn/fzf'
|
||||||
Plug 'junegunn/fzf.vim'
|
Plug 'junegunn/fzf.vim'
|
||||||
"#Plug 'mattn/emmet-vim'
|
|
||||||
Plug 'scrooloose/nerdtree'
|
" Provide some helpful vim commands for file modification
|
||||||
"#Plug 'terryma/vim-multiple-cursors'
|
Plug 'tpope/vim-eunuch'
|
||||||
"#Plug 'tpope/vim-eunuch'
|
|
||||||
"#Plug 'tpope/vim-surround'
|
" Code linter
|
||||||
"#Plug 'w0rp/ale'
|
Plug 'w0rp/ale'
|
||||||
Plug 'ap/vim-buftabline'
|
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
|||||||
8
.vimrc
8
.vimrc
@ -2,9 +2,15 @@ color desert
|
|||||||
syntax on
|
syntax on
|
||||||
|
|
||||||
so ~/.vim/plugins.vim
|
so ~/.vim/plugins.vim
|
||||||
|
set splitbelow
|
||||||
|
|
||||||
|
" Make sure that powerline is always displayed
|
||||||
|
set laststatus=2
|
||||||
|
|
||||||
" Always start with NERDTree open
|
" Always start with NERDTree open
|
||||||
autocmd vimenter * NERDTree
|
"autocmd vimenter * NERDTree
|
||||||
|
" Stop NERDTree causing a panic when you use :bd and exiting vim
|
||||||
|
nnoremap \d :bp<cr>:bd #<cr>
|
||||||
|
|
||||||
" Show/hide NERDTree with Ctrl+T
|
" Show/hide NERDTree with Ctrl+T
|
||||||
map <C-t> :NERDTreeToggle<CR>
|
map <C-t> :NERDTreeToggle<CR>
|
||||||
|
|||||||
8
install
8
install
@ -22,6 +22,14 @@ function symlink() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Install vim, if it isn't already
|
||||||
|
if [ ! $(which vim) ]; then
|
||||||
|
echo "Installing vim..."
|
||||||
|
sudo apt-get update && sudo apt-get install vim
|
||||||
|
else
|
||||||
|
echo "Found vim installation."
|
||||||
|
fi
|
||||||
|
|
||||||
# Remove any installed plugins in this dir. Yuck.
|
# Remove any installed plugins in this dir. Yuck.
|
||||||
rm -rf ./.vim/plugged
|
rm -rf ./.vim/plugged
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user