Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Does anyone know if there's a way to make nano support auto-complete and auto-bracket closing?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

I just downloaded and perused the source of Nano with some grepping. I can say with 95% confidence that Nano doesn't support auto-bracket or auto-complete.

Meta-] will jump to the matching bracket under the cursor though.

Sorry!

share|improve this answer
    
Oh.. that's alright. Thanks for your time. Just one quick question though: What do you mean by Meta-]? –  Legend Feb 20 '10 at 22:39
1  
Meta, in *nix is usually a single-tap of Esc or holding down Alt. Try this: put your cursor on a bracket then hold down alt and push ']'. Alternatively, you can just press esc and then press ]. This depends on how your terminal and/or terminal emulator are set up. Either way, once you do the sequence, nano will jump to the next matching bracket. –  Nextraztus Feb 20 '10 at 22:43
    
Great. Thanks for the explanation... –  Legend Feb 20 '10 at 23:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.