Skip to content

Commit 38d5c7a

Browse files
committed
changing a vim function
1 parent 83aff4c commit 38d5c7a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nvim/init.vim

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
" nvim file: ~/.config/nvim/init.vim
2-
" Last Change: 2018 abr 16 19:30
2+
" Last Change: 2018 abr 17 11:49
33
" vim: ff=unix ai et ts=4
44
" Author: Sérgio Luiz Araújo Silva
55
" Reference: http://sergioaraujo.pbworks.com/w/page/15864094/vimrc
@@ -555,9 +555,10 @@ endfunction
555555
fun! CleanFlaschards() abort
556556
%w! output.csv-backup
557557
let @a = 'gg0vg_ydd}}{jA[sound:0];JdapGopgg'
558-
let @b = 'vg_ydd}{jA[sound:0];J:g/^$/exec "normal! ddgg":%normal! A;MairoVergara'
558+
let @b = 'vg_ydd}{jA[sound:0];J:g/^$/exec "normal! ddgg":%normal! A;MairoVergara:w'
559559
%s/<script\_.\{-}<\/script>//ge
560560
%s/\v\<(\/)?(p|em|strong|br)(\/)?\>//ge
561+
%s/\v\<\/?span([^>]*)?\>//ge
561562
g/^(.*)/d
562563
g/compartilhe o post/exec 'normal! dG'
563564
g/p style/exec 'normal! dip'

0 commit comments

Comments
 (0)