summaryrefslogtreecommitdiff
path: root/rc/filetype/json.kak
AgeCommit message (Collapse)Author
2022-07-05Make `x` just select the full linesMaxime Coste
`x` is often criticized as hard to predict due to its slightly complex behaviour of selecting next line if the current one is fully selected. Change `x` to use the previous `<a-x>` behaviour, and change `<a-x>` to trim to fully selected lines as `<a-X>` did. Adapt existing indentation script to the new behaviour
2022-05-26rc filetype: fix double space in trim-indent hooksJohannes Altmanninger
2020-07-29Clean up my previous updatesJohn Isom
2020-07-29Update deindenting in json.kakJohn Isom
2020-07-27Fix typo in comment from 9dd292d100bf266e391fa9ef3314e2c6a4a447f6John Isom
2020-07-27Change indentation rules in json.kak to be much more intuitive for nested ↵John Isom
objects As it was before, when you had this (| = cursor): ``` json { "foo": {| } ``` and hit <ret>, this would happen: ``` json { "foo": { | } ``` when it should have been this: ``` json { "foo": { | } ```
2020-07-27Fix indentation rule for json.kakJohn Isom
2020-07-27Simplify closing brace indentationJohn Isom
Edits same line as previous commit. I replaced a complex selection command with a simple 1-keystroke alternative.
2020-07-27Fix already-existing bug in json.kakJohn Isom
When a closing brace or bracket is typed, it should automatically match indentation with it's opener. Because of an unescaped ']' literal the regexp didn't work.
2019-10-22src: Create a <semicolon> named keyFrank LENORMAND
This commit allows using the <semicolon> expansion in commands, instead of `\;`. It makes commands look more elegant, and prevents new-comers from falling into the trap of using <a-;> without escaping the semicolon.
2019-10-16Replace ModeChange hooks by ModePush and ModePopMaxime Coste
Remove deprecated InsertBegin, InsertEnd, NormalBegin, NormalEnd hooks. Closes #2545
2019-04-10Fixed several more support files.Justin Frank
2019-04-09Fixed many of the filetype support modules to not use `BufSetOption` to loadJustin Frank
2019-04-08Modified a bunch of language support files to use modulesJustin Frank
2019-03-21Add categories in rc/Alex Leferry 2
Closes #2783