Hacker News new | ask | show | jobs
by po 5622 days ago
I was particularly surprised by the behavior of the tab key:

https://github.com/rsms/kod/wiki/Indentation

In a nutshell, if you press tab while anywhere on a line, it indents. Shift-Tab de-dents the line. After thinking about it a bit, I think I could get used to it. I like that they're exploring ideas like this.

I would like preferences "CMD ," to be bound to something though even if it's to opening the configuration file itself. It's a bit disconcerting to not be given an explanation of why there are no preferences. I didn't understand the reasoning until I read this blog posting.

2 comments

I think you're describing the type of behavior that emacs uses when you press tab, except it indents the line according to the default tab style associated with the file type. It's great for programming; I never have to worry about indentation because it's handled automatically.
I use smart-tab.el in emacs, the completion/tab handling is the most intuitive I've found.

http://www.emacswiki.org/emacs/TabCompletion#toc2

It expands if at the end of a word, and indents otherwise.