Last active
August 29, 2015 14:03
-
-
Save gayanvirajith/b22b4a0d877977605f37 to your computer and use it in GitHub Desktop.
Enable soft tabs, ruler in VIM Editor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"------------------------------------------------------------ | |
" To control the number of space characters that will be inserted when the | |
" Tab key is pressed, set the 'tabstop' option. For example, to insert 4 spaces for a tab | |
"------------------------------------------------------------ | |
set tabstop=4 | |
"------------------------------------------------------------ | |
" makes the spaces feel like real tabs. | |
"------------------------------------------------------------ | |
set softtabstop=4 | |
"------------------------------------------------------------ | |
" change the number of space characters inserted for indentation | |
"------------------------------------------------------------ | |
set shiftwidth=4 | |
"------------------------------------------------------------ | |
" insert space characters whenever the tab key is pressed | |
"------------------------------------------------------------ | |
set expandtab | |
"------------------------------------------------------------ | |
" set ruler | |
" To set the colors in a terminal version of Vim | |
"------------------------------------------------------------ | |
set colorcolumn=85 | |
highlight ColorColumn ctermbg=DarkGray |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment