soywiki 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +22 -17
- data/lib/soywiki/html.rb +1 -1
- data/lib/soywiki.rb +1 -1
- metadata +2 -2
data/README.markdown
CHANGED
@@ -199,30 +199,35 @@ When you're on a wiki page and you want to see all the other wiki pages
|
|
199
199
|
that link in to it, press `,M`. If there is only one page that links in,
|
200
200
|
you'll be taken there automatically.
|
201
201
|
|
202
|
-
* `,o` opens the first web hyperlink
|
203
|
-
*
|
202
|
+
* `,o` opens the first web hyperlink under or after the cursor in the default external web browser
|
203
|
+
* `ENTER` opens the web hyperlink under the cursor in the default external web browser
|
204
|
+
* `,O` opens the web hyperlink under the cursor in a vertical split window
|
205
|
+
* `CTRL-w f` opens the web hyperlink under the cursor in a normal split window
|
206
|
+
* `gf` opens the web hyperlink under the cursor in the same Vim window
|
204
207
|
|
205
|
-
`,o` opens the next hyperlink on or after the cursor
|
206
|
-
|
207
|
-
cursor is over a
|
208
|
+
`,o` opens the next web hyperlink on or after the cursor in your default
|
209
|
+
external web browser. Web hyperlinks are the URLs that begin with
|
210
|
+
http:// or https://. You can also use `ENTER` when the cursor is over a
|
211
|
+
web hyperlink.
|
208
212
|
|
209
213
|
Under the covers, SoyWiki uses the command `gnome-open` or `open` to
|
210
|
-
launch your web browser. This should cover Linux Gnome desktop
|
211
|
-
users. You can change the command SoyWiki uses to open a
|
212
|
-
adding this to your `~/.vimrc`:
|
214
|
+
launch your external web browser. This should cover Linux Gnome desktop
|
215
|
+
and OS X users. You can change the command SoyWiki uses to open a
|
216
|
+
hyperlink by adding this to your `~/.vimrc`:
|
213
217
|
|
214
218
|
let g:SoyWiki#browser_command = "your browser command here"
|
215
219
|
|
216
220
|
If your Vim has `netrw` installed, you can open a hyperlink directly in
|
217
|
-
|
218
|
-
(capital O).
|
219
|
-
using `elinks` or whatever browser you set as your
|
220
|
-
See `:help netrw` for more information.
|
221
|
+
Vim by putting the cursor on a web hyperlink and typing `gf`, `CTRL-W f`
|
222
|
+
or `,O` (capital O). All these commands open the webpage inside your Vim
|
223
|
+
session using `elinks` or whatever browser you set as your
|
224
|
+
`g:netrw_http_cmd`. See `:help netrw` for more information.
|
221
225
|
|
222
|
-
Tip: I personally
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
+
Tip: I personally prefer using `netrw` (configured to use elinks) to
|
227
|
+
launching URLs in an external web browser. This lets me keep all my URL
|
228
|
+
bookmarks in regular text files and open, clip, and annotate them all in
|
229
|
+
SoyWiki and Vim. Using `netrw` helps your text editor rather than your
|
230
|
+
web browser dominate your workflow.
|
226
231
|
|
227
232
|
|
228
233
|
## WikiLink autocompletion
|
@@ -323,7 +328,7 @@ command. Use `:vimgrep` directly if you want to do anything more
|
|
323
328
|
specific.
|
324
329
|
|
325
330
|
Tip: You can flag important notes in your wiki content by typing flags
|
326
|
-
like TODO or IMPORTANT on the same line, and then use `:SWSearch` and
|
331
|
+
like TODO or IMPORTANT! on the same line, and then use `:SWSearch` and
|
327
332
|
`:cl` to see all instances of them across your entire wiki.
|
328
333
|
|
329
334
|
## Revision history and distributed workflows
|
data/lib/soywiki/html.rb
CHANGED
data/lib/soywiki.rb
CHANGED