Last active
March 28, 2019 23:46
-
-
Save jsonpittman/add5ed06130ac8d458dd5462fb40ab5d to your computer and use it in GitHub Desktop.
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
" | |
" .vimrc | |
" | |
" Vim configuration resource file. Specifies desired | |
" behavior for the vim editor. Place this file at | |
" ~/.vimrc | |
" | |
:set showmode " Tell us when we're in insert mode. | |
:set tabstop=4 " Set the tabstop to 4 spaces | |
:set shiftwidth=4 " Shiftwidth should match tabstop | |
:set expandtab " Convert tabs to number of spaces | |
" Use :set noexpandtab to disable | |
:set nowrap " Do not wrap lines longer than the window | |
:set nowrapscan " Do not wrap while searching | |
:set ruler " Show the cursor position all the time | |
:set showmatch " Show matching () {} etc... | |
:set smartindent " vim will try to help you indent your code. | |
:set backspace=2 " Make the backspace key always work. | |
:set number " Show line numbers | |
":set hlsearch " Highlight what you're searching for | |
":set incserach " Do incremental seraching as you type | |
" Switch syntax highlighting on, when the terminal has colors | |
if &t_Co > 2 || has("gui_running") | |
:syntax on | |
" Change the highlight color for Comment and Special | |
" to Cyan. Blue is too dark for a black background. | |
:highlight Comment term=bold ctermfg=6 guifg=Cyan | |
:highlight Special term=bold ctermfg=6 guifg=Cyan | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment