Permalink
Fetching contributors…
Cannot retrieve contributors at this time
105 lines (89 sloc) 12.1 KB

General

Command Action
core:save

OSX: cmd-s
Win/Linux: ctrl-s

Save the current csv file using the provided initial setup.
core:save-as

OSX: cmd-shift-s
Win/Linux: ctrl-shift-s

Save the current csv file using the provided initial setup at the specified path.
core:undo

OSX: cmd-z
Win/Linux: ctrl-z

Undo the last change in the table.
core:redo

OSX: cmd-y
Win/Linux: ctrl-y

Redo the last change in the table.
core:copy

OSX: cmd-c
Win/Linux: ctrl-c

Copy the current selection in the clipboard.
core:cut

OSX: cmd-x
Win/Linux: ctrl-x

Cut the current selection in the clipboard and deletes the value of the selected cells.
core:paste

OSX: cmd-v
Win/Linux: ctrl-v

Paste the current selection in the clipboard.

Cursors

Command Action
core:move-left

OSX/Win/Linux: left

Move the cursors one cell to the left. If a selection spans several cells it sees its range reset to the new cursor position.
If the current cell is a cell on the first column, the cursor will move on the last cell of the previous row.
If the cell is the first cell of the first row, the cursor moves to the last table cell.
core:move-right

OSX/Win/Linux: right

Move the cursors one cell to the right. If a selection spans several cells it sees its range reset to the new cursor position.
If the current cell is a cell on the last column, the cursor will move on the first cell of the next row.
If the cell is the last cell of the last row, the cursor moves to the first table cell.
core:move-up

OSX/Win/Linux: up

Move the cursors one cell to the top. If a selection spans several cells it sees its range reset to the new cursor position.
When the cursor is on the first row of the table it moves to the same column on the last row.
core:move-down

OSX/Win/Linux: down

Move the cursors one cell to the bottom. If a selection spans several cells it sees its range reset to the new cursor position.
When the cursor is on the last row of the table it moves to the same column on the first row.
tablr:move-left-in-selection

OSX/Win/Linux: tab

Move the cursors one cell to the left inside its current selection. This is effective only if the selection spans many cells, otherwise this command behaves as core:move-left.
tablr:move-right-in-selection

OSX/Win/Linux: shift-tab

Move the cursors one cell to the right inside its current selection. This is effective only if the selection spans many cells, otherwise this command behaves as core:move-right.
tablr:move-up-in-selection Move the cursors one cell to the top inside its current selection. This is effective only if the selection spans many cells, otherwise this command behaves as core:move-up.
tablr:move-down-in-selection Move the cursors one cell to the bottom inside its current selection. This is effective only if the selection spans many cells, otherwise this command behaves as core:move-down.
tablr:move-to-beginning-of-line

OSX: cmd-left
Win/Linux: ctrl-left

Move the cursors to the first cell of the current row.
tablr:move-to-end-of-line

OSX: cmd-right
Win/Linux: ctrl-right

Move the cursors to the last cell of the current row.
core:move-to-top

OSX: cmd-up home
Win/Linux: ctrl-up home

Move the cursors to the first row of the table.
core:move-to-bottom

OSX: cmd-down end
Win/Linux: ctrl-down end

Move the cursor to the last row of the table.
tablr:page-left Move the cursors left by the amount of rows specified in the tablr.tableEditor.pageMoveColumnAmount setting.
The cursor will stop at the first column when going past the bounds.
tablr:page-right Move the cursors right by the amount of rows specified in the tablr.tableEditor.pageMoveColumnAmount setting.
The cursor will stop at the last column when going past the bounds.
core:page-up

OSX/Win/Linux: pageup

Move the cursors up by the amount of rows specified in the tablr.tableEditor.pageMoveRowAmount setting.
The cursor will stop at the first row when going past the bounds.
core:page-down

OSX/Win/Linux: pagedown

Move the cursors down by the amount of rows specified in the tablr.tableEditor.pageMoveRowAmount setting.
The cursor will stop at the last row when going past the bounds.
tablr:add-selection-left Add a new cursor on the left of the last selection bounds and on the same row as the selection's cursor.
tablr:add-selection-right Add a new cursor on the right of the last selection bounds and on the same row as the selection's cursor.
tablr:add-selection-above

OSX: ctrl-shift-up
Win/Linux: ctrl-alt-up

Add a new cursor above the last selection bounds and on the same column as the selection's cursor.
tablr:add-selection-below

OSX: ctrl-shift-down
Win/Linux: ctrl-alt-down

Add a new cursor below the last selection bounds and on the same column as the selection's cursor.
tablr:go-to-line

OSX/Win/Linux: ctrl-g

Jump to the specified row and column.

Selections

Command Action
core:cancel

OSX/Win/Linux: escape

Remove all selections except the last one.
core:select-left

OSX/Win/Linux: shift-left

Expand the selections by one cell to the left when the selection is expanded on the left of the cursor or shrink the selection by one cell when it's expanded on the right.
core:select-right

OSX/Win/Linux: shift-right

Expand the selections by one cell to the right when the selection is expanded on the right of the cursor or shrink the selection by one cell when it's expanded on the left.
core:select-up

OSX/Win/Linux: shift-up

Expand the selections by one cell to the top when the selection is expanded on the top of the cursor or shrink the selection by one cell when it's expanded on the bottom.
core:select-down

OSX/Win/Linux: shift-down

Expand the selections by one cell to the bottom when the selection is expanded on the bottom of the cursor or shrink the selection by one cell when it's expanded on the top.
tablr:select-to-beginning-of-line

OSX: cmd-shift-left
Win/Linux: ctrl-shift-left

Expand the selections to the first cell of each rows.
tablr:select-to-end-of-line

OSX: cmd-shift-right
Win/Linux: ctrl-shift-right

Expand the selections to the last cell of each rows.
tablr:select-to-beginning-of-table

OSX: cmd-shift-up
Win/Linux: ctrl-shift-up

Expand the selection to the first row of the table.
tablr:select-to-end-of-table

OSX: cmd-shift-down
Win/Linux: ctrl-shift-down

Expand the selection to the last row of the table.

Edit

All these shortcuts applies when there is no edit session going on.

Command Action
core:confirm

OSX/Win/Linux: enter

Start an edit session for every cursors.
core:backspace

OSX/Win/Linux: backspace

Delete the value of the currently selected cells.
tablr:insert-row-before

OSX: cmd-alt-n up
Win/Linux: ctrl-alt-n up

Insert a new empty row before the last cursor's row.
tablr:insert-row-after

OSX: cmd-alt-n down
Win/Linux: ctrl-alt-n down

Insert a new empty row after the last cursor's row.
tablr:insert-column-before

OSX: cmd-alt-n left
Win/Linux: ctrl-alt-n left

Insert a new empty column before the last cursor's column.
tablr:insert-column-after

OSX: cmd-alt-n right
Win/Linux: ctrl-alt-n right

Insert a new empty column after the last cursor's column.
tablr:delete-row

OSX: cmd-alt-backspace left cmd-alt-backspace right
Win/Linux: ctrl-alt-backspace left ctrl-alt-backspace right

Delete the row at the last cursor's position.
tablr:delete-column

OSX: cmd-alt-backspace up cmd-alt-backspace down
Win/Linux: ctrl-alt-backspace up ctrl-alt-backspace down

Delete the column at the last cursor's position.
tablr:align-left Change the alignment of the column at the last cursor's position to left.
tablr:align-center Change the alignment of the column at the last cursor's position to center.
tablr:align-right Change the alignment of the column at the last cursor's position to right.
tablr:expand-column

OSX/Win/Linux: ctrl-alt-right

Increase the width of each column with a cursor by the amount specified in the columnWidthIncrement setting.
tablr:shrink-column

OSX/Win/Linux: ctrl-alt-left

Decrease the width of each column with a cursor by the amount specified in the columnWidthIncrement setting.
tablr:expand-row

OSX/Win/Linux: ctrl-alt-right

Increase the height of each row with a cursor by the amount specified in the rowHeightIncrement setting.
tablr:shrink-row

OSX/Win/Linux: ctrl-alt-left

Decrease the height of each row with a cursor by the amount specified in the rowHeightIncrement setting.
tablr:move-line-up

OSX: ctrl-cmd-up
Win/Linux: ctrl-up

Move the lines at cursors one row to the top. This command is not available when an order is defined for the table as the result will not be perceived.
tablr:move-line-down

OSX: ctrl-cmd-down
Win/Linux: ctrl-down

Move the lines at cursors one row to the bottom. This command is not available when an order is defined for the table as the result will not be perceived.
tablr:move-column-left

OSX: ctrl-cmd-left
Win/Linux: ctrl-alt-left

Move the columns at cursors one column to the left.
tablr:move-column-right

OSX: ctrl-cmd-right
Win/Linux: ctrl-alt-right

Move the columns at cursors one column to the right.
tablr:apply-sort Applies the current sorting to the table so that the order can be saved on disk.
tablr:fit-column-to-content Adjust the width of the column at the last cursor to the width of the widest cell's content.
tablr:fit-row-to-content Adjust the height of the row at the last cursor to the height of the tallest cell's content.

Cell Edit

Also, when an edit session is started, and the focus is in the TextEditor, the following keybindings are defined.

Command Action
core:confirm

OSX/Win/Linux: enter

Confirm the edit and changes the value of all cells at cursor positions.
core:cancel

OSX/Win/Linux: escape

Abort the edit and leaves all the cells at cursor positions unchanged.
tablr:move-right-in-selection

OSX/Win/Linux: tab

Confirm the edit and move cursors one cell to the left in their respective selections.
tablr:move-left-in-selection

OSX/Win/Linux: shift-tab

Confirm the edit and move cursors one cell to the right in their respective selections.
editor:newline

OSX: cmd-enter ctrl-enter
Win/Linux: ctrl-enter

As the enter key is used to confirm the edit, alternative keybindings are necessary to insert new lines in a cell.
editor:indent

OSX/Win/Linux: ctrl-tab

As the tab key is already used to confirm the edit and move the cursors an alternative keybinding is necessary to insert a tabulation in a cell.

Other

Command Context Action
tablr:clear-csv-choice atom-workspace Removes any choice remembered when opening a CSV file.
tablr:clear-csv-layout atom-workspace Removes any layout data stored for previously opened csv files.
tablr:clear-csv-storage atom-workspace Removes any data stored for previously opened csv files. It includes both choices and layouts.