Plugins
Editmodes For SwitchBuffer
A dataprovider for the new SwitchBuffer, which is currently in beta and can be found here, to make it possible to change the editmode of a buffer, by using SwitchBuffer.
Vimposter (patched)
Vimposter provides vi/vim emulation for jEdit.
The Vimposter plugin is originaly written by Ollie Rutherfurd
The main difference between my patched version and the original version is an additional option to disable Vimposter when going into edit mode.
This is usefull because the original Vimposter breaks some default jEdit-shortcuts while in editmode. By simply disabling Vimposter while in editmode
you are using only jEdit itself and thus everything will work. To reenable Vimposter it is recommended to bind your 'Esc'-key to the 'Vimposter'-action.
This way you can keep hitting 'esc' to go in command mode (which in this case is the same as simply enabling Vimposter).
Macros
All macros are attached to the bottom of this page as filedownloads
Recent Files
A macro to easily re-open a recent file. This is a modified version of Buffer_Switcher.bsh (written by Ollie Rutherfurd), to show recent files instead of open buffers.
Active Plugins to Buffer
This macro creates a new buffer an writes a list of currently active plugins to it. The list is formatted in DokuWiki's table syntax.
Create Scratch Buffer
BeanShell macro script to rapidly create temporary buffers in a specified directory, using a random name for the buffer. When you bind a shortcut to it (by example CS+n) this allows you to easily create a buffer to take notes and still save it without having to think about a name/location (just in case your computer crashes). By using the Delete_Buffer.bsh macro you can delete the buffer as easily as you created it. (i'm not entirely sure if "scratchbuffer" is a good name for this kind of buffer. Better names are welcome :))
Switch Project
A BeanShell macro script to easily switch between Projects (this macro requires the ProjectViewer plugin to work!). It is based on Buffer Switcher by Ollie Rutherfurth
Enter and Close Bracket
This is a useful macro when you bind it to ENTER. It will execute the regular 'insert enter and indent', except if
the character before the cursor is a '{'. In that case the macro will also insert the closing bracket ('}') and place the
cursor in between.
jEdit
jEdit is a text editor for programmers, available under the GNU General Public License version 2.0. It is written in Java and runs on any operating system with Java support, including Windows, Linux, Mac OS X, and BSD.
On the following pages you can find some of my macros and plugins which I wrote for jEdit. It is imported to note that I switched to using VIM in 2010 so the macros and plugins on these pages are not actively maintained anymore.
Macros
You can find my macros on the macros page
Plugins
You can find my plugins on the plugins page
MostViewed
Installation
- Install NP_Views
- Download
- Upload to plugin directory
- Install from plugin admin menu
Using the plugin
To use the plugin add a skinvar in your skin:
<%MostViewed%>, will show the 10 most viewed items<%MostViewed(20)%>, will show the 20 most viewed items
MostCommented
Installation
- Download
- Upload to plugin directory
- Install from plugin admin menu
Using the plugin
To use the plugin add a skinvar in your skin:
<%MostCommented%>, will show the 10 most viewed items<%MostCommented(20)%>, will show the 20 most viewed items
InternetTime
Using the plugin
This plugin brings the Swatch Internet Time (.beat) to http://nucleuscms.org Nucleus. Swatch has divided a day into 1000 eqaul beats, so every beat is the equivalent of 86.4 seconds. Also there are no timezones, so wherever you are, it is always the same Internet Time (by example: while i’m writing this it is 12:28+0200 or @478)
more info about Swatch Internet Time at http://swatch.com/internettime/home.php
The plugin can be used as a TemplateVar to show the time at which an item or comment was posted in the Swatch Internet Time To do so simply add <%InternetTime%> somewhere in your template. (In the ‘Items’-part of your template if you want the .beat of your item and somewhere in the ‘Comments (if any)’-part of your template to show the .beat of every comment.)
The plugin can also be used as a SkinVar, to print the actual .beat time (this is the time the blogpage is parsed on the server)
Installation
To install NP_InternetTime simply copy the following code and save it in a file called NP_InternetTime.php, upload it to the plugins folder of your Nucleus installation and install.
Options
The plugin has only one option:
- Show Centibeat (yes, no): with this option you can turn on or of the centibeats which make the .beat more precise (example: on: @494.25, off: @494)