soywiki 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.markdown +10 -3
  2. data/lib/soywiki.rb +1 -1
  3. data/lib/soywiki.vim +6 -3
  4. metadata +3 -3
data/README.markdown CHANGED
@@ -53,6 +53,10 @@ The current version of SoyWiki assumes a Unix environment.
53
53
 
54
54
  To use SoyWiki you should be fairly good at using Vim.
55
55
 
56
+ To install Ruby 1.9.2, I recommend using the [RVM Version Manager][rvm].
57
+
58
+ [rvm]:http://rvm.beginrescueend.com
59
+
56
60
  Most of SoyWiki's commands should work even if you don't have Git
57
61
  installed. But the revision history commands will not.
58
62
 
@@ -62,11 +66,14 @@ installed. But the revision history commands will not.
62
66
 
63
67
  Test your installation by typing `soywiki -h`. You should see SoyWiki's help.
64
68
 
69
+ If you run into any PATH errors, try the following: Install the RVM
70
+ Version Manager, then install Ruby 1.9.2 through RVM, and then run `gem
71
+ install soywiki`. This should solve any installation issues.
72
+
65
73
  On some systems you may run into a PATH issue, where the system can't find the
66
- `soywiki` command after installation. Please report this if you encounter this
67
- problem, and mention what system you're using. You might want to try
74
+ `soywiki` command after installation.
75
+
68
76
 
69
- sudo gem install soywiki
70
77
 
71
78
  If you ever want to uninstall SoyWiki from your system, execute this command:
72
79
 
data/lib/soywiki.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'string_ext'
2
2
 
3
3
  module Soywiki
4
- VERSION = '0.5.1'
4
+ VERSION = '0.5.2'
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
@@ -354,6 +354,9 @@ function! s:page_list_window(page_match_list, buffer_name, prompt)
354
354
  inoremap <buffer> <Tab> <Esc>:call <SID>reduce_matches()<cr>
355
355
  noremap <buffer> q <Esc>:close<cr>
356
356
  inoremap <buffer> <Esc> <Esc>:close<cr>
357
+
358
+ " Bad, gets buggy with frag "dai"
359
+ " autocmd CursorMovedI <buffer> call feedkeys("\<C-x>\<C-u>\<C-p>", "n")
357
360
  " c-p clears the line
358
361
  call setline(1, a:prompt)
359
362
  normal $
@@ -558,9 +561,9 @@ endfunc
558
561
  "------------------------------------------------------------------------
559
562
 
560
563
  func! s:global_mappings()
561
- noremap <leader>m :call <SID>list_pages()<CR>
562
- noremap <leader>M :call <SID>list_pages_linking_in()<CR>
563
- noremap <silent> <leader>o :call <SID>find_next_href_and_open()<cr>
564
+ nnoremap <leader>m :call <SID>list_pages()<CR>
565
+ nnoremap <leader>M :call <SID>list_pages_linking_in()<CR>
566
+ nnoremap <silent> <leader>o :call <SID>find_next_href_and_open()<cr>
564
567
  nnoremap <silent> q :close<cr>
565
568
  " for netrw vertical split
566
569
  nnoremap ,O :exec "silent botright vsplit ". expand("<cWORD>")<cr>
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 1
9
- version: 0.5.1
8
+ - 2
9
+ version: 0.5.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-02-16 00:00:00 -05:00
17
+ date: 2011-02-17 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency