should help you out I don't know if there's a way to directly import Emacs indentation settings into vim, but you can probably configure the same behavior in vim itself: set expandtab will convert tabs to spaces
How to re-indent Python code after changing indent width in Emacs?
hop of those help? I'm new to emacs, and its indenting is driving me up the walls. It's too smart for its own good; it (incorrectly) thinks it knows how I want to format my source, but I don't have time to chase down every setting for every mode for every different language that I write code for; and many of those languages don't have any mode enabled at all. , Here's the code:
help you fix your problem Here is a sample emacs config for what i consider the "minimal" usable emacs config for Clojure. I say minimal in that I'm not willing to work without good code completion, jump to definition, project aware file handling etc: from this example which you can clone to ~/.emacs.d: