7 ms·
Does Emacs support or have any extension that "tabs" the right amount of spaces based on the programming language/filetype? I use Vim and it annoys me that this
by unknownian 13y ago
Does Emacs support or have any extension that "tabs" the right amount of spaces based on the programming language/filetype? I use Vim and it annoys me that this isn't built-in, nor can I find any good script for it. I know I can write it manually, but I want it for all languages.
- solarmist 13y agoJust about any language has an emacs major-mode which does things like syntax highlighting and auto-tab. And the major languages are shipped with emacs.
- 6d0debc071 13y ago> Does Emacs support or have any extension that "tabs" the right amount of spaces based on the programming language/filetype? Probably - I mean it depends what you want. Emacs is almost infinitely programmable. If you want to set it up as a Python IDE then there're sites like this telling you how: http://www.emacswiki.org/emacs/?action=browse;oldid=PythonMode;id=PythonProgrammingInEmacs http://www.emacswiki.org/emacs/?action=browse;oldid=PythonMo... This is a quick clip of Emacs using Rope for instance: http://youtu.be/OMi-uN-6O1Q http://youtu.be/OMi-uN-6O1Q If you want to set it up as a Lisp IDE then you're probably wanting to go and install SLIME: http://common-lisp.net/project/slime/ http://common-lisp.net/project/slime/ It depends what you want it to do, but emacs is an incredibly powerful program and learning it pays off massively, in my experience. :)