Skip to content

Commit

Permalink
Make align shortcut more convenient
Browse files Browse the repository at this point in the history
  • Loading branch information
mgunyho committed Nov 7, 2020
1 parent 0beaf68 commit 6b501a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ftplugin/tex.vim
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ onoremap <buffer> <silent> i$ :<c-u>normal! T$vt$<cr>
"inoremap <buffer> $ $$i
vnoremap <buffer> ¤ <ESC>`>a$<ESC>`<i$<ESC>lvt$
inoremap <A-q> \begin{equation*}<ESC>o\end{equation*}<ESC>O
"inoremap <A-q> \begin{align}<ESC>o\end{align}<ESC>O
inoremap <A-q> \begin{align*}<ESC>o&<cr>=<cr>\end{align*}<ESC>2kO

" math related shortcuts
Expand Down

0 comments on commit 6b501a3

Please sign in to comment.