0
votes
2answers
76 views

Is it possible to have per file type key mapping in Vim

I just discovered lately that when you enter a non breaking space(nbsp) in an HTML document and set the encoding to utf-8, you wont' have to enter nbsp; repeatedly to format text. I at first thought, ...
4
votes
2answers
237 views

Enclose paragraphs with <p> tags in vim

I tried to create a mapping in order to enclose the visually selected paragraphs in tags: vnoremap <silent> _p ...