summaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
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