iamnewton / dotfiles

UNIX-based system configuration for software development
https://github.com/iamnewton/dotfiles#readme
GNU General Public License v3.0
9 stars 3 forks source link

Set ViM function to toggle tabs/spacing settings #17

Closed iamnewton closed 10 years ago

iamnewton commented 10 years ago

As a user, I would like to toggle my tabs & space settings, so that I can easily switch to the proper format when contributing to other projects.

Notes

Needs to map a key to toggle this, so that I can use tabs or spaces as well as the number, so that I can switch between 2 spaces and 4 spaces independently

http://stackoverflow.com/questions/3094667/whats-the-use-of-the-exclamation-mark-in-vims-command-line