soywiki 0.8.4 → 0.8.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.
Files changed (3) hide show
  1. data/lib/soywiki.rb +1 -1
  2. data/lib/soywiki.vim +4 -3
  3. metadata +3 -3
data/lib/soywiki.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'string_ext'
2
2
 
3
3
  module Soywiki
4
- VERSION = '0.8.4'
4
+ VERSION = '0.8.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
@@ -211,6 +211,7 @@ func! s:load_page(page, split)
211
211
  elseif (a:split == 0)
212
212
  exec "e ".file
213
213
  endif
214
+ normal 3G0
214
215
  if s:search_for_link != ''
215
216
  let res = search(s:search_for_link, 'cw')
216
217
  let s:search_for_link = ''
@@ -632,9 +633,9 @@ func! s:prep_buffer()
632
633
  if (s:is_wiki_page() && !exists("b:mappings_loaded"))
633
634
  " let user decide on the textwidth
634
635
  set filetype=txt
635
- nnoremap <buffer> <cr> :call <SID>follow_link_under_cursor(0)<cr>
636
- nnoremap <buffer> <c-l> :call <SID>follow_link_under_cursor(2)<cr>
637
- nnoremap <buffer> <c-h> :call <SID>follow_link_under_cursor(1)<cr>
636
+ nnoremap <buffer> <cr> :call <SID>follow_link_under_cursor(0)<cr>
637
+ nnoremap <buffer> <c-l> :call <SID>follow_link_under_cursor(2)<cr>
638
+ nnoremap <buffer> <c-h> :call <SID>follow_link_under_cursor(1)<cr>
638
639
  noremap <buffer> <leader>f :call <SID>fuzzy_follow_link(0)<CR>
639
640
  noremap <buffer> <c-j> :call <SID>find_next_wiki_link(0)<CR>
640
641
  noremap <buffer> <c-k> :call <SID>find_next_wiki_link(1)<CR>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soywiki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-06 00:00:00.000000000Z
12
+ date: 2011-12-14 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: A personal and collaborative wiki for Vim users
15
15
  email:
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  version: '0'
64
64
  requirements: []
65
65
  rubyforge_project: soywiki
66
- rubygems_version: 1.8.11
66
+ rubygems_version: 1.8.10
67
67
  signing_key:
68
68
  specification_version: 3
69
69
  summary: Wiki with Vim interface and Git repo