soywiki 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.markdown CHANGED
@@ -169,7 +169,7 @@ 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, `ENTER` is equivalent to `CTRL-w p` and moves the cursor to the last accessed window
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
173
  * `,f` follows the first WikiLink after the cursor
174
174
  * `CTRL-l` opens a WikiLink in a vertical split window; press `CTRL-l` again
175
175
  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.3.4'
4
+ VERSION = '0.3.5'
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
@@ -604,9 +604,9 @@ func! s:prep_buffer()
604
604
 
605
605
  noremap <silent> <leader>? :call <SID>show_help()<cr>
606
606
 
607
- nnoremap \ gwap
608
- nmap <Leader>- o<Esc>k72i-<Esc><CR>
609
- map <Leader>d :r !date<CR>o
607
+ nnoremap <buffer> \ gwap
608
+ nnoremap <buffer> <Leader>- o<Esc>k72i-<Esc><CR>
609
+ nnoremap <buffer> <Leader>d :r !date<CR>o
610
610
 
611
611
  " set nu
612
612
  setlocal completefunc=CompletePageTitle
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 4
9
- version: 0.3.4
8
+ - 5
9
+ version: 0.3.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi