One9398 / vimwiki

Automatically exported from code.google.com/p/vimwiki
0 stars 1 forks source link

<Enter> doesn't work to follow links in Mac OS X Terminal #391

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. invoke vimWiki through vim in Mac OS X Terminal
2. move cursor to a link
3. hit <Enter>

What is the expected output? What do you see instead?

This should 'follow' the link in question

What version of the product are you using? On what operating system?

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jun 20 2012 13:16:02)
Compiled by root@apple.com
Mac OS X 10.8.2

Please provide any additional information below.

Original issue reported on code.google.com by jeremy.d...@mutualmobile.com on 28 Nov 2012 at 9:07

GoogleCodeExporter commented 8 years ago
I can not reproduce this. 

What type of link are you following?  Please try entering ":let g:vimwiki_debug 
= 3", and then try following the link again.  

For a simple link [[PageTwo]], I get the following debug messages printed to my 
screen:

open_link: idx=0, scheme=wiki0, path=/VimPlugins/vimwiki-master/sandbox/wiki/, 
subdir=, lnk=PageTwo, ext=.wiki, 
url=/VimPlugins/vimwiki-master/sandbox/wiki/PageTwo.wiki
Setup_buffer_leave g:curr_idx=0 b:curr_idx=0
"/VimPlugins/vimwiki-master/sandbox/wiki/PageTwo.wiki" 1L, 17C
Setup_filetype g:curr_idx=0 b:curr_idx=0
  Setup_filetype g:curr_idx=0 find_idx=0 b:curr_idx=0
  Setup_filetype g:curr_idx=0 (reset_wiki_state) b:curr_idx=0
[vimwiki_debug] syntax target > \[\[[^\\\]]\{-}\%(|[^\\\]]\{-}\)\?\]\]
[vimwiki_debug] syntax target > {{[^\\\}]\{-}\%(|[^\\\}]\{-}\)\{-}}}
[vimwiki_debug] syntax target > 
[[:alnum:]]\@<!\%(\%(\%(http\|https\|file\|ftp\|gopher\|telnet\|nntp\|ldap\|rsyn
c\|imap\|pop\|irc\|ircs\|cvs\|svn\|svn+ssh\|git\|ssh\|fish\|sftp\):
\%(//\)\)\|\%(mailto\|news\|xmpp\|sip\|sips\|doi\|urn\|tel\):\)\S\{-1,}\%(([^ 
\t()]*)\)\=\S*
[vimwiki_debug] syntax target > 
\[\[\%(wiki\d\+\|diary\|local\|http\|https\|file\|ftp\|gopher\|telnet\|nntp\|lda
p\|rsync\|imap\|pop\|irc\|ircs\|cvs\|svn\|svn+ssh\|git\|ssh\|fish\|
sftp\):[^\\\]]\{-}]]
[vimwiki_debug] syntax target > 
\[\[\%(wiki\d\+\|diary\|local\|http\|https\|file\|ftp\|gopher\|telnet\|nntp\|lda
p\|rsync\|imap\|pop\|irc\|ircs\|cvs\|svn\|svn+ssh\|git\|ssh\|fish\|
sftp\):[^\\\]]\{-}|[^\\\]]\{-}]]
[vimwiki_debug] syntax target > 
{{\%(wiki\d\+\|diary\|local\|http\|https\|file\|ftp\|gopher\|telnet\|nntp\|ldap\
|rsync\|imap\|pop\|irc\|ircs\|cvs\|svn\|svn+ssh\|git\|ssh\|fish\|sf
tp\):[^\\\}]\{-}}}
[vimwiki_debug] syntax target > 
{{\%(wiki\d\+\|diary\|local\|http\|https\|file\|ftp\|gopher\|telnet\|nntp\|ldap\
|rsync\|imap\|pop\|irc\|ircs\|cvs\|svn\|svn+ssh\|git\|ssh\|fish\|sf
tp\):[^\\\}]\{-}\%(|[^\\\}]\{-}\)\{-}}}
WikiLink Prefix: \[\[
WikiLink Suffix: \]\]
WikiLink Prefix1: \[\[[^\\\]]\{-}|
WikiLink Suffix1: \]\]
WikiIncl Prefix: {{[^\\\}]\{-}|
WikiIncl Suffix: \%(|[^\\\}]\{-}\)\{-}}}
  Setup_filetype g:curr_idx=0 (set ft=vimwiki) b:curr_idx=0
Setup_buffer_reenter g:curr_idx=0 b:curr_idx=0
  Setup_buffer_reenter g:curr_idx=0 b:curr_idx=0
Setup_buffer_enter g:curr_idx=0 b:curr_idx=0

Original comment by stu.andrews on 27 Dec 2012 at 9:13

GoogleCodeExporter commented 8 years ago

Original comment by stu.andrews on 28 Dec 2012 at 3:25

GoogleCodeExporter commented 8 years ago

Original comment by habamax on 21 Feb 2013 at 4:07