soywiki 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -169,7 +169,6 @@ commands:
169
169
 
170
170
  * `CTRL-j` and `CTRL-k` move the cursor directly to the next or previous WikiLink on the page
171
171
  * `ENTER` follows the WikiLink under the cursor
172
- * If there is no WikiLink under the cursor and the cursor is not on the top line, `ENTER` is equivalent to `CTRL-w p` and moves the cursor to the last accessed window
173
172
  * `,f` follows the first WikiLink after the cursor
174
173
  * `CTRL-l` opens a WikiLink in a vertical split window; press `CTRL-l` again
175
174
  while the cursor is on the top line to close the new window
data/lib/soywiki.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'string_ext'
2
2
 
3
3
  module Soywiki
4
- VERSION = '0.4.6'
4
+ VERSION = '0.4.7'
5
5
  WIKI_WORD = /\b([a-z][\w_]+\.)?[A-Z][a-z]+[A-Z]\w*\b/
6
6
  HYPERLINK = %r|\bhttps?://[^ >)\n\]]+|
7
7
 
data/lib/soywiki.vim CHANGED
@@ -139,9 +139,7 @@ func! s:follow_link_under_cursor(split)
139
139
  endif
140
140
  let link = s:link_under_cursor()
141
141
  if link == ""
142
- " just switch windows
143
- silent wincmd p
144
- echom "'" . word . "' is not a wiki link. " . (winnr('$') > 1 ? "Switched to last accessed window." : "")
142
+ echom ""
145
143
  return ""
146
144
  elseif line('.') == 1
147
145
  " SPECIAL CASE
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 6
9
- version: 0.4.6
8
+ - 7
9
+ version: 0.4.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi