Hard wrap markdown lines
This commit is contained in:
parent
7a35dd68a9
commit
e1876c46a2
1 changed files with 3 additions and 3 deletions
|
@ -103,9 +103,6 @@ noremap _ ddkP
|
|||
" Uppercase an entire word with <c-u>
|
||||
nnoremap <leader>u viwU
|
||||
|
||||
" Add new line below
|
||||
nnoremap <cr> i<cr><esc>k
|
||||
|
||||
" Show me when my lines are too long
|
||||
" I wish to limit my lines to 80 characters long. However, Vim creates
|
||||
" the n+1th character when you have n characters in a line. Hence, when
|
||||
|
@ -222,6 +219,9 @@ augroup vimrcEx
|
|||
autocmd FileType ruby,haml,eruby,yaml,html,javascript,sass,cucumber setlocal ai sw=2 sts=2 et
|
||||
autocmd FileType make setlocal noet sw=8 sts=8 ts=8
|
||||
|
||||
" Hard wrap prose
|
||||
autocmd FileType markdown setlocal tw=80 fo=t1
|
||||
|
||||
" Create files when opened
|
||||
autocmd BufNewFile * write
|
||||
augroup END
|
||||
|
|
Loading…
Add table
Reference in a new issue