🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.editor.vi
Article #84

curent word in vi

#84
From: kmkulkarni
Date: Wed, 16 Nov 2005 06:08
12 lines
1364 bytes
Hi,

In vi, I need to print the current word at which cursor is present.

e.g. command <ESC>:p prints current line in vi.

similarly, is there any command or combination of commands which will
print current word at which cursor is present..

thanks in advance

koustubh
Technical Details
Message-ID: <1132121292.199872.58260@g47g2000cwa.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f7c9f,91ff1894d3c55d95,start
X-Google-Attributes: gidf7c9f,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail
From: kmkulkarni@gmail.com
Newsgroups: fj.editor.vi
Subject: curent word in vi
Date: 15 Nov 2005 22:08:12 -0800
Organization: http://groups.google.com
Lines: 13
Message-ID: <1132121292.199872.58260@g47g2000cwa.googlegroups.com>
NNTP-Posting-Host: 208.237.173.72
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1132121297 31763 127.0.0.1 (16 Nov 2005 06:08:17 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 16 Nov 2005 06:08:17 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.0 cmijob:8080 (squid/2.5.STABLE4)
Complaints-To: groups-abuse@google.com
Injection-Info: g47g2000cwa.googlegroups.com; posting-host=208.237.173.72;
   posting-account=Gqdrfg0AAABfI5tdrxYo4y_4yrYg8bo7