more complex markdown (and other) formatting
Цей коміт міститься в:
джерело
07b33e2de3
коміт
fb4b21e17c
1 змінених файлів з 7 додано та 1 видалено
|
@ -88,7 +88,7 @@ set laststatus=2 " always show the status line
|
||||||
|
|
||||||
" wrap lines at 70 characters
|
" wrap lines at 70 characters
|
||||||
set formatprg=par\ -w70
|
set formatprg=par\ -w70
|
||||||
set formatoptions=t
|
set formatoptions=tcrqnlj
|
||||||
set textwidth=70
|
set textwidth=70
|
||||||
|
|
||||||
" indentation
|
" indentation
|
||||||
|
@ -295,6 +295,12 @@ function MarkdownHook()
|
||||||
" Making and showing html
|
" Making and showing html
|
||||||
noremap <C-c> :!markdown '%:p' > '%:p:r.html'<CR><CR>
|
noremap <C-c> :!markdown '%:p' > '%:p:r.html'<CR><CR>
|
||||||
noremap <C-i> :!rifle '%:p:r.html'<CR><CR>
|
noremap <C-i> :!rifle '%:p:r.html'<CR><CR>
|
||||||
|
setlocal textwidth=0
|
||||||
|
setlocal wrapmargin=0
|
||||||
|
setlocal colorcolumn=0
|
||||||
|
setlocal wrap
|
||||||
|
setlocal linebreak
|
||||||
|
setlocal nolist
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
Завантаження…
Додати таблицю
Додати посилання
Послатися в новій задачі