From 72233a62252e9a7c3ddb5a0fdd757e21cb883b3d Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 3 Nov 2017 16:02:04 +0100 Subject: [vim] Add shortcuts for drop-in terminal --- vim/.vimrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index cbea96a..f525a5e 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -123,7 +123,7 @@ nnoremap gd :Gdiff " Iron let g:iron_map_defaults=0 nmap yr (iron-send-motion) -nmap yryr VR +nmap yrr VR xmap R (iron-send-motion) " Easy align @@ -335,8 +335,10 @@ cnoremap cnoremap if has("nvim") - nnoremap :ZoomWinTabIn:buffer termi - tnoremap :ZoomWinTabOut + nnoremap goh :lcd %:h \| terminal + tnoremap :bd! # + nnoremap i + tnoremap endif set t_Co=256 -- cgit v1.2.3