• Post Reply Bookmark Topic Watch Topic
  • New Topic

tab space setting in LINUX ?  RSS feed

 
kri shan
Ranch Hand
Posts: 1489
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to set tab space in RedHat Linux ? In the .vimrc file tabspace=4 not works. Any other way ?
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on which editor that you use. If you use, vim, you can add these lines in the $HOME/.vimrc.

set tabstop=4
set shiftwidth=4
set expandtab
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!