Created
November 3, 2015 16:47
-
-
Save topher6345/8c1b125770e864cf4a2a to your computer and use it in GitHub Desktop.
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
set nocompatible | |
syntax on | |
map <Esc> <Nop> | |
set nu | |
set mouse=a | |
execute pathogen#infect() | |
autocmd vimenter * if !argc() | NERDTree | endif | |
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif | |
"====[ Make the 81st column stand out ]==================== | |
" OR ELSE just the 81st column of wide lines... | |
highlight ColorColumn ctermbg=magenta | |
call matchadd('ColorColumn', '\%81v', 100) | |
"====[ Make tabs, trailing whitespace, and non-breaking spaces visible ]====== | |
exec "set listchars=tab:\uBB\uBB,trail:\uB7,nbsp:~" | |
set list | |
nnoremap <up> <nop> | |
nnoremap <down> <nop> | |
nnoremap <left> <nop> | |
nnoremap <right> <nop> | |
inoremap <up> <nop> | |
inoremap <down> <nop> | |
inoremap <left> <nop> | |
inoremap <right> <nop> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment