Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " allow the . to execute once for each line of a visual selection
- vnoremap . :normal .<CR>
- set linebreak
- set shiftwidth=4
- set autowrite
- " make that backspace key work the way it should
- set backspace=indent,eol,start
- " do NOT put a carriage return at the end of the last line! if you are programming
- " for the web the default will cause http headers to be sent. that's bad.
- set binary noeol
- set cursorline
- set dy=lastline
- set foldmethod=indent
- set textwidth=84
- set grepprg=grep\ -nH\ $*
- set ic
- set incsearch
- set laststatus=2
- set ruler
- set sc
- set shell=bash
- set showcmd
- " automatically show matching brackets. works like it does in bbedit.
- set showmatch
- set showmode
- set si
- set ssl
- set sw=4 ts=4
- set viminfo='20,<50,s10,h,f1
- set wildignore=*.class
- set wildmode=list:longest
- " turn on the "visual bell" - which is much quieter than the "audio blink"
- set vb
- syntax on
- if has("unix")
- cmap %/ <C-R>=expand("%:p:h") . '/'<CR>
- else
- cmap %/ <C-R>=expand("%:p:h") . '\'<CR>
- endif
- set path=.,/opt/local/bin,/opt/local/sbin,/bin,/sbin,/usr/bin,/usr/sbin,/usr/local/bin,/Users/nathan/Library/bin
- abbr myname Nathan Krasnopoler
- abbr abtex
- \<CR>\documentclass[12pt]{article}
- \<CR>\usepackage{setspace}
- \<CR>
- \<CR>\begin{document}
- \<CR>
- \<CR>\title{}
- \<CR>\author{Nathan Krasnopoler}
- \<CR>\date{}
- \<CR>\maketitle
- \<CR>\doublespace
- \<CR>
- \<CR>
- \<CR>
- \<CR>\end{document}
- \<Esc>?title{}<CR>wa
- iab abjava
- \<CR><Esc>xx;
- \<CR>
- \<CR>import java.util.Scanner;
- \<CR>
- \<CR>
- \<CR>public class {
- \<CR>public static void main( String [] args) {<Esc>==k$hhi
- "if has("gui_running") && system('ps xw | grep "Vim -psn" | grep -vc grep') > 0
- "if $SHELL =~ '/\(sh\|csh\|bash\|tcsh\|zsh\)$'
- "let s:path = system("echo echo VIMPATH'${PATH}' | $SHELL -l")
- "let $PATH = matchstr(s:path, 'VIMPATH\zs.\{-}\ze\n')
- "endif
- "endif
- autocmd FileType ruby,eruby set omnifunc=rubycomplete#Complete
- "autocmd FileType ruby,eruby let g:rubycomplete_classes_in_global = 1
- filetype on
- filetype indent on
- filetype plugin on
- map <D-s> :write<CR>
- map s :write<CR>
- source ~/.vim/.vim_colemak_custom
- set expandtab
- set tabstop=8
- set softtabstop=4
- set shiftwidth=4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement