Compare commits

..

No commits in common. "a9890cc3fc9957348d3f3325d41a47f1df437798" and "d5b37b224f4e29860a24717a9bf25c732e65ae9b" have entirely different histories.

3 changed files with 10 additions and 40 deletions

View File

@ -1,35 +1,19 @@
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'
" Code style setup from .editorconfig file "#Plug 'editorconfig/editorconfig-vim'
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'
" Provide some helpful vim commands for file modification Plug 'scrooloose/nerdtree'
Plug 'tpope/vim-eunuch' "#Plug 'terryma/vim-multiple-cursors'
"#Plug 'tpope/vim-eunuch'
" Code linter "#Plug 'tpope/vim-surround'
Plug 'w0rp/ale' "#Plug 'w0rp/ale'
Plug 'ap/vim-buftabline'
call plug#end() call plug#end()

8
.vimrc
View File

@ -2,15 +2,9 @@ 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>

View File

@ -22,14 +22,6 @@ 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