Improvements to vimrc for markdown handling
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
" ntnsndr's vim settings
|
||||
|
||||
" Basics
|
||||
syntax on
|
||||
set noerrorbells
|
||||
set notermguicolors
|
||||
set autoread
|
||||
@@ -19,6 +18,11 @@ highlight FoldColumn ctermbg=NONE
|
||||
autocmd FileType markdown setlocal linebreak
|
||||
autocmd FileType markdown noremap j gj
|
||||
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
|
||||
set tabstop=4
|
||||
|
||||
Reference in New Issue
Block a user