Differences between revisions 1 and 9 (spanning 8 versions)
Revision 1 as of 2008-03-02 23:24:24
Size: 1032
Comment:
Revision 9 as of 2013-11-11 20:50:14
Size: 1105
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
 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
 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
}}}
Line 7: Line 9:
 `http://wiki.debian.org 1234567890.90.7890`  3. Create a file `$HOME/.moin_user` with something like the following
 {{{
 http://wiki.debian.org MyLogin:MyPassword
 }}}
Line 9: Line 14:
 The number is your MOIN_ID and and is found in a cookie. For firefox grep the file cookies.txt to the line containg `MOIN_ID`
 4. set $EDITOR to vim (or make an alias).
 5. pick a page to edit (in this case my homepage) and edit it:
 Do make sure the file is not readable by anyone else
 {{{
 $ chmod 600 .moin_users
 }}}
Line 13: Line 19:
 `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 15: Line 25:
 (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 17: Line 27:
 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
  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