LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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

Reply
 
Search this Thread
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: 221

Rep: Reputation: 31
Spell Check using Vi macro


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.
 
Old 06-22-2008, 11:12 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

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

Try replacing them with <CR>.

Hope this helps.
 
  


Reply

Tags
check, macro, parag, paragkalra, vi


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:25 AM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration