From eab0bcb73b6eeed4369444025c88207f7bbaa9ea Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Sat, 29 Mar 2014 10:24:33 -0500 Subject: [PATCH] .vimrc: leader-p for smart paste --- .vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vimrc b/.vimrc index 4ffc902..66b1a9e 100644 --- a/.vimrc +++ b/.vimrc @@ -258,6 +258,8 @@ nmap l mQviwu`Q " upper/lower first char of word nmap U mQgewvU`Q nmap L mQgewvu`Q +" smart paste - enable paste-mode and paste contents of system clipboard +map p :set pasteo"*]p:set nopaste " strip all trailing whitespace in file nmap s :call whitespace#strip_trailing() " toggle spell-check -- 2.45.2