We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1eb005 commit 2ee47fbCopy full SHA for 2ee47fb
ftplugin/tex.vim
@@ -22,9 +22,11 @@ inoremap <buffer> ¤ %
22
23
" Ctrl+e for italics
24
"TODO: <C-i> overrides <Tab> in insert mode, fix that (?)
25
-inoremap <buffer> <C-e> \emph{}<Esc>i
+"inoremap <buffer> <C-e> \emph{}<Esc>i
26
+inoremap <buffer> <C-e> \oemph{}<Esc>i
27
"TODO: use onoremap? how does it work?
-vnoremap <buffer> <C-e> <Esc>`>a}<Esc>`<i\emph{<Esc>lviB
28
+"vnoremap <buffer> <C-e> <Esc>`>a}<Esc>`<i\emph{<Esc>lviB
29
+vnoremap <buffer> <C-e> <Esc>`>a}<Esc>`<i\oemph{<Esc>lviB
30
" slightly more concise, but breaks if there's a newline in the selection.
31
"vnoremap <buffer> <C-i> s\emph{ <Esc>vpa}<Esc>gv
32
0 commit comments