On Wed, Dec 04, 2013 at 12:54:31PM +0100, Tony Mechelynck wrote:
> On 04/12/13 06:25, Yu Mao Kao wrote:
> >Hi,
> >
> >There is one problem in my environment which running vim-7.4.86-1 on arch linux.
> >
> >CTRL-] does not jump to tags in my machine, simply in :help neither.
> >However :ta, :tags, and g] work so well.
> >
> >I have done some test,
> >:verbose nmap <C-]>
> >shows nothing.
> >
> >And
> >$ vim -u "NONE"
> >to bypass all my vimrc and plugins.
> >
> >None has working CTRL-].
> >
> >
> >How could I figure out this problem?
> >Thanks for any help.
> >
> >Best regards,
> >YMK
> >
>
> First of all, and especially if you aren't using both an en-US
> keyboard on an en-US OS-locale, I'd recommend to ascertain whether
> your Ctrl-] key is sending a Ctrl-] code. If it isn't, Vim cannot
> recognise it.
>
> To do that, first make sure that 'showcmd' is on (which is not the
> Unix default) then start a new buffer (by :enew or :new or :tabnew)
> then start Insert mode and hit Ctrl-V followed by Ctrl-]
>
> If nothing appears and ^V is still present near bottom right of your
> screen, then Vim got nothing for your Ctrl-] -- otherwise whatever
> appeared is the code your keyboard sent when you hit Ctrl-]. If it
> says ^] but you can put the cursor only on the ^ then it is correct;
> otherwise go back to Normal mode and put the cursor on the inserted
> code, then git ga
>
> If it is what you expect (and you aren't running on an EBCDIC
> IBM-zOS mainframe), Vim should tell you that it has value 29, Hex
> 1d, Octal 035. Anything else is not the Ctrl-] code and in that case
> there are two solutions:
Thanks to Tony and Tim for such informative help.
I tried to key in with ^V in Insert mode, and it does shows a symbol
other than ^].
After checking my setting of xkb, terminator, tmux...,
it is my X input method's fault that taking ^] over and send other symbol.
Turn this option off, and ^] work as well.
Greatly appreciate your replies.
Best regards,
YMK
--
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Wednesday, December 4, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment