Does anyone know how to put into shell argument from VI?

Status
Not open for further replies.

u24c02

Advanced Member level 1
Joined
May 8, 2012
Messages
404
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Visit site
Activity points
4,101
Hi.

I am trying to put text from current line of vi to shell argument.

I'd like to run at Virmc like this map <F3> :! xpdf "xxxxxxxxxx"

I want to this. the xxxxxxxx will from current text line of vi.

Does anyone know how to put them into shell argument?


Currently tried :
.vimrc
map <F3> :! xpdf ^M
but it is not work.
 
Last edited:

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…