Compare commits
5 Commits
d5b37b224f
...
a9890cc3fc
| Author | SHA1 | Date | |
|---|---|---|---|
| a9890cc3fc | |||
| d4a8ceaaeb | |||
| eb6dda9d99 | |||
| 0f00436314 | |||
| 2186d0825a |
@ -1,19 +1,35 @@
|
||||
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'
|
||||
|
||||
" VCS integration
|
||||
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'
|
||||
|
||||
" Fuzzy search within vim
|
||||
Plug 'junegunn/fzf'
|
||||
Plug 'junegunn/fzf.vim'
|
||||
"#Plug 'mattn/emmet-vim'
|
||||
Plug 'scrooloose/nerdtree'
|
||||
"#Plug 'terryma/vim-multiple-cursors'
|
||||
"#Plug 'tpope/vim-eunuch'
|
||||
"#Plug 'tpope/vim-surround'
|
||||
"#Plug 'w0rp/ale'
|
||||
Plug 'ap/vim-buftabline'
|
||||
|
||||
" Provide some helpful vim commands for file modification
|
||||
Plug 'tpope/vim-eunuch'
|
||||
|
||||
" Code linter
|
||||
Plug 'w0rp/ale'
|
||||
|
||||
call plug#end()
|
||||
|
||||
|
||||
8
.vimrc
8
.vimrc
@ -2,9 +2,15 @@ color desert
|
||||
syntax on
|
||||
|
||||
so ~/.vim/plugins.vim
|
||||
set splitbelow
|
||||
|
||||
" Make sure that powerline is always displayed
|
||||
set laststatus=2
|
||||
|
||||
" 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
|
||||
map <C-t> :NERDTreeToggle<CR>
|
||||
|
||||
8
install
8
install
@ -22,6 +22,14 @@ function symlink() {
|
||||
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.
|
||||
rm -rf ./.vim/plugged
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user