]> apps.delaporte.us Git - dotfiles.git/blob - vimrc
Cleanup unused files.
[dotfiles.git] / vimrc
1 " -------------------------------------------------------
2 "
3 " EdTheDev's .vimrc
4 "
5 " -------------------------------------------------------
6
7 " Let the leader key be ,
8 let mapleader=","
9
10 " Easier Ex commands
11 nnoremap ; :
12
13 " iPad and Android keyboards have no ESC Key
14 inoremap ii <esc>
15
16 set smarttab
17
18 set nocompatible " be iMproved, required
19
20 set omnifunc=syntaxcomplete#Complete
21
22 filetype off " required
23
24 " =================
25 " Here be Plugins!
26 " =================
27 call plug#begin('~/.vim/plugged')
28
29 " Markdown highlighting
30 Plug 'tpope/vim-markdown'
31 " let g:markdown_github_languages = ['sh', 'python']
32
33 " Distraction free writing.
34 Plug 'junegunn/goyo.vim'
35
36 " Better status line.
37 Plug 'bling/vim-airline'
38
39 " Plugin 'Windows-PowerShell-Syntax-Plugin'
40
41 " PowerShell Highlighting and detection
42 Plug 'pprovost/vim-ps1'
43
44 call plug#end()
45
46 filetype plugin indent on " required for Vundle Bundle
47
48 nnoremap <leader>w :Goyo<Cr>
49
50 " If not something else, then assume Markdown
51 set filetype=markdown
52 set syntax=markdown
53
54 " Don't show tabs for HTML files. Do show trailing spaces."
55 au FileType html set nolist
56 au FileType javascript set nolist
57
58 set softtabstop=4 " makes the spaces feel like real tabs
59
60 " Sensible default for everything else.
61 set tabstop=2
62 set shiftwidth=2
63
64 colorscheme slate