This plugin greatly improves table editing in Inkdrop. It is built using susisu/mte-kernel which is the text editor independent part of susisu/atom-markdown-table-editor. Visit mte-kernel's demo to play around with the table editing capabilities this plugin adds to Inkdrop.
ipm install table-editor
The following commands are available:
Command | Description | Default keybinding |
---|---|---|
table-editor:format |
Format the current table | |
table-editor:format-all |
Format all tables | |
table-editor:escape |
Exit the table | Cmd or Ctrl + Enter |
table-editor:align-left |
Left-align the column | Cmd or Ctrl + Alt + Left |
table-editor:align-right |
Right-align the column | Cmd or Ctrl + Alt + Right |
table-editor:align-center |
Center-align the column | Cmd or Ctrl + Alt + Up |
table-editor:align-none |
Unset alignment of the column | Cmd or Ctrl + Alt + Down |
table-editor:select-cell |
Select the cell content | |
table-editor:move-left |
Move a cell to the left | Cmd or Ctrl + Left |
table-editor:move-right |
Move a cell to the right | Cmd or Ctrl + Right |
table-editor:move-up |
Move a cell up | Cmd or Ctrl + Up |
table-editor:move-down |
Move a cell down | Cmd or Ctrl + Down |
table-editor:next-cell |
Move to the next cell | Tab |
table-editor:previous-cell |
Move to the previous cell | Shift + Tab |
table-editor:next-row |
Move to the next row | Enter |
table-editor:insert-row |
Insert an empty row | |
table-editor:delete-row |
Delete the row | |
table-editor:move-row-up |
Move the row up | Cmd or Ctrl + Alt + Shift + Up |
table-editor:move-row-down |
Move the row down | Cmd or Ctrl + Alt + Shift + Down |
table-editor:insert-column |
Insert an empty column | |
table-editor:delete-column |
Delete the column | |
table-editor:move-column-left |
Move the column left | Cmd or Ctrl + Alt + Shift + Left |
table-editor:move-column-right |
Move the column right | Cmd or Ctrl + Alt + Shift + Right |
Customizing the keybindings is documented here. The table-editor:format-all
command should be bound to the .CodeMirror textarea
selector, while all other commands should be bound to the .CodeMirror.table-editor-active textarea
selector.
Most commands are also available through the context menu opened by right-clicking inside the editor and through the application menu (Plugins > Table Editor).
The formatting style and the header alignment can be configured in the plugin's settings.
See the GitHub releases for an overview of what changed in each update.
All contributions are welcome. Please read the Contributing Guide first as it contains information regarding the tools used by the project and instructions on how to set up a development environment.