The ContextMenu plugin allows you to change the text area's right-click context menu for each edit mode. You can add jEdit's built-in actions, plugin actions, or macros. Selected actions can be also shown in jEdit's menu bar.