Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
LongestLine
bairui
Sep 12th, 2011
172
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
VIM
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
!
LongestLine
(
)
let
lines
=
map
(
getline
(
1
,
'$'
)
,
'len(v:val)'
)
return
index
(
lines
,
max
(
lines
)
)
+
1
endfunction
exe
"norm "
.
LongestLine
(
)
.
"G"
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Trajets ETS 2 EvLan4
5 hours ago | 0.32 KB
B7800 HYLK session 1985
13 hours ago | 2.25 KB
me
18 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!