1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 21:45:10 +01:00

Type 'dayh' to get a nicely formatted day header

This commit is contained in:
2015-09-24 13:25:40 +02:00
parent fb7ffcda58
commit 7d32692f8b

3
.vimrc
View File

@@ -212,6 +212,9 @@ set pastetoggle=<F10>
" Prettify json and javascript
map <Leader>jt <Esc>:%!json_xs -f json -t json-pretty<CR>
" Replayce 'dayh' with a formatted day header
iab <expr> dayh strftime("== %Y%m%d %A ======")
" Fly through buffers instead of cycling
nnoremap <leader>l :ls<cr>:b<space>