From 603422de6becf0eee72552100aedc14093a1b55a Mon Sep 17 00:00:00 2001 From: bnewbold Date: Fri, 14 May 2010 05:14:21 -0400 Subject: tips --- software/vim.page | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'software/vim.page') diff --git a/software/vim.page b/software/vim.page index 0025f10..dfb6477 100644 --- a/software/vim.page +++ b/software/vim.page @@ -41,3 +41,12 @@ the command I use to grab three lines of context around 'phrase':: :r!grep -A 3 'phrase' ../otherfile.txt +Pasting a lot of text with insert mode if very slow because vim redraws the +terminal for every single character entered (as you would want if you were +actually typing. To paste in the contents of the X11 clipboard you want to use:: + + "*P + +(aka quote, start, uppercase-P) in regular mode. This also solves the +autotabbing problem without ":set paste"! + -- cgit v1.2.3