LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Tags used in this thread
Popular LQ Tags , , , , ,

Reply
 
Thread Tools
Old 06-21-2008, 02:41 AM   #1
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 213
Thanked: 1
Spell Check using Vi macro


[Log in to get rid of this advertisement]
Hi Friends,

I have placed following entry in the file "/root/.exrc"
Quote:
map V :w^M:!ispell % ^M:e!^M^M
Then I am opening a file using "vi" editor and on pressing "shift" key + "V" key, I am getting following string at the bottom:
Quote:
:w^M:!ispell % ^M:e!^M^M
What to do next? How could I use this spell check macro? Please guide.
paragkalra is offline  
Tag This Post , , , , ,
Reply With Quote
Old 06-22-2008, 11:12 AM   #2
druuna
Senior Member
 
Registered: Sep 2003
Location: netherlands
Distribution: lfs
Posts: 3,269
Thanked: 78
Hi,

Are those ^M's correct? Did you use a literal ^ followed by a M?

Try replacing them with <CR>.

Hope this helps.
druuna is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
evolution spell check radiodee1 Linux - Newbie 4 07-20-2007 07:22 AM
Spell Check error Juanita Libranet 5 10-01-2006 04:14 PM
spell check in kword jimjamjahaa Debian 1 04-27-2006 10:58 AM
Spell Check in Firefox mattp Linux - Software 2 10-09-2005 12:15 PM
vi spell-check? jeri Linux - General 2 09-01-2001 04:41 PM


All times are GMT -5. The time now is 10:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration