diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-03-30 09:28:40 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-04-08 14:48:51 +0100 |
commit | 3ee22303b7561b0d784a5a004e656892579869f3 (patch) | |
tree | 0c44ec177849b18246c86dfcb9309cd42098532d /vim | |
parent | 0a96a5bd4db8b17cbeb623c1ce5c2b3a2049003b (diff) |
Add vim map to run current file
Diffstat (limited to 'vim')
-rw-r--r-- | vim/.vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -327,6 +327,7 @@ nnoremap ,t0 :tabmove 0<cr> nnoremap ,t$ :tabmove<cr> nnoremap <Leader>c :!rm ~/.vim/swap/\%*<cr> +nnoremap <Leader>r :!%:p<cr> nnoremap cqo :copen<cr> nnoremap cqc :cclose<cr> @@ -487,6 +488,7 @@ if has("nvim") tnoremap <c-x> <c-\><c-n><c-^>:bd! #<cr> nnoremap <c-_> :b # \| norm A<cr> tnoremap <c-_> <c-\><c-n><c-^> + nnoremap <Leader>t :b term \| norm A<cr> tnoremap <A-h> <C-\><C-N><C-w>h tnoremap <A-j> <C-\><C-N><C-w>j |