Re: to or till (f or t) a non-ascii character

2010-09-22 Thread Bee
On Sep 22, 4:21 pm, Ramana Kumar wrote: > On Thu, Sep 23, 2010 at 8:47 AM, Bee <200...@calcentral.com> wrote: > >> No I want an epsilon with a line through it: ∉ > > > Ah like this? > > > :dig E/ 8713 > > Oh I know I can set it up myself :) > I just wondered if there was a built-in digraph for thi

Re: to or till (f or t) a non-ascii character

2010-09-22 Thread Ramana Kumar
On Thu, Sep 23, 2010 at 8:47 AM, Bee <200...@calcentral.com> wrote: >> No I want an epsilon with a line through it: ∉ > > Ah like this? > > :dig E/ 8713 Oh I know I can set it up myself :) I just wondered if there was a built-in digraph for this character, since all the other ones I want are alrea

Re: to or till (f or t) a non-ascii character

2010-09-22 Thread Bee
On Sep 22, 2:57 pm, Ramana Kumar wrote: > On Thu, Sep 23, 2010 at 7:55 AM, Bee <200...@calcentral.com> wrote: > > > Is this the digraph you are looking for, like a lazy L (ell) > > > NO ¬  172 > > No I want an epsilon with a line through it: ∉ Ah like this? :dig E/ 8713 -- You received this me

Re: to or till (f or t) a non-ascii character

2010-09-22 Thread Ramana Kumar
On Thu, Sep 23, 2010 at 7:53 AM, ZyX wrote: > Ответ на сообщение <>, > присланное в 01:17:57 23 сентября 2010, Четверг, > отправитель Ramana Kumar: > > You can use redir: >redir! > digraphs >silent dig >redir END >view digraphs >" Use normal search here Thanks - cool tip! Look

Re: to or till (f or t) a non-ascii character

2010-09-22 Thread Ramana Kumar
On Thu, Sep 23, 2010 at 7:55 AM, Bee <200...@calcentral.com> wrote: > > Is this the digraph you are looking for, like a lazy L (ell) > > NO ¬  172 No I want an epsilon with a line through it: ∉ -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the t

Re: to or till (f or t) a non-ascii character

2010-09-22 Thread Bee
On Sep 22, 2:17 pm, Ramana Kumar wrote: > On Thu, Sep 23, 2010 at 12:39 AM, Simon Ruderich wrote: > > On Wed, Sep 22, 2010 at 04:45:48PM +1000, Ramana Kumar wrote: > >> Digraphs look like an awesome solution; I just need to add a few more > >> maps to the digraph table. > > > :h digraphs > > > Ad

Re: to or till (f or t) a non-ascii character

2010-09-22 Thread ZyX
Ответ на сообщение «Re: to or till (f or t) a non-ascii character», присланное в 01:17:57 23 сентября 2010, Четверг, отправитель Ramana Kumar: You can use redir: redir! > digraphs silent dig redir END view digraphs " Use normal search here Текст сообщения: > On Thu, Sep 23, 2

Re: to or till (f or t) a non-ascii character

2010-09-22 Thread Ramana Kumar
On Thu, Sep 23, 2010 at 12:39 AM, Simon Ruderich wrote: > On Wed, Sep 22, 2010 at 04:45:48PM +1000, Ramana Kumar wrote: >> Digraphs look like an awesome solution; I just need to add a few more >> maps to the digraph table. > > :h digraphs > > Adding digraphs is simple, you can however only create

Re: Find mappings for

2010-09-22 Thread Bee
On Sep 22, 12:42 pm, ZyX wrote: > Ответ на сообщение <>>, > присланное в 23:17:14 22 сентября 2010, Среда, > отправитель Bee: > > > Still not sure about the -p because it does not look like it is open a > > tab. > > > --OR-- > > > Is this: > > > - move one line upward > > p Put the text after th

Re: Find mappings for

2010-09-22 Thread ZyX
Ответ на сообщение «Re: Find mappings for », присланное в 23:17:14 22 сентября 2010, Среда, отправитель Bee: > Still not sure about the -p because it does not look like it is open a > tab. > > --OR-- > > Is this: > > - move one line upward > p Put the text after the cursor No, see :h :p. :{

Re: Find mappings for

2010-09-22 Thread Bee
On Sep 22, 11:50 am, Bee <200...@calcentral.com> wrote: > On Sep 22, 11:38 am, Bee <200...@calcentral.com> wrote: > > On Sep 22, 3:03 am, Christian Brabandt wrote: > > > > Hi Oivvio! > > > > On Mi, 22 Sep 2010, Oivvio Polite wrote: > > > > > On Tue, Sep 21, 2010 at 11:07:22AM +0200, Asis Hallab wr

Re: Find mappings for

2010-09-22 Thread Bee
On Sep 22, 11:38 am, Bee <200...@calcentral.com> wrote: > On Sep 22, 3:03 am, Christian Brabandt wrote: > > > Hi Oivvio! > > > On Mi, 22 Sep 2010, Oivvio Polite wrote: > > > > On Tue, Sep 21, 2010 at 11:07:22AM +0200, Asis Hallab wrote: > > > > Use: > > > > map > > > > That gives my "No mapping f

Re: Find mappings for

2010-09-22 Thread Bee
On Sep 22, 3:03 am, Christian Brabandt wrote: > Hi Oivvio! > > On Mi, 22 Sep 2010, Oivvio Polite wrote: > > > On Tue, Sep 21, 2010 at 11:07:22AM +0200, Asis Hallab wrote: > > > Use: > > > map > > > That gives my "No mapping found" although all of the window handling > > stuff is prefixed by as p

Re: copy & paste problem in vim 7.3

2010-09-22 Thread Hussain
On Wed, 22 Sep 2010, Henry Hertz Hobbit wrote: On Sep 21, 2:37 pm, Hussain wrote: Hello all, I have compiled vim 7.3 on slackware 13.0 with "--enable-gui=motif --with-x --with-features=huge ...". Up to now I have two problems: 1- Although I can copy from an xterm window to vi

Re: Find mappings for

2010-09-22 Thread Gary Johnson
On 2010-09-22, Oivvio Polite wrote: > On Tue, Sep 21, 2010 at 11:07:22AM +0200, Asis Hallab wrote: > > Use: > > map > > > > That gives my "No mapping found" although all of the window handling > stuff is prefixed by as per default. You can find default key bindings documented here: :help

Re: why use "let str = a:str" in a function

2010-09-22 Thread Bee
On Sep 22, 10:18 am, Ben Fritz wrote: > On Sep 22, 11:44 am, Bee <200...@calcentral.com> wrote: > > Is it possible to increment all items in a dict without looping? > > You can use the map() function, which probably does technically use a > loop but does so in the underlying C code, so it will be

Re: Mappings that never go away

2010-09-22 Thread Gary Johnson
On 2010-09-22, Henry Hertz Hobbit wrote: > First be sure you didn't also add it to the %ProgramFiles%\Vim\vim## > \vimrc (where ## is your version number) file. Before you do any of > the rest of this make sure you edit your _virmc file and the other > system file (if you have one) with NotePad o

Re: why use "let str = a:str" in a function

2010-09-22 Thread Ben Fritz
On Sep 22, 11:44 am, Bee <200...@calcentral.com> wrote: > > Is it possible to increment all items in a dict without looping? > You can use the map() function, which probably does technically use a loop but does so in the underlying C code, so it will be faster than an equivalent vimscript :for o

Re: why use "let str = a:str" in a function

2010-09-22 Thread Bee
On Sep 22, 6:27 am, Ben Fritz wrote: > On Sep 21, 10:00 pm, Bee <200...@calcentral.com> wrote: > > The :help a:var does say "However, if a |List| or |Dictionary| is > > used, you can change their contents." > > > I found this example function. Is {a:var} now a Dictionary? > > > function! Inc(var)

Re: to or till (f or t) a non-ascii character

2010-09-22 Thread Benjamin R. Haskell
On Wed, 22 Sep 2010, BC wrote: On Sep 21, 11:31 pm, "Benjamin R. Haskell" wrote: I can't quite figure out a way to use => with 't'. But, perhaps the next best thing (depending on your use-case) is the '*' search. If you navigate to put the cursor above the => through other means (word/sente

only fold comments in c/c++

2010-09-22 Thread key....@googlemail.com
hi, can i somehow by default only fold c-style comment-block /* … */ and nothing else (no {} blocks). regards, keyan -- 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/ma

Re: to or till (f or t) a non-ascii character

2010-09-22 Thread Simon Ruderich
On Wed, Sep 22, 2010 at 04:45:48PM +1000, Ramana Kumar wrote: > Digraphs look like an awesome solution; I just need to add a few more > maps to the digraph table. :h digraphs Adding digraphs is simple, you can however only create digraphs consisting of two "trigger characters". Simon -- + priva

Re: to or till (f or t) a non-ascii character

2010-09-22 Thread Simon Ruderich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Wed, Sep 22, 2010 at 02:08:27PM +1000, Ramana Kumar wrote: > Wow I never know what q: was for. Looks cool! My iabbrevs even > work in there. If you already typed something in command mode (: ..), pressing also opens this window. Regards, Simon

Re: Compiling gvim on Debian

2010-09-22 Thread Simon Ruderich
On Wed, Sep 22, 2010 at 12:17:31PM +0200, Matteo Riva wrote: > 2010/9/22 Dominique Pellé : > Thanks for both these suggestion, I completely forgot to check the > enabled features and actually some are missing compared to my usual > setup (e.g. perl). If you want to compile more packages it's a goo

Re: why use "let str = a:str" in a function

2010-09-22 Thread Ben Fritz
On Sep 21, 10:00 pm, Bee <200...@calcentral.com> wrote: > > The :help a:var does say "However, if a |List| or |Dictionary| is > used, you can change their contents." > > I found this example function. Is {a:var} now a Dictionary? > > function! Inc(var) >   let {a:var} += 1 >   return {a:var} > en

Re: to or till (f or t) a non-ascii character

2010-09-22 Thread BC
On Sep 21, 11:31 pm, "Benjamin R. Haskell" wrote: > I can't quite figure out a way to use => with 't'. But, perhaps the next > best thing (depending on your use-case) is the '*' search. If you > navigate to put the cursor above the => through other means > (word/sentence/paragraph movement), y

Re: nmap'ped commands do not work - but if typed manually

2010-09-22 Thread fka...@googlemail.com
Jürgen Krämer wrote: > I'm not sure if it's related, but there's a note for the 'foldopen' > option that this option is not taken into account if the commands > mentioned there are used insided a mapping. One category of commands > listed at :help 'foldopen' is "block" which contains "(", "{", "

Re: Compiling gvim on Debian

2010-09-22 Thread Matteo Riva
2010/9/22 Dominique Pellé : > On Ubuntu (I assume that it's the same on Debian), you can > install all packages needed to be able to compile the gnome > version of Vim with: > > $ sudo apt-get build-dep vim-gnome > > Even if you managed to compile Vim with GUI, you may still > want to try that in c

Re: Find mappings for

2010-09-22 Thread Christian Brabandt
Hi Oivvio! On Mi, 22 Sep 2010, Oivvio Polite wrote: > On Tue, Sep 21, 2010 at 11:07:22AM +0200, Asis Hallab wrote: > > Use: > > map > > > > That gives my "No mapping found" although all of the window handling > stuff is prefixed by as per default. These "mappings" are defined in the help: :h

Re: nmap'ped commands do not work - but if typed manually

2010-09-22 Thread Jürgen Krämer
Hi fka...@googlemail.com wrote: > > This is probably a trivial one... > > I have created a new mapping similar to zO, that recursivly opens all > folds even in case the current fold is already open (but some nested > are not). Normal zO does not do anything in this case. > > I achieve this by

Re: Compiling gvim on Debian

2010-09-22 Thread Dominique Pellé
Matteo Riva skribis: > On Wed, Sep 22, 2010 at 11:13 AM, Matteo Riva wrote: >> I'm trying to compile vim with gui support on a Debian system.  I can't >> seem to figure how to enable the gui option, I tried >> >>   ./configure --enable-gui=gnome2 >> >> assuming it would at least check for the req

Re: Compiling gvim on Debian

2010-09-22 Thread Matteo Riva
On Wed, Sep 22, 2010 at 11:13 AM, Matteo Riva wrote: > I'm trying to compile vim with gui support on a Debian system.  I can't > seem to figure how to enable the gui option, I tried > >   ./configure --enable-gui=gnome2 > > assuming it would at least check for the required libraries and warn me >

Re: Mappings that never go away

2010-09-22 Thread Henry Hertz Hobbit
First be sure you didn't also add it to the %ProgramFiles%\Vim\vim## \vimrc (where ## is your version number) file. Before you do any of the rest of this make sure you edit your _virmc file and the other system file (if you have one) with NotePad or some other editor that is not depending on the

nmap'ped commands do not work - but if typed manually

2010-09-22 Thread fka...@googlemail.com
Hi, This is probably a trivial one... I have created a new mapping similar to zO, that recursivly opens all folds even in case the current fold is already open (but some nested are not). Normal zO does not do anything in this case. I achieve this by first selecting all of the current fold (jump

Compiling gvim on Debian

2010-09-22 Thread Matteo Riva
I'm trying to compile vim with gui support on a Debian system. I can't seem to figure how to enable the gui option, I tried ./configure --enable-gui=gnome2 assuming it would at least check for the required libraries and warn me if any are missing, but in configure's output there is no mention

Re: Find mappings for

2010-09-22 Thread ZyX
Ответ на сообщение «Re: Find mappings for », присланное в 11:10:14 22 сентября 2010, Среда, отправитель Oivvio Polite: Map commands show only custom user mappings. If you want to list builtin commands, use either tab completion on `:h CTRL-W' or `:helpgrep \*CTRL-W'. I do not know any way to s

Re: Find mappings for

2010-09-22 Thread Oivvio Polite
On Tue, Sep 21, 2010 at 11:07:22AM +0200, Asis Hallab wrote: > Use: > map > That gives my "No mapping found" although all of the window handling stuff is prefixed by as per default. oivvio -- http://pipedreams.polite.se/about/ -- You received this message from the "vim_use" maillist. Do n