summary refs log tree commit diff
path: root/home/.config/nvim
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-01-25 06:40:48 -0500
committerJune McEnroe <june@causal.agency>2020-01-25 06:40:48 -0500
commit9e4da0385787a826f6968f17e9d613dc1bf52367 (patch)
tree96e8a990de6e098cff164357f81275b245e64199 /home/.config/nvim
parentCapture standard error and allow failure in up -c (diff)
downloadsrc-9e4da0385787a826f6968f17e9d613dc1bf52367.tar.gz
src-9e4da0385787a826f6968f17e9d613dc1bf52367.zip
Add \d to replace .Dd macro
Diffstat (limited to 'home/.config/nvim')
-rw-r--r--home/.config/nvim/init.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim
index b281322b..9245ccf4 100644
--- a/home/.config/nvim/init.vim
+++ b/home/.config/nvim/init.vim
@@ -34,3 +34,4 @@ nmap <leader>S $vi{:sort<CR>
 nmap <leader>a m':0/^#include <<CR>:nohlsearch<CR>O#include <
 nmap <leader>l :0read ~/src/etc/agpl.c<CR>''
 nmap <leader>L :0read ~/src/etc/gpl.c<CR>''
+nmap <leader>d :0delete<CR>:0read !date +'.Dd \%B \%e, \%Y'<CR>