You are not logged in.

#1 2014-07-25 22:02:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,428

How do you post on the forum and edit the wiki?

I'm interested in efficient ways of posting and editing the wiki. Do you know / use any?
I'm currently using firefox + pentadactyl. Pressing Ctrl+i in a text area opens vim

set editor='st -e vim'

and I'm all set :-)

Offline

#2 2014-07-25 22:15:26

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 18,785
Website

Re: How do you post on the forum and edit the wiki?

Vimprobable:

    { "vimprobableedit:", "urxvt -title scratchpad -geometry 86x24+40+60 -e vim %s" },

and autotext...


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Online

#3 2014-07-25 22:16:15

Awebb
Member
Registered: 2010-05-06
Posts: 4,307

Re: How do you post on the forum and edit the wiki?

I use the itsalltext addon for firefox. I would use pentadactyl, but I am not entirely comfortable with using noscript with those commands. Generally, the number of sites it breaks outweights the benefits of the comfort. Err, the addon points to whatever is my default editor on a given system, either vim in xterm or Notepad++ on Windows.

Offline

#4 2014-08-03 10:04:59

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 452

Re: How do you post on the forum and edit the wiki?

Also vim + pentadactyl... For the wiki it is useful to specify the filetype to have syntax highlighting and make vim change cursor position according to the browser. From my .pentadactylrc:

autocmd LocationChange !wiki.archlinux.org,* :set editor&
autocmd LocationChange 'wiki.archlinux.org' :set editor='gvim -f -c "set ft=mediawiki" +<line> +"sil! call cursor(0, <column>)" <file>'

Offline

#5 2014-08-03 14:24:08

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,676

Re: How do you post on the forum and edit the wiki?

Over two years ago, /dev/zero posted this interesting piece: https://bbs.archlinux.org/viewtopic.php?id=143444

And this thread got me searching for "vim bbcode", and immediately, something interesting:

Use Markdown Instead Of BBCode With Vimperator

looks like a good idea. Or maybe just use something that makes editing bbcode easier (e.g. vim-surround rule, wait, I'll look that one up.)

... OK I'm done looking it up; here is one:

let g:surround_{char2nr("c")} = "<code>\r</code>"
let g:surround_{char2nr("u")} = "<url\1url: \r..*\r=&\1>\r</url>"

The first one's basic; surrounds the target with code tags with the "c" replacement.
This will prompt for URL and surround the target with proper URL bbcode if you use the "u" replacement.
Combine such rules with autocmd and some bbcode syntax highlighting, it would make life easier with bbcode.
Note I've used '<>' instead of '[]' to not confuse bbcode.


As for the topic question, I use Firefox with pentadactyl in a tabbed container in i3. When I press Ctrl-i in a textarea, a VIM editor opens in a new i3 tab, at full size. This makes editing focused. When I need to look at the original web page, I just switch to the previous i3 tab and take a peek.

Last edited by lolilolicon (2014-08-03 14:48:46)


This silver ladybug at line 28...

Offline

#6 2014-08-29 17:28:54

stevendupuis
Member
From: Ottawa, Canada
Registered: 2013-04-25
Posts: 7
Website

Re: How do you post on the forum and edit the wiki?

I've been searching on and off for a few days now looking for some kind of user guide or user manual for FluxBB - how to operate the forum to post messages. I haven't found anything except installation and system config and admin instructions for installing your own copy of the FluxBB software.

I've searched through the Arch Wiki and Arch Forums for this, and the only things that come up are cool technical ways to interface a web browser and trigger VIM editing sessions for doing the actual input of text (among other things).

Is there anything written here or in the wiki on the topic? Am I not using the appropriate key words eg. fluxbb user guide manual instructions ... ? Or do I need the secret handshake? Or am I just simply blind? Please excuse my frustration.

For example: BBCode: on [-url-] tag: on [-img-] tag: on Smilies: on - at the bottom of the text entry box. Where do I find information about these facilities and how to apply them - syntax etc.?

Regards,
Steve Dupuis
Ottawa, Canada

Offline

#7 2014-08-29 17:33:13

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 452

Re: How do you post on the forum and edit the wiki?

Below the editing box, there is a link to https://bbs.archlinux.org/help.php#bbcode

Offline

#8 2014-08-29 17:36:15

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,935

Re: How do you post on the forum and edit the wiki?

Specifically, where you wrote "BBCode: on"   That BBCode is the link smile

BTW, there are some cool ways to integrate emacs if you don't care for vim. tongue

Last edited by ewaller (2014-08-29 17:36:29)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Offline

#9 2014-08-29 17:39:24

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,804
Website

Re: How do you post on the forum and edit the wiki?

ewaller wrote:

BTW, there are some cool ways to integrate emacs ...

Really?  I'm sure you could integrate your web browser into emacs.  Even the forums.  Or put the whole internet right into emacs.  But can emacs actually be integrated into something else?! tongue


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#10 2014-08-29 19:05:36

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,676

Re: How do you post on the forum and edit the wiki?

Trilby wrote:
ewaller wrote:

BTW, there are some cool ways to integrate emacs ...

Really?  I'm sure you could integrate your web browser into emacs.  Even the forums.  Or put the whole internet right into emacs.  But can emacs actually be integrated into something else?! tongue

yes, emacs!


This silver ladybug at line 28...

Offline

Board footer

Powered by FluxBB