0

Thanks to this SE answer I now know that I can emphasise the highlighted word with `em.

Is there a way to remove the \emph{} from a word?

0

2 Answers 2

1

The same question was asked in this question on Stack Overflow. The accepted answer by Peter Rincker is:

If you have surround.vim by Tim Pope this might do

nmap <silent> dsa ds}dF\
1
  • Thanks Anthony. It's a pain that there're two websites really isn't it? Things tend to fall between two stools.
    – LondonRob
    Aug 29, 2014 at 15:57
1

Alternative Plugin vimtex

provides mapping in the spirit of surround.vim

dsc - delete surrounding command
dse - delete surrounding environment

Plugin is currently (09/2015) maintained and actively developed in 2015.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .