Improvements to vimrc for markdown handling

This commit is contained in:
Nathan Schneider
2026-05-11 23:18:19 -06:00
parent bf0a04de52
commit ee4767278a
+5 -1
View File
@@ -1,7 +1,6 @@
" ntnsndr's vim settings " ntnsndr's vim settings
" Basics " Basics
syntax on
set noerrorbells set noerrorbells
set notermguicolors set notermguicolors
set autoread set autoread
@@ -19,6 +18,11 @@ highlight FoldColumn ctermbg=NONE
autocmd FileType markdown setlocal linebreak autocmd FileType markdown setlocal linebreak
autocmd FileType markdown noremap j gj autocmd FileType markdown noremap j gj
autocmd FileType markdown noremap k gk autocmd FileType markdown noremap k gk
autocmd FileType markdown inoremap <buffer> <Down> <C-o>gj
autocmd FileType markdown inoremap <buffer> <Up> <C-o>gk
" Turn on engines after filetype commands
syntax on
" Tabs " Tabs
set tabstop=4 set tabstop=4