Skip to content

Commit 9aa1dda

Browse files
author
Marton Gunyho
committed
Add alternative version of vnoremap for ctrl+e
1 parent 0476641 commit 9aa1dda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ftplugin/tex.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ inoremap <buffer> <C-e> \oemph{}<Esc>i
2727
"TODO: use onoremap? how does it work?
2828
"vnoremap <buffer> <C-e> <Esc>`>a}<Esc>`<i\emph{<Esc>lviB
2929
vnoremap <buffer> <C-e> <Esc>`>a}<Esc>`<i\oemph{<Esc>lviB
30+
"vnoremap <buffer> <C-e> c\oemph{}<Esc>PviB
3031
" slightly more concise, but breaks if there's a newline in the selection.
3132
"vnoremap <buffer> <C-i> s\emph{ <Esc>vpa}<Esc>gv
3233

0 commit comments

Comments
 (0)