summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 124f8ae..96f6fae 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -196,6 +196,9 @@ let g:vimtex_delim_toggle_mod_list = [
\ ['\Biggl', '\Biggr'],
\]
+nmap <right> :setf txt<cr>i\begin{align}<cr><cr><esc>0i\end{align}<up>
+nmap <c-c> m`gcc<esc>``
+
" Pilot
let g:pilot_boundary='ignore'
let g:pilot_mode='wintab'
@@ -268,6 +271,7 @@ endif
"" Mappings {{{1
+
" .rst headings
nnoremap <leader>1 m`yypVr=``
nnoremap <leader>2 m`yypVr-``