Last active
September 5, 2015 07:34
-
-
Save ma11hew28/457412 to your computer and use it in GitHub Desktop.
.vimrc file
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 | |
syntax on | |
" set ruler " show [line], [column] of cursor in bottom right of window (hurts performance) | |
" set nu " show line numbers | |
" set columns=80 | |
" filetype plugin indent on " load custom settings based on file type | |
" set spell spelllang=en_us | |
" set softtabstop=2 shiftwidth=2 expandtab | |
" set splitright | |
" se nowrap | |
" if has("gui_running") | |
" set guioptions=egmrt | |
" endif | |
" nmap <silent> <Leader>\ :NERDTreeToggle<CR> | |
" nmap <silent> <C-p> <Esc>:tabp<CR> | |
" nmap <silent> <C-n> <Esc>:tabn<CR> | |
" nmap <Tab> :bn<CR> | |
" imap vp<Tab> validates_presence_of | |
" imap vu<Tab> validates_uniqueness_of | |
" imap ss<Tab> #{}<esc>i | |
" netrw Directory Navigator | |
" let g:netrw_alto = 1 " horizontal split window above | |
" let g:netrw_altv = 1 " vertical split window to the right | |
" let g:netrw_browse_split = 2 " open new files in vertical split by default | |
" let g:netrw_preview = 1 " default to vertical splitting for previewing files | |
" let g:netrw_liststyle = 3 " default list style to tree | |
" let g:netrw_winsize = 30 " directory listing width = 30 columns |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment