Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Find duplicates in VIM
vazic
May 4th, 2012
103
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
VIM
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
:
syn
clear Repeat
|
g
/^
\
(
.*
\
)
\n\ze\
%
(
.*
\n\
)
*
\
1
$/
exe
'syn match Repeat "^'
.
escape
(
getline
(
'.'
)
,
'".
\^
$*[]'
)
.
'$"'
|
nohlsearch
===
Vim
command
to
mark duplicate
lines
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Trajets ETS 2 EvLan4
4 hours ago | 0.32 KB
B7800 HYLK session 1985
12 hours ago | 2.25 KB
me
17 hours ago | 0.06 KB
FED RESPONSE TEMPLATES: FED HTML Review Feedb...
1 day ago | 0.79 KB
disable email per category (not fully tested)
1 day ago | 0.82 KB
Neuromancer — The Construct Cut (Complete Una...
1 day ago | 3.30 KB
GLUC6
1 day ago | 1.56 KB
Mapscan v1.0 - Archeagus Grey Hack Series, Ep...
JavaScript | 2 days ago | 3.33 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!