mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 22:55:10 +01:00
Disable automatic formatting in Pencil mode
This commit is contained in:
3
.vimrc
3
.vimrc
@@ -290,6 +290,9 @@ let g:limelight_conceal_ctermfg = 145
|
|||||||
" Helps with writing prose (better line breaks, agnostic on soft line wraps vs
|
" Helps with writing prose (better line breaks, agnostic on soft line wraps vs
|
||||||
" hard line breaks etc)
|
" hard line breaks etc)
|
||||||
Plugin 'reedes/vim-pencil'
|
Plugin 'reedes/vim-pencil'
|
||||||
|
" Disable automatic formatting, as this automatically merges lines devided by
|
||||||
|
" 1 hard enter only, which can be annoying
|
||||||
|
let g:pencil#autoformat = 0
|
||||||
|
|
||||||
" Toggle Gogo with Limelight and Pencil together with Ctrl+F11
|
" Toggle Gogo with Limelight and Pencil together with Ctrl+F11
|
||||||
"map <C-F11> :Goyo <bar> :Limelight!! <bar> :TogglePencil <CR>
|
"map <C-F11> :Goyo <bar> :Limelight!! <bar> :TogglePencil <CR>
|
||||||
|
|||||||
Reference in New Issue
Block a user