On Sun, Feb 15, at 10:15 Agathoklis D. Hatzimanikas wrote:
> On Sun, Feb 15, at 08:34 Christian Brabandt wrote:
> > 
> > ok, so digraphs are not the best method for writing longer sets of 
> > characters. For me, I like the use of digraphs (since I use them only 
> > occasionally), I just dislike the way how to find the character you 
> > are looking for
> >
> 
> Just a thought, but if you use them occasionally and only a small subset,
> then you can probably create a list (of the ones you use most) and rely to
> vim for auto completion, like:
> 
> function! CompleteDigraph()
  function! CompleteDigraph(A,L,P)

>     let list = ["Š", "š", "Ţ", "ţ", "Ť", "ť", "Ŧ", "ŧ", "Ũ"]
>     return list
> endfunction
> 
> iab dgr <C-R>= input("Digraph: ", "", "customlist,CompleteDigraph")<CR>
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to