summaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-03-03 08:35:01 +0000
committerMatthew Lemon <y@yulqen.org>2024-03-03 08:35:01 +0000
commit3b45104547bf4ad8401c0d1debbb46112cf03e99 (patch)
tree0f9f8f12411e5681b4c37439c09fd367bdfbb9fd /vim/vimrc
parent6bb953703fbce79ac125277511a62ed2ea51fa25 (diff)
Brings vimrc up to date with arch dotfiles
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc10
1 files 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 <silent> <leader>idate :.!date +"\%F"<CR>Ea<space>
nnoremap <leader>q :call TaskWarriorAddCurrentLine()<CR>
+" nnoremap <C-h> :tabprevious<cr>
+" nnoremap <C-l> :tabnext<cr>
+" switch between tabs....
+nnoremap <tab> gt
" pandoc command to generate weekly plan page in Firefox (or not, if we just
" wish to refresh)
nnoremap <leader>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 &<cr>
@@ -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