LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-10-2015, 12:57 PM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
US English spell check for vim ?


Hello,

I would like to have us english spell check.

:call Spellus() give already something but it is not so much working - i.e. really us english.

Would you have any tipps or hints?

thank you



Code:

fu! Spellus()
 " Spell check on
 set spell spelllang=en_us
 setlocal spell spelllang=en_us
 " Toggle spelling with the F7 key
 nn <F7> :setlocal spell! spelllang=en_us<CR>
 imap <F7> <C-o>:setlocal spell! spelllang=en_us<CR>
 " Spelling
 " where it should get the dictionary files
 let g:spellfile_URL = 'http://ftp.vim.org/vim/runtime/spell'
endfunction
 
Old 03-10-2015, 09:48 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
You might find this helpful: http://www.linux.com/learn/tutorials...hecking-in-vim
 
2 members found this post helpful.
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
spell check Micky12345 Linux - Newbie 7 03-17-2012 03:23 PM
Squirrelmail change HTML editor spell check to UK English kginige Linux - Software 2 05-06-2008 09:29 AM
Vim Spell Check Inside Tags? Optimistic Linux - Software 1 04-15-2005 02:36 AM
How to check English spell within a Chinese environment wuqso Linux - Software 0 01-06-2005 02:07 AM
vi spell-check? jeri Linux - General 2 09-01-2001 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:04 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration