added line numbers when not in Goyo
This commit is contained in:
parent
b5eec732aa
commit
72ca6e352d
11
.vimrc
11
.vimrc
|
@ -16,7 +16,7 @@ set undolevels=1000
|
||||||
|
|
||||||
set spell
|
set spell
|
||||||
|
|
||||||
|
set number "for when we need to do a bit of coding"
|
||||||
|
|
||||||
"VUNDLE STUFF
|
"VUNDLE STUFF
|
||||||
filetype off
|
filetype off
|
||||||
|
@ -69,7 +69,7 @@ augroup prose
|
||||||
" \ | call textobj#quote#init()
|
" \ | call textobj#quote#init()
|
||||||
\ | call textobj#sentence#init()
|
\ | call textobj#sentence#init()
|
||||||
autocmd vimenter *.md Goyo 66x16
|
autocmd vimenter *.md Goyo 66x16
|
||||||
autocmd User GoyoEnter Limelight
|
autocmd User GoyoEnter Limelight | set nonumber
|
||||||
augroup END
|
augroup END
|
||||||
" Important!!
|
" Important!!
|
||||||
if has('termguicolors')
|
if has('termguicolors')
|
||||||
|
@ -92,12 +92,5 @@ augroup END
|
||||||
|
|
||||||
colorscheme gruvbox-material
|
colorscheme gruvbox-material
|
||||||
|
|
||||||
" For en/em dashes, respectively
|
|
||||||
augroup remaps
|
|
||||||
autocmd!
|
|
||||||
" autocmd FileType markdown inoremap -- — | inoremap ... …
|
|
||||||
|
|
||||||
augroup END
|
|
||||||
|
|
||||||
"underline spell errors in terminals
|
"underline spell errors in terminals
|
||||||
hi SpellBad cterm=underline
|
hi SpellBad cterm=underline
|
||||||
|
|
Reference in New Issue