dotfiles/.config/nvim/init.vim

15 lines
463 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
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin()
Plug 'psliwka/vim-smoothie'
call plug#end()