mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 22:55:10 +01:00
Type 'dayh' to get a nicely formatted day header
This commit is contained in:
3
.vimrc
3
.vimrc
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user