-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathREADME
48 lines (29 loc) · 1.49 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Vimfluence - Edit Confluence with Vim (or some other editor)
Free yourself from the shackles of WYSIWYG and TextArea wiki editors. Reach
unheralded levels of productivity by editing your Confluence wiki with the
most powerful text editor known to mankind: Vim!
(You can use less powerful editors as well.)
INSTALLATION
- (Optional) For confluence wiki syntax highlighting in Vim, download and
install the confluencewiki syntax plugin from
<http://www.vim.org/scripts/script.php?script_id=1994>
- Vimfluence uses the values in WIKI_EDITOR, VISUAL, or EDITOR to select the
editor. If none of these are set, Vimfluence defaults to the most powerful
editor known to makind.
- Edit your "~/.profile" to set the wiki path:
export WIKI_URL="http://hub.example.com/wiki" # edit for your wiki path
- Drop `vimfluence` somewhere in your path.
- Create a "~/.netrc" file with your wiki url and login/password. Change the
permission to 0600.
machine http://hub.example.com/wiki
login [email protected]
password mypassword
- Run vimfluence: `vimfluence MySpace "My Wiki Page"`
- If you consistently editing pages in a particular Confluence space you might
like an alias like this:
alias devwiki="WIKI_URL=http://hub.example.com/wiki vimfluence dev"
- Alternatively you can also call `vimfluence` like this:
vimfluence http://hub.example.com/wiki/display/space/Page+Name
which can be handy for a quick cut 'n paste from the browser.
Oh and...
You're Welcome!