Re: Utf8 issue

2014-03-08 Thread John Little
On Saturday, March 8, 2014 3:04:35 AM UTC+13, Charles Campbell wrote:
> Tony Mechelynck wrote:
> ... spammers ...
> ... whatever they still try to post gets blocked by the moderators.
> 
> For which effort I'm thankful!

Assuming there's not a rule against me too posts, Me Too!

John Little

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: vim.org currently down

2014-03-08 Thread Bram Moolenaar

> At the moment there appears to be a problem with the vim.org domain.
> I do not know how long it will take to fix this.
> 
> For the time being:
> - For the website use: http://vim.sourceforge.net
> - For the maillists use the @googlegroups.com addresses.
>   Note that this uses an underscore: vim_dev instead of vim-dev.

Aand we're back!  Thanks to Sec for fixing it.

Keep those alternatives in mind in case it ever happens again.

-- 
Sorry, no fortune today.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


vim.org currently down

2014-03-08 Thread Bram Moolenaar

At the moment there appears to be a problem with the vim.org domain.
I do not know how long it will take to fix this.

For the time being:
- For the website use: http://vim.sourceforge.net
- For the maillists use the @googlegroups.com addresses.
  Note that this uses an underscore: vim_dev instead of vim-dev.

-- 
BEDEVERE: Look!  It's the old man from scene 24 - what's he Doing here?
ARTHUR:   He is the keeper of the Bridge.  He asks each traveler five
  questions ...
GALAHAD:  Three questions.
 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Automatic completion from word list

2014-03-08 Thread lith
> E.G. I type "atmcy" then space or punctuation and
> "automatically" is inserted because that's the match for
> /^a.*t.*m.*c.*y/ in the word list.

I'm currently working on a plugin[1] that can be configured to fit your example 
to some extent:

let g:likelycomplete#select_imap = ''
let g:likelycomplete#use_fuzzy_matches = 1
let g:likelycomplete_filetypes = ["your filetype"]
let g:likelycomplete#other_sources = ['g:my_words']
let g:my_words = ['automatically']

This allows you to type

atmcy

On  users will be presented a list of possible completions, 
including "automatically". (There is also an option to use  but 
that's less useful for long lists.)

It's not the typical use case of that plugin though. :-)

[1] https://github.com/tomtom/likelycomplete_vim

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Automatic completion from word list

2014-03-08 Thread Erik Christiansen
On 07.03.14 16:30, Andre Majorel wrote:
> I would like to be able to type the first letter and some others
> of a word and have Vim automatically pull the matching word from
> my word list.
...

Some or most of your needs may be met by inherent Vim capability.
Have a look at::h ins-completion

After glancing at that, I'm able to autocomplete "automatically" by
typing au in this reply. OK, since that uses the current
file as dictionary, it also offered "autocomplete" as a second option.
If I had wanted that, then  or  provide rotation through
the offered alternatives.

But you asked for dictionary-driven autocompletion. That is described in
subsection 3. A look at:   :h dictionary
as well, should sort that out for you.

By far the easiest way to sort a rated list, such as:

autocomplete   2
automatically  42
automaton  142
calipers   7

would be to pipe the file through "sort -nr". Doing it with just that
paragraph, within Vim, using "!}sort -nr" gave:

calipers   7
automaton  142
automatically  42
autocomplete   2

Yes, that should reduce the number of s needed to reach the most
common alternatives with common leading spelling. (Only one for "au",
with that dictionary.)

Erik

-- 
The UN also estimates that the current global population of 7.2 billion will   
reach 9.6 billion by 2050. That is a faster rate of growth than previously
estimated.  - http://www.bbc.co.uk/news/world-asia-22907307

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.