Tag Archives: vim

Change tab width in vim

By default, inside vim the tab width is 8 spaces, we can reduce it using below steps. Create a .vimrc file in ~(home dir) and add below content.  Save it and now try. filetype plugin indent on ” show existing … Continue reading

Posted in SCRIPTING, TIPS & T RICS, Uncategorized | Tagged , , | Leave a comment

Pasting codes or any content in VI editor without being commented.

By default VI editor is in normal mode. So we have to enable the paste mode and to activate this before copying the code type below: :set paste Now go to insert mode by pressing i and paste your code. … Continue reading

Posted in HOWTO, TIPS & T RICS | Tagged , , | Leave a comment