Insert a timestamp with <F10>

This commit is contained in:
Anthony Rose 2019-06-19 09:01:01 +01:00
parent 863483d1ae
commit 4e19ccdf92

1
vimrc
View file

@ -24,6 +24,7 @@ inoremap <left> <nop>
inoremap <right> <nop> inoremap <right> <nop>
inoremap <up> <nop> inoremap <up> <nop>
nmap <F7> :setlocal spell! spelllang=en_gb<CR> nmap <F7> :setlocal spell! spelllang=en_gb<CR>
nmap <F10> :put =strftime('%FT%T%z')<CR>
nmap <F11> :Goyo<bar>:Limelight!!<CR> nmap <F11> :Goyo<bar>:Limelight!!<CR>
nnoremap <down> <nop> nnoremap <down> <nop>
nnoremap <left> <nop> nnoremap <left> <nop>