From 3ee22303b7561b0d784a5a004e656892579869f3 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 30 Mar 2018 09:28:40 +0100 Subject: Add vim map to run current file --- vim/.vimrc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vim/.vimrc') diff --git a/vim/.vimrc b/vim/.vimrc index 9a10a90..f025c7c 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -327,6 +327,7 @@ nnoremap ,t0 :tabmove 0 nnoremap ,t$ :tabmove nnoremap c :!rm ~/.vim/swap/\%* +nnoremap r :!%:p nnoremap cqo :copen nnoremap cqc :cclose @@ -487,6 +488,7 @@ if has("nvim") tnoremap :bd! # nnoremap :b # \| norm A tnoremap + nnoremap t :b term \| norm A tnoremap h tnoremap j -- cgit v1.2.3