summaryrefslogtreecommitdiffstats
path: root/software/vim.page
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-05-14 05:14:21 -0400
committerbnewbold <bnewbold@robocracy.org>2010-05-14 05:14:21 -0400
commit603422de6becf0eee72552100aedc14093a1b55a (patch)
tree12b85cf6ac6e1d692be7ee6bd9b855aa7df6e75e /software/vim.page
parent0b010738f087274f5deda80b54e2e8beb6efa912 (diff)
downloadknowledge-603422de6becf0eee72552100aedc14093a1b55a.tar.gz
knowledge-603422de6becf0eee72552100aedc14093a1b55a.zip
tips
Diffstat (limited to 'software/vim.page')
-rw-r--r--software/vim.page9
1 files changed, 9 insertions, 0 deletions
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"!
+