vimwiki-backup / vimwiki

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

Cannot VimWikiFollowLink in OS X (no carriage return) #248

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open Vim, and then VimWiki in an OS X Terminal
2. Navigate to a CamelCase Link
3. Hit Return

What is the expected output? What do you see instead?
I expect to follow the CamelCase link to a new file.  Instead my cursor moves 
to the beginning of the next line.

What version of the product are you using? On what operating system?
VimWiki 1.2 on OS X 10.6 (Snow Leopard)

Please provide any additional information below.
Using any OS X modifier keys (fn, ctrl, shift, alt, cmd) with the return key 
does not resolve the issue.
Mapping a unique key sequence to the <Plug> ie ":map <Leader>wf 
<Plug>VimwikiFollowLink" also does not resolve the issue.

A cursory glance at :map output reveals that only the following plugs are 
mapped: VimwikiTabMakeDiaryNote, VimwikiMakeDiaryNote, VimwikiDiaryIndex, 
VimwikiUISelect, VimwikiTabIndex, VimwikiIndex.  These are the commands defined 
in src/plugin/vimwiki.vim.  It appears that the commands defined in 
src/ftplugin/vimwiki.vim are not loading.

Using Tab to find next/previous link also does not work, presumably because of 
the same issue.  I have not opened a separate ticket for this because whatever 
solves the issue above should also solve the Tab problem.

Original issue reported on code.google.com by cody.h...@gmail.com on 31 Aug 2011 at 9:42

GoogleCodeExporter commented 9 years ago
Fastest resolve ever...

In .vimrc -

set nocompatible
filetype plugin on
syntax on

The solution was revealed to me as I typed the issue... "the commands defined 
in src/ftplugin/vimwiki.vim are not loading".

Sorry for the issue-spam.  A few more of these time-sinks and I'll eventually 
learn to RTM.

Original comment by cody.h...@gmail.com on 31 Aug 2011 at 9:46

GoogleCodeExporter commented 9 years ago

Original comment by habamax on 12 Oct 2011 at 11:26