Skip to content

Latest commit

 

History

History
159 lines (95 loc) · 860 Bytes

edit-insert-line.md

File metadata and controls

159 lines (95 loc) · 860 Bytes

1

foo {
^ 0

}

bar
 ^ 1

1 below

up

  • .edit.newLine.below
foo {
^ 0


}

bar
 ^ 1

1 select-below

up

  • .edit.newLine.below { shift: "select" }
foo {
··
  | 0

}

bar

| 1

1 below-2

up

  • .edit.newLine.below { count: 2 }
foo {
^ 0



}

bar
 ^ 1


1 select-below-2

up

  • .edit.newLine.below { shift: "select", count: 2 }
foo {
··
  | 1
··
  | 0

}

bar

| 3

| 2

1 above

up

  • .edit.newLine.above

foo {
^ 0

}


bar
 ^ 1

1 select-above

up

  • .edit.newLine.above { shift: "select" }

| 0
foo {

}


| 1
bar

1 above-2

up

  • .edit.newLine.above { count: 2 }


foo {
^ 0

}



bar
 ^ 1

1 select-above-2

up

  • .edit.newLine.above { shift: "select", count: 2 }

| 1

| 0
foo {

}


| 3

| 2
bar