From ab008ec5754b7f6b6b0864bf38a50f6ad9eb10f5 Mon Sep 17 00:00:00 2001 From: nojhan Date: Tue, 22 Nov 2011 11:08:44 +0100 Subject: [PATCH] xx will delete the line without copying it into the default register --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vimrc b/.vimrc index 8716728..06ba4d9 100644 --- a/.vimrc +++ b/.vimrc @@ -40,6 +40,9 @@ set cursorline let mapleader = "," " leader key is comma +" xx will delete the line without copying it into the default register +nnoremap xx "_dd + " ,v will reselect the text that was just pasted nnoremap v V`]