Closed liljaylj closed 8 months ago
ctrl-t to indent in insert mode ctrl-d to dedent in insert mode
ctrl-t
ctrl-d
also, this commit place cursor after indent/dedent in the same place in the text instead of placing it at the beginning of the line.
Thanks!
@liljaylj : I just noticed that there is still a bug. If there is no indentation left before the current line, pressing c-d will start moving the cursor to the left.
c-d
ctrl-t
to indent in insert modectrl-d
to dedent in insert modealso, this commit place cursor after indent/dedent in the same place in the text instead of placing it at the beginning of the line.