Hi.

Sorry to send mails again and again.
'inoremap' is better than 'imap'.

autocmd FileType fuf inoremap <buffer> <Tab>     <C-n>
autocmd FileType fuf inoremap <buffer> <S-Tab> <C-p>

On Mar 12, 1:01 am, tyru <tyru....@gmail.com> wrote:
> Hi.
>
> I asked this question at chat room about vim.
> Room's member told me that [R] indicates readonly.
>
> And someone also told my code was slightly bad.
>
> autocmd FileType fuf imap <buffer> <Tab>     <C-n>
> autocmd FileType fuf imap <buffer> <S-Tab> <C-p>
>
> should be right.
>
> On Mar 11, 10:49 pm, voxner <voxner....@gmail.com> wrote:
>
> > Hi,
>
> > Thanks.
>
> > autocmd BufEnter,BufFilePost \[fuf\] imap <buffer> <Tab> <C-n>
>
> > works. But I still see '[R]' at the beginning of each selection. Any idea
> > what it signifies? Hope it's not an issue.
>
> > Thanks,
> > voxner
>
> > On Thu, Mar 11, 2010 at 6:25 PM, tyru <tyru....@gmail.com> wrote:
>
> > > On Mar 11, 9:34 pm, voxner <voxner....@gmail.com> wrote:
> > > > Hi,
>
> > > > Thanks for the tip. But I am facing a weird problem, the first time I
> > > press
> > > > tab key the behavior is insertion of tab-whitespace, but subsequently 
> > > > the
> > > > cycling of selections work.
>
> > > hmm, I'm using version 3.5(latest) and it works.
> > > But so, how about this?
>
> > > autocmd BufFilePost \[fuf\] imap <buffer> <Tab>   <C-n>
> > > autocmd BufFilePost \[fuf\] imap <buffer> <S-Tab> <C-p>
>
> > > or
>
> > > autocmd BufEnter,BufFilePost \[fuf\] imap <buffer> <Tab>   <C-n>
> > > autocmd BufEnter,BufFilePost \[fuf\] imap <buffer> <S-Tab> <C-p>
>
> > > > I also noticed a "[R]" before the files which was not the case before
> > > adding
> > > > the two lines. Any idea why it's there? Also the <C-p> does not work,
> > > > meaning there is no reverse cycling on pressing Shift-Tab, because I use
> > > > <C-p> as the special key for my screen terminal emulator.
>
> > > > But the primary problem is the insertion of tab-whitespace the first 
> > > > time
> > > I
> > > > use the tab key to cycle through selections.
>
> > > > Thanks,
> > > > voxner
>
> > > > On Thu, Mar 11, 2010 at 5:37 PM, tyru <tyru....@gmail.com> wrote:
> > > > > Hi voxner.
>
> > > > > ':set wildmenu' does not change fuzzyfinder's behavior.
> > > > > How about this?
>
> > > > > autocmd BufEnter \[fuf\] imap <buffer> <Tab>   <C-n>
> > > > > autocmd BufEnter \[fuf\] imap <buffer> <S-Tab> <C-p>
>
> > > > > On Mar 11, 2:46 pm, voxner <voxner....@gmail.com> wrote:
> > > > > > Hi,
>
> > > > > > I use fuzzyfinder to cycle between buffers. I am forced to use the
> > > <C-N>
> > > > > > command to cycle between selections in the one-line buffer (shown
> > > when we
> > > > > > execute :FufBuffer). I use the latest fuzzyfinder version.  In a
> > > previous
> > > > > > version I was able to use the Tab key to cycle through the
> > > selections.
> > > > > But
> > > > > > now when I press tab vim puts me into "Insert mode" and inserts a
> > > > > > tab-whitespace. How do I get vim to cycle through the selections 
> > > > > > when
> > > I
> > > > > > press the tab key?
>
> > > > > > I had tried setting wildmenu on, but still the behavior is the same.
> > > I
> > > > > also
> > > > > > tried mapping <C-N> to <tab>. But that did not work either. My vimrc
> > > has
> > > > > the
> > > > > > following entries relevant to this issue.
>
> > > > > > set wildmenu
> > > > > > nnoremap <C-N> :tabn<CR> "this I use for going to next tab
>
> > > > > > I would appreciate input on this problem.
>
> > > > > > Thanks,
> > > > > > Prasad
>
> > > > > --
> > > > > 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, visithttp://www.vim.org/maillist.php
>
> > > --
> > > 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, visithttp://www.vim.org/maillist.php

-- 
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

Reply via email to