add distraction-free mode

This commit is contained in:
Václav Uruba 2021-03-30 16:40:52 +02:00
parent 7a260b1c16
commit 5589dfb058
Signed by: uruba
GPG Key ID: 0059B34D61727BB0

View File

@ -5,6 +5,9 @@ call plug#begin('~/.vim/plugged')
Plug 'kyoz/purify', { 'rtp': 'vim' }
Plug 'itchyny/lightline.vim'
" Distraction-free
Plug 'junegunn/goyo.vim'
" Syntax
Plug 'sheerun/vim-polyglot'
@ -58,6 +61,9 @@ set smartindent
set laststatus=2
set cmdheight=2
" Distraction-free
nnoremap <leader>g :Goyo<CR>
" Line numbers
set number
set relativenumber