TheUsualAlex Posted February 18, 2005 Share Posted February 18, 2005 Hi, Does anyone know if one can change the tab-key to n-spaces in Vi? Basically, I just want tab to do 4 space indentation instead of literal tab spacing. Thanks, Alex Quote Link to comment Share on other sites More sharing options...
TheUsualAlex Posted February 18, 2005 Author Share Posted February 18, 2005 http://www.vim.org/tips/tip.php?tip_id=12 Quote Link to comment Share on other sites More sharing options...
edward Posted February 20, 2005 Share Posted February 20, 2005 I use: set softtabstop=4 shiftwidth=4 tabstop=8 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.