summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-01-18 08:35:42 +0100
committerache <ache@ache.one>2018-01-18 08:35:42 +0100
commit45aa2b3831e6f5f78121c5149474613bf70ccdcc (patch)
treedb95f382b953b3d311aaa456053e8623e34dad22
parentGlobal matchit (diff)
Insert date
-rwxr-xr-xplugin/perso.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/perso.vim b/plugin/perso.vim
index 8b3217d..2947589 100755
--- a/plugin/perso.vim
+++ b/plugin/perso.vim
@@ -106,6 +106,8 @@ nnoremap <silent> // :nohls<CR>
map <F5> :setlocal spell! spelllang=fr<CR>
map <F6> :setlocal spell! spelllang=en_us<CR>
+inoremap <F7> <C-r>=strftime('%F')<CR>
+inoremap <F8> <C-r>=strftime('%c')<CR>
map <F9> :make<CR>:cw<CR><CR>
noremap <silent> [q :copen<CR>