Differences between revisions 2 and 11 (spanning 9 versions)
Revision 2 as of 2008-03-02 23:29:55
Size: 1057
Comment:
Revision 11 as of 2013-11-11 21:03:06
Size: 1183
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
  {{{ ln -s /usr/share/vim/syntax $HOME/.vim/syntax }}}  {{{
 vim-addons install editmoin
 }}}
Line 8: Line 9:
 3. create a file `$HOME/.moin_ids` with something like the following  3. Create a file `$HOME/.moin_user` with something like the following
 {{{
 http://wiki.debian.org MyLogin:MyPassword
 }}}
Line 10: Line 14:
{{{ http://wiki.debian.org 1234567890.90.7890 }}}  Do make sure the file is not readable by anyone else
 {{{
 $ chmod 600 .moin_users
 }}}
Line 12: Line 19:
 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:
 This needs a recent editmoin with the patch for DebianBug:660103 included
Line 16: Line 21:
{{{ editmoin debian/AndreiPopescu }}}  4. Set `$EDITOR` to `vim` (or make an alias) in case you want to avoid having `vim` be called as `vi` (I think it can make a difference)
 5. Pick a page to edit (in this case my homepage) and edit it:
 {{{
 editmoin debian/AndreiPopescu
 }}}
Line 18: Line 27:
 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) 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 29:
 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

     vim-addons install editmoin 
  3. Create a file $HOME/.moin_user with something like the following

     http://wiki.debian.org MyLogin:MyPassword
    Do make sure the file is not readable by anyone else
     $ chmod 600 .moin_users

    This needs a recent editmoin with the patch for 660103 included

  4. Set $EDITOR to vim (or make an alias) in case you want to avoid having vim be called as vi (I think it can make a difference)

  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