diff options
Diffstat (limited to '')
-rw-r--r-- | vim/vimrc | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -8,7 +8,9 @@ runtime macros/matchit.vim "allows jumping between brackets with % in normal mod " Leaders {{{ let maplocalleader = "\\" let mapleader = "," +nnoremap <leader>tsk 0i- [ ] nnoremap <silent> <leader>idate :.!date +"\%F"<CR>Ea<space> +nnoremap <silent> <leader>mdate :.!date -Iminutes<CR>Ea<space> nnoremap <leader>q :call TaskWarriorAddCurrentLine()<CR> " nnoremap <C-h> :tabprevious<cr> " nnoremap <C-l> :tabnext<cr> @@ -25,12 +27,6 @@ if (exists("*strftime")) noremap <silent> <leader>date "=strftime("%F")<CR>p9h noremap <silent> <leader>time "=strftime("%X")<CR>p7h endif - -" Place timestamps, be it date (YYYY-MM-DD) or time (HH:MM:SS). -if (exists("*strftime")) - noremap <silent> <leader>date "=strftime("%F")<CR>p9h - noremap <silent> <leader>time "=strftime("%X")<CR>p7h -endif " Generate ctags for current working directory nnoremap <leader>tt :silent !ctags -R . <CR>:redraw!<CR> " notes stuff - from https://www.edwinwenink.xyz/posts/43-notes_tagging/ |