Created
April 26, 2017 18:50
-
-
Save jgworks/0a347caab25ac6a861a3c4f37bdd11af to your computer and use it in GitHub Desktop.
.vimrc
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
"set expandtab | |
"set shiftwidth=4 | |
"set softtabstop=4 | |
let mapleader = ',' | |
set incsearch ignorecase hlsearch | |
" Press space to clear search highlighting and any message already displayed. | |
nnoremap <silent> <Space> :silent noh<Bar>echo<CR> | |
" set autochdir " always switch to the current file directory | |
set backspace=indent,eol,start " make backspace a more flexible | |
set backup " make backup files | |
" mkdir -p ~/.vim/backup ~/.vim/tmp | |
set backupdir=~/.vim/backup " where to put backup files | |
set directory=~/.vim/tmp " directory to place swap files in | |
set fileformats=unix,dos,mac " support all three, in this order | |
" (XXX: #VIM/tpope warns the line below could break things) | |
set iskeyword+=_,$,@,%,# " none of these are word dividers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment