soywiki 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -1,7 +1,7 @@
1
1
  # SoyWiki
2
2
 
3
- SoyWiki turns Vim into a powerful, lean, and fast wiki. It's got all
4
- the protein of a more conventional wiki, but a lot less of the fat and
3
+ SoyWiki turns Vim into a powerful, lean, and fast wiki. It's got all the
4
+ protein of a more conventional wiki, but less saturated fat and no
5
5
  cholesterol.
6
6
 
7
7
  A quick overview of its characteristics and features:
@@ -26,15 +26,15 @@ and refactor wiki content at the speed of thought.
26
26
 
27
27
  SoyWiki is good for tracking projects, contacts, ideas, and collecting
28
28
  and organizing research. SoyWiki combines the affordances of notebooks,
29
- index cards, and Post-it notes, and adds to them the power of hyperlinks
30
- and automatic indexing.
29
+ index cards, and Post-it notes, and adds to them the power of
30
+ hyperlinks, search, and automated refactoring.
31
31
 
32
- SoyWiki makes a great writing aid, especially if you do your writing in
32
+ SoyWiki makes a good writing aid, especially if you do your writing in
33
33
  Vim. You can have SoyWiki open in multiple Vim windows, tabs, and
34
34
  buffers, alongside any number of regular Vim windows. Throw in a bunch
35
35
  of Vim abbreviations (`:help abbreviations`), a large monitor, and a
36
- teapot, and you'll have your paper, essay, book, or screenplay written
37
- in record time.
36
+ teapot, and you'll have a powerful toolkit for writing your paper, essay,
37
+ book, or screenplay.
38
38
 
39
39
  SoyWiki is free and open source.
40
40
 
@@ -245,11 +245,12 @@ Then, type
245
245
  * `:SWLinkAppend [target]` performs `:SWAppend` and replaces the text with a WikiWord link
246
246
 
247
247
  `[target]` is the name of the file that contains the wiki page you're
248
- targeting. Press `TAB` for autocompletion help.
248
+ targeting, e.g. `recipes/SoyRaspberrySmoothie`. Press `TAB` for
249
+ autocompletion help.
249
250
 
250
- These commands will open the target page (if it isn't open already) in a
251
- split window and insert or append the selected text into it. If the
252
- target page doesn't exist, it will be created.
251
+ These four commands will open the target page (if it isn't open already)
252
+ in a split window and insert or append the selected text into it. If
253
+ the target page doesn't exist, it will be created.
253
254
 
254
255
  You can use these shortcuts:
255
256
 
@@ -325,12 +326,11 @@ upstream on some server for all your computers to push to and pull from.
325
326
 
326
327
 
327
328
  If you want to edit a common SoyWiki with many other people, it's
328
- probably best to set up a common upstream Git repository and to work
329
- locally on a development branch before pulling the HEAD of the master
330
- branch from origin, merging your edits into it, and pushing the merged
331
- result back to origin. This process may be intimidating for
332
- non-programmers, so a future version of SoyWiki may provide a more
333
- user-friendly interface for distributed collaboration workflows.
329
+ probably best to set up a common upstream Git repository (e.g. on
330
+ GitHub, if the wiki content is for public consumption). This process
331
+ may be intimidating for non-programmers, so a future version of SoyWiki
332
+ may provide a more user-friendly interface for distributed collaboration
333
+ workflows.
334
334
 
335
335
 
336
336
 
@@ -378,7 +378,7 @@ of html pages. Type `soywiki --html` from the root directory of your wiki.
378
378
  SoyWiki adds a few convenient Vim macros that you can use anytime.
379
379
 
380
380
 
381
- * The `\` key in normal mode reformat the current paragraph. It is equivalent to
381
+ * `\` in normal mode reformats the current paragraph. It is equivalent to
382
382
  `gwap`. (`:help formatting`)
383
383
  * `,-` inserts a long dashed line
384
384
  * `,d` inserts the current date and time
data/Rakefile CHANGED
@@ -31,6 +31,7 @@ desc "build and push website"
31
31
  task :web => :build_webpage do
32
32
  puts "Building and pushing website"
33
33
  `scp website/soywiki.html zoe2@instantwatcher.com:~/danielchoi.com/public/software/`
34
+ `scp -r website/images-soywiki zoe2@instantwatcher.com:~/danielchoi.com/public/software/`
34
35
  `open http://danielchoi.com/software/soywiki.html`
35
36
  end
36
37
 
data/lib/soywiki.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'string_ext'
2
2
 
3
3
  module Soywiki
4
- VERSION = '0.2.7'
4
+ VERSION = '0.2.8'
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
@@ -557,13 +557,7 @@ func! s:global_mappings()
557
557
  noremap <silent> <leader>o :call <SID>find_next_href_and_open()<cr>
558
558
  nnoremap <silent> q :close<cr>
559
559
 
560
- " reflow text
561
- nnoremap \ gwap
562
- " insert a line
563
- nmap <Leader>- o<Esc>k72i-<Esc><CR>
564
- " insert date
565
- map <Leader>d :r !date<CR>o
566
-
560
+
567
561
  command! -bar -nargs=1 -range -complete=file SWAppend :<line1>,<line2>call s:extract(<f-args>, 'append', 0)
568
562
  command! -bar -nargs=1 -range -complete=file SWInsert :<line1>,<line2>call s:extract(<f-args>, 'insert', 0)
569
563
  command! -bar -nargs=1 -range -complete=file SWLinkAppend :<line1>,<line2>call s:extract(<f-args>, 'append', 1)
@@ -605,7 +599,11 @@ func! s:prep_buffer()
605
599
 
606
600
  noremap <silent> <leader>? :call <SID>show_help()<cr>
607
601
 
608
- set nu
602
+ nnoremap \ gwap
603
+ nmap <Leader>- o<Esc>k72i-<Esc><CR>
604
+ map <Leader>d :r !date<CR>o
605
+
606
+ " set nu
609
607
  setlocal completefunc=CompletePageTitle
610
608
  augroup <buffer>
611
609
  au!
@@ -2,7 +2,7 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
- <title>Vmail</title>
5
+ <title>SoyWiki</title>
6
6
  <link href="stylesheets-vmail/reset.css?{{timestamp}}" media="screen" rel="stylesheet" type="text/css" />
7
7
  <link href="stylesheets-vmail/960.css?{{timestamp}}" media="screen" rel="stylesheet" type="text/css" />
8
8
  <link href="stylesheets-vmail/text.css?{{timestamp}}" media="screen" rel="stylesheet" type="text/css" />
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 7
9
- version: 0.2.7
8
+ - 8
9
+ version: 0.2.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi