Created
July 15, 2020 20:12
-
-
Save HunterLarco/185653e0723e907fdeaeac8ae561b066 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
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'VundleVim/Vundle.vim' | |
" ES6 + ES7 syntax | |
Plugin 'othree/yajs.vim' | |
" vim Gist | |
Bundle 'mattn/webapi-vim' | |
Bundle 'mattn/vim-gist' | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
" To ignore plugin indent changes, instead use: | |
"filetype plugin on | |
" | |
" Brief help | |
" :PluginList - lists configured plugins | |
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate | |
" :PluginSearch foo - searches for foo; append `!` to refresh local cache | |
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" Put your non-Plugin stuff after this line | |
" Enable syntax highlighting. | |
syntax on | |
" Enable line numbers, | |
set nu | |
" Enable column numbers, | |
set ruler | |
" Disable arrow keys. | |
map <up> <nop> | |
map <down> <nop> | |
map <left> <nop> | |
map <right> <nop> | |
imap <up> <nop> | |
imap <down> <nop> | |
imap <left> <nop> | |
imap <right> <nop> | |
" Indent using 2 spaces, | |
set expandtab | |
set softtabstop=2 | |
set shiftwidth=2 | |
" Automatically indent. | |
filetype plugin indent on | |
set autoindent | |
" Override the python syntax file's intend settings. | |
let g:python_recommended_style = 0 | |
" Set the view type for the internal file system explorer. | |
let g:netrw_liststyle = 3 | |
" Turn on plugins for the detected file type. | |
filetype plugin on | |
" Set the filetype for VueJS files to HTML, | |
autocmd BufNewFile,BufRead *.vue set filetype=html | |
" Set the filetype for *.BUILD files to bazel BUILD, | |
autocmd BufNewFile,BufRead *.BUILD set filetype=bzl | |
" Highlight text over 80 chars | |
highlight OverLength ctermbg=red ctermfg=white guibg=#592929 | |
match OverLength /\%81v.\+/ | |
" Remap <tab> to <esc> | |
inoremap <tab> <esc> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment