From 0b4f8e336ddf05f77b2bb6b6eec9e82e4f5d6569 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Fri, 20 Jan 2012 11:32:29 +0000 Subject: [PATCH] Use ^w-^ to switch to the last used window. For consistency with tmux, which uses ^ to switch to the last pane, which is in itself for consistency with vim using ^ to switch to the last buffer. Default vim action would be to split and edit the last buffer. That's sometimes useful but overall less useful than switching windows. --- .vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vimrc b/.vimrc index 3d83fbd..28d060e 100644 --- a/.vimrc +++ b/.vimrc @@ -75,6 +75,10 @@ inoremap " Swap jump keys. noremap ' ` noremap ` ' + +" Select previous widnow. +noremap ^ p +noremap p "}}}1 " Find stuff. -- 2.20.1