dotfiles/.config/nvim/init.vim

18 lines
586 B
VimL
Raw Normal View History

2019-09-13 16:56:53 +00:00
" Allow saving of files as sudo when I forgot to start vim using sudo.
cmap w!! w !sudo tee > /dev/null %
2019-10-08 10:37:21 +00:00
set number relativenumber
2019-10-10 08:32:33 +00:00
set clipboard+=unnamedplus
2020-03-08 19:05:20 +00:00
2020-03-31 20:34:56 +00:00
if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs
2020-03-08 19:05:20 +00:00
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin()
Plug 'psliwka/vim-smoothie'
2020-03-31 20:34:56 +00:00
Plug 'tpope/vim-fugitive'
Plug 'airblade/vim-gitgutter'
Plug 'vim-airline/vim-airline'
2020-03-08 19:05:20 +00:00
call plug#end()