Skip to content
This repository
tree: 4bf0477540
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 47 lines (38 sloc) 1.322 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
"does clever indenting--syntax awareness
set smartindent
"shows stuff on bottom
set showcmd
"give visual indication of what's available for tab completion
set wildmenu
" I don't know what these do, I just do them
set ts =4
set expandtab
set tabstop=4
set shiftwidth=4
syntax on
"line numbersss
set number

" Search usability
set ignorecase " search matches ignore case
set smartcase " search matches case if you start using it
set incsearch " Search as you type the regex
set hlsearch " Highlight found search results
set ruler " Show the line number and column of cursor position
set linebreak " More visually appealing wordwrap


" md means markdown, vim.
au BufNewFile,BufRead *.md set ft=markdown

" Keep track of code folding
au BufWinLeave * silent! mkview
au BufWinEnter * silent! loadview

" do vundle stuff
source ~/.vim/.vundle_settings

" powerline
set nocompatible " Disable vi-compatibility
set laststatus=2 " Always show the statusline
set encoding=utf-8 " Necessary to show Unicode glyphs

" use filetype plugin indent. i'm told this must come after
" vundle stuff
filetype plugin indent on

" add <F6> binding for running python code
" should eventually update it so that I can make <F6> run things based on filetype
nmap <F6> :w<CR>:!python %<CR>
Something went wrong with that request. Please try again.