Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2008-03-02 23:31:40
Size: 1063
Comment:
Revision 5 as of 2008-03-02 23:38:10
Size: 1094
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 
{{{
ln -s /usr/share/vim/syntax $HOME/.vim/syntax
}}}
 {{{
 ln -s /usr/share/vim/syntax $HOME/.vim/syntax
 }}}
Line 10: Line 9:
 3. create a file `$HOME/.moin_ids` with something like the following  3. Create a file `$HOME/.moin_ids` with something like the following
 {{{
 http://wiki.debian.org 1234567890.90.7890
 }}}
Line 12: Line 14:
{{{
http://wiki.debian.org 1234567890.90.7890
}}}
 The number is your MOIN_ID and and is found in a cookie. For iceweasel grep the file `cookies.txt` in your `.mozilla` directory for the line containg `MOIN_ID`
 4. Set `$EDITOR` `vim` (or make an alias).
 5. Pick a page to edit (in this case my homepage) and edit it:
 {{{
 editmoin debian/AndreiPopescu
 }}}
Line 16: Line 21:
 The number is your MOIN_ID and and is found in a cookie. For firefox grep the file `cookies.txt` for the line containg `MOIN_ID`
 4. set `$EDITOR` `vim` (or make an alias).
 5. pick a page to edit (in this case my homepage) and edit it:
A nice sideeffect of creating the .moin_id is that you can use shortcuts for wikis listed in there. You can use any part of the name with an optional subpath)
Line 20: Line 23:
{{{
editmoin debian/AndreiPopescu
}}}

 A nice sideeffect of creating the .moin_id is that you can use shortcuts for wikis listed in there. You can use any part of the name with an optional subpath)

 If I did everything right (the vim syntax helps with the formating) I should now have a homepage ;)
If I did everything right (the vim syntax helps with the formating) I should now have a homepage ;)

Hello, this is my homepage and right now I am editing it using editmoin. Basic usage for editmoin:

  1. Install the package with aptitude install editmoin

  2. In case you want to use vim (I do and it seems great) you will definitely want to enable the syntax. You will have to do

     ln -s /usr/share/vim/syntax $HOME/.vim/syntax
  3. Create a file $HOME/.moin_ids with something like the following

     http://wiki.debian.org 1234567890.90.7890

    The number is your MOIN_ID and and is found in a cookie. For iceweasel grep the file cookies.txt in your .mozilla directory for the line containg MOIN_ID

  4. Set $EDITOR vim (or make an alias).

  5. Pick a page to edit (in this case my homepage) and edit it:
     editmoin debian/AndreiPopescu

A nice sideeffect of creating the .moin_id is that you can use shortcuts for wikis listed in there. You can use any part of the name with an optional subpath)

If I did everything right (the vim syntax helps with the formating) I should now have a homepage ;)


CategoryHomepage