soywiki 0.5.9 → 0.6.0
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 +4 -0
- data/lib/soywiki.rb +1 -1
- data/lib/soywiki.vim +2 -1
- metadata +3 -3
data/README.markdown
CHANGED
@@ -17,6 +17,7 @@ A quick overview of SoyWiki's characteristics and features:
|
|
17
17
|
* autocompletion of wiki words
|
18
18
|
* automated global renaming of wiki words
|
19
19
|
* syntax colored wiki words
|
20
|
+
* can open web hyperlinks in external browser or inside Vim
|
20
21
|
* outliner-like capability with expansion commands
|
21
22
|
* operates on all POSIX systems (e.g. OS X, Linux, FreeBSD)
|
22
23
|
|
@@ -229,6 +230,9 @@ you'll be taken there automatically.
|
|
229
230
|
`,n` lets you select from your namespaces. Choosing one will take you to
|
230
231
|
the `HomePage` of that namespace.
|
231
232
|
|
233
|
+
|
234
|
+
## Opening web hyperlinks
|
235
|
+
|
232
236
|
* `,o` opens the first web hyperlink under or after the cursor in the default external web browser
|
233
237
|
* `ENTER` opens the web hyperlink under the cursor in the default external web browser
|
234
238
|
* `,O` opens the web hyperlink under the cursor in a vertical split window
|
data/lib/soywiki.rb
CHANGED
data/lib/soywiki.vim
CHANGED
@@ -241,7 +241,7 @@ func! s:delete_page()
|
|
241
241
|
endif
|
242
242
|
|
243
243
|
echo system("git rm " . file)
|
244
|
-
call system("git commit
|
244
|
+
call system("git commit -am 'page deletion'")
|
245
245
|
exec "bdelete " . bufnr
|
246
246
|
redraw
|
247
247
|
echom "Deleted " . file
|
@@ -256,6 +256,7 @@ func! s:rename_page(page_path_or_title)
|
|
256
256
|
endif
|
257
257
|
if s:valid_wiki_word(page_title)
|
258
258
|
write!
|
259
|
+
call system("mkdir -p " . s:namespace_of_title(page_title))
|
259
260
|
let original_file = bufname('')
|
260
261
|
echo system("git mv " . original_file . " " . newfile)
|
261
262
|
call system("git commit -am 'rename wiki page'")
|