Last active
June 13, 2019 01:47
-
-
Save henrytseng/a8550c619461bcb757f51ff48b19ed84 to your computer and use it in GitHub Desktop.
Vim configuration
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 nocompatible " be iMproved, required | |
filetype plugin indent on | |
" Change indentation | |
set expandtab | |
set shiftwidth=2 | |
set softtabstop=2 | |
set modelines=0 | |
set nomodeline | |
" Syntax highlighting | |
syntax on | |
" Search | |
set hlsearch | |
map / <Plug>(incsearch-forward) | |
map ? <Plug>(incsearch-backward) | |
map g/ <Plug>(incsearch-stay) | |
" Line numbering | |
set relativenumber | |
highlight LineNr ctermfg=grey ctermbg=black | |
" pathogen | |
execute pathogen#infect() | |
" markdown | |
let g:markdown_enable_spell_checking = 0 | |
let g:ctrlp_custom_ignore = { | |
\ 'dir': '\v[\/](\.(git|hg|svn)|node_modules)$', | |
\ 'file': '\v\.(exe|so|dll|gitignore)$', | |
\ 'link': 'some_bad_symbolic_links', | |
\ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment