Last active
December 13, 2017 20:58
-
-
Save mulderu/78d0936cd221060d6851693b9e3cca6f to your computer and use it in GitHub Desktop.
vim and cmd util space 4 or space 2 and line number and special chars
This file contains hidden or 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
vim | |
$ cat .vimrc | |
-------------------- | |
filetype plugin indent on | |
" show existing tab with 4 spaces width | |
set tabstop=2 | |
" when indenting with '>', use 4 spaces width | |
set shiftwidth=2 | |
" On pressing tab, insert 4 spaces | |
set expandtab | |
" On line number | |
set number | |
" On show special char (tab and line end) | |
set list | |
----------------------------- | |
# if you hide line number | |
set nonumber | |
# if you hide special chars (etc line end $ mark) | |
hide special char : set nolist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment