add distraction-free mode
This commit is contained in:
parent
7a260b1c16
commit
5589dfb058
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user