Update 2022-12-21 18:18 Linux/x86_64

This commit is contained in:
Stefan Hagen 2022-12-21 18:18:14 +01:00
parent 0c43ddc462
commit 1f806b7df7

View File

@ -151,7 +151,6 @@ hi VisualNOS ctermbg=NONE ctermfg=246 cterm=NONE
hi WarningMsg ctermbg=NONE ctermfg=NONE cterm=NONE
hi Wildmenu ctermbg=NONE ctermfg=NONE cterm=NONE
" VIMDIFF COLORS
hi DiffAdd ctermbg=22 ctermfg=NONE cterm=NONE
hi DiffDelete ctermbg=234 ctermfg=NONE cterm=NONE
@ -265,6 +264,11 @@ function! VisualPaste()
call append(line("."), file_msg)
endfunction
" CUSTOM: HTMLENCODE WITHOUT PRE
function! BlogEncode()
:%s/>/\&gt;/g | %s/</\&lt;/g | %s/&lt;pre&gt;/<pre>/g | %s/&lt;\/pre&gt;/<\/pre>/g
endfunction
augroup mystuff
au!
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g'\"" | endif