12 lines
373 B
VimL
12 lines
373 B
VimL
augroup benieAugroup
|
|
" Clear all autocmd's in this group
|
|
autocmd!
|
|
|
|
" Reopening a file at last curson position
|
|
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
|
|
\ | exe "normal! g'\"" | endif
|
|
|
|
" Highlight conflict markers in any filefile
|
|
au FileType * :call matchadd('Todo', '^\(<<<<<<<\||||||||\|=======\|>>>>>>>\)\s\ze.*$')
|
|
augroup END
|