From 3b45104547bf4ad8401c0d1debbb46112cf03e99 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 3 Mar 2024 08:35:01 +0000 Subject: Brings vimrc up to date with arch dotfiles --- vim/vimrc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 04d545c..a33df2f 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -7,8 +7,13 @@ runtime macros/matchit.vim "allows jumping between brackets with % in normal mod " }}} " Leaders {{{ let maplocalleader = "\\" -let mapleader = " " +let mapleader = "," +nnoremap idate :.!date +"\%F"Ea nnoremap q :call TaskWarriorAddCurrentLine() +" nnoremap :tabprevious +" nnoremap :tabnext +" switch between tabs.... +nnoremap gt " pandoc command to generate weekly plan page in Firefox (or not, if we just " wish to refresh) nnoremap w :!pandoc /home/lemon/Documents/Notes/MOD/Projects/weekly_planning.md --css /home/lemon/.local/share/pandoc/templates/mystyles.css -s -o /tmp/toss.html; firefox /tmp/toss.html & @@ -110,7 +115,8 @@ endfunction " }}} " Folding {{{ if has('folding') - set foldmethod=marker + "set foldmethod=marker " default + set foldmethod=syntax " set foldmarker=#\ {{{,#\ }}} set viewoptions=folds,options,cursor,unix,slash endif -- cgit v1.2.3