1 {Operator} = require './general-operators'
3 class AdjustIndentation extends Operator
7 {start} = @editor.getSelectedBufferRange()
12 @editor.setCursorBufferPosition([start.row, 0])
13 @editor.moveToFirstCharacterOfLine()
14 @vimState.activateCommandMode()
16 class Indent extends AdjustIndentation
18 @editor.indentSelectedRows()
20 class Outdent extends AdjustIndentation
22 @editor.outdentSelectedRows()
24 class Autoindent extends AdjustIndentation
26 @editor.autoIndentSelectedRows()
28 module.exports = {Indent, Outdent, Autoindent}