Teclas de atalho para o editor LightTable
Arquivo user.keymap
:
{:+ {:app {}
:editor {
"alt-w" [:editor.watch.watch-selection]
"alt-shift-w" [:editor.watch.unwatch]
;; .
"shift-tab" [:unindent-selection]
;; Comment / uncomment line
"pmeta-/" [:toggle-comment-selection]
;; Does nothing
"pmeta-down" []
;; Current line clone
"pmeta-shift-d" [:editor.select-line :editor.copy :editor.selection.clear :editor.new-line-indent :editor.line-start :editor.paste :editor.line-start-smart :editor.selection.clear]
;; Move current line up
"pmeta-shift-up" [:editor.select-line :editor.cut :editor.kill-line :editor.line-up :editor.line-up :editor.line-end :editor.selection.clear :editor.new-line-indent :editor.line-start :editor.paste :editor.line-start-smart :editor.selection.clear]
;; Move current line down
"pmeta-shift-down" [:editor.select-line :editor.cut :editor.kill-line :editor.line-end :editor.selection.clear :editor.new-line-indent :editor.line-start :editor.paste :editor.line-start-smart :editor.selection.clear]
;; Delete the current line
"shift-del" [:editor.delete-line :editor.kill-line :editor.line-start-smart :editor.selection.clear]
}
:tabs {
"ctrl-pageup" [:tabs.prev]
"ctrl-pagedown" [:tabs.next]}
}}