summaryrefslogtreecommitdiffstats
path: root/software/vim.page
diff options
context:
space:
mode:
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"!
+