Last active
May 6, 2020 03:59
-
-
Save mickeey2525/fb4e6567eb7f51f919dae8c85ccde751 to your computer and use it in GitHub Desktop.
vimConf
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
syntax on " Enable syntax highlighting. | |
filetype plugin indent on " Enable file type based indentation. | |
set autoindent " Respect indentation when starting a new line. | |
set expandtab " Expand tabs to spaces. Essential in Python. | |
set tabstop=4 " Number of spaces tab is counted for. | |
set shiftwidth=4 " Number of spaces to use for autoindent. | |
set backspace=2 " Fix backspace behavior on most terminals. | |
set undofile | |
if !isdirectory("$HOME/.vim/undodir") | |
call mkdir("$HOME/.vim/undodir","p") | |
endif | |
set undodir=$HOME/.vim/undodir | |
colorscheme slate " Change a colorscheme. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment