Questions tagged [vim]

Vim is a highly configurable text editor built to enable efficient editing. It is an improved version of the vi editor distributed with most UNIX systems.

15 questions
11
votes
3 answers

Is there a way to automatically un-tab everything in your source file by using a command?

And then to automatically re-indent after that? I've tried copying code from one terminal screen to the other, but the tabulation got all messed up. I didn't know what to call this functionality, so it was hard for me to find it on google (which…
Dark Templar
  • 6,303
  • 16
  • 47
  • 47
8
votes
4 answers

What are safe keys to remap in vim?

So far I've been trying to use Vim in as vanilla a configuration as possible, so as to save myself hassle when moving between machines. However, there are a few things I'd really like to bind keys, such as to shorten "_diwP which I use often to…
Weeble
  • 243