Skip to content

Commit

Permalink
Add shortcut for equation environment in latex vimrc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marton Gunyho committed Sep 20, 2018
1 parent 090e17d commit 62a5a28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ftplugin/tex.vim
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +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

" math related shortcuts
" TODO: look up other handy ones in texstudio settings.
Expand Down

0 comments on commit 62a5a28

Please sign in to comment.