Skip to content

Commit dc05c22

Browse files
committed
Add goyo and limelight
1 parent c26e70b commit dc05c22

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

language-prose.config.vim

+6
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,16 @@ let g:ale_linters.text = ['vale']
55
" Turn on front matter support for markdown.
66
let g:vim_markdown_frontmatter = 1
77

8+
" Set the goyo width to 120 columns
9+
let g:goyo_width = 120
10+
811
" Set some prose-specific options when editing prose.
912
augroup vigor_prose
1013
autocmd FileType markdown setlocal noruler
1114
autocmd FileType markdown setlocal wrap
1215
autocmd FileType markdown setlocal linebreak
1316
autocmd FileType markdown setlocal spell
17+
autocmd FileType markdown Goyo
18+
autocmd! User GoyoEnter :Limelight
19+
autocmd! User GoyoLeave :Limelight!
1420
augroup END

language-prose.plugins.vim

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
Plug 'tpope/vim-markdown'
2+
Plug 'junegunn/goyo.vim'
3+
Plug 'junegunn/limelight.vim'

0 commit comments

Comments
 (0)