1 " -------------------------------------------------------
5 " -------------------------------------------------------
7 " Let the leader key be ,
13 " iPad and Android keyboards have no ESC Key
18 set nocompatible " be iMproved, required
20 set omnifunc=syntaxcomplete#Complete
22 filetype off " required
27 call plug#begin('~/.vim/plugged')
29 " Markdown highlighting
30 Plug 'tpope/vim-markdown'
31 " let g:markdown_github_languages = ['sh', 'python']
33 " Distraction free writing.
34 Plug 'junegunn/goyo.vim'
37 Plug 'bling/vim-airline'
39 " Plugin 'Windows-PowerShell-Syntax-Plugin'
41 " PowerShell Highlighting and detection
42 Plug 'pprovost/vim-ps1'
46 filetype plugin indent on " required for Vundle Bundle
48 nnoremap <leader>w :Goyo<Cr>
50 " If not something else, then assume Markdown
54 " Don't show tabs for HTML files. Do show trailing spaces."
55 au FileType html set nolist
56 au FileType javascript set nolist
58 set softtabstop=4 " makes the spaces feel like real tabs
60 " Sensible default for everything else.