summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2021-12-05 17:42:34 +0100
committerUrbain Vaes <urbain@vaes.uk>2021-12-05 17:42:34 +0100
commit19cdfb7a8b522136317f2de0f2f901572ebee066 (patch)
treee685df2fcf64915172b6ff1aa1b271812a599505 /vim/.vimrc
parenta9a52155abd26fc9b9d7043d9a062a9a7fcb99db (diff)
Adjust font size
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-``