diff --git a/vim/vimrc.symlink b/vim/vimrc.symlink index 20d0495..1d5a177 100644 --- a/vim/vimrc.symlink +++ b/vim/vimrc.symlink @@ -103,9 +103,6 @@ noremap _ ddkP " Uppercase an entire word with nnoremap u viwU -" Add new line below -nnoremap ik - " 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