View difference between Paste ID: knkSeemX and
SHOW:
|
|
- or go back to the newest paste.
1 | - | |
1 | + | "behave mswin |
2 | highlight Cursor guifg=white guibg=black | |
3 | highlight iCursor guifg=white guibg=black | |
4 | set guicursor=n-v-c:block-Cursor | |
5 | set guicursor+=n-v-c:blinkon0 | |
6 | set t_Co=256 | |
7 | set autoindent | |
8 | " Here's your modeline, | |
9 | " set ts=2 sw=2 et | |
10 | set tabstop=2 shiftwidth=2 expandtab | |
11 | set noswapfile nobackup | |
12 | set nocompatible | |
13 | syntax on | |
14 | filetype plugin indent on | |
15 | set hlsearch | |
16 | set incsearch | |
17 | set ic | |
18 | set mouse=a | |
19 | set backspace=indent,eol,start whichwrap+=<,>,[,] | |
20 | ||
21 | runtime! macros/matchit.vim | |
22 | ||
23 | augroup myfiletypes | |
24 | " Clear old autocmds in group | |
25 | autocmd! | |
26 | " autoindent with two spaces, always expand tabs | |
27 | " autocmd FileType ruby,eruby,yaml set ai sw=2 sts=2 et | |
28 | " autoindent with real tabs | |
29 | " autocmd FileType cf set ai sts=0 noet | |
30 | augroup END | |
31 | ||
32 | "Personal Settings | |
33 | colorscheme railscasts | |
34 | "colorscheme ir_black | |
35 | "colorscheme wombat | |
36 | set guifont=consolas:h12 | |
37 | set nowrap | |
38 | ||
39 | "Personal key bindings | |
40 | "map <C-o> :bprevious<CR> | |
41 | "map <C-i> :bnext<CR> | |
42 | ||
43 | "command Flow cd C:\Development\curtin-flow\flow-share\trunk | NERDTree dashlets | |
44 | ||
45 | " map t :NERDTreeToggle<CR> | |
46 | " let NERDTreeShowBookmarks=1 | |
47 | " let NERDTreeQuitOnOpen=1 | |
48 | ||
49 | map <Leader>f :FuzzyFinderFile!<CR> | |
50 | set pastetoggle=<F5> | |
51 | nmap <Leader>sh :source ~/.vim/vimsh/vimsh.vim<CR> | |
52 | nmap <Leader>r :!touch tmp/restart.txt<CR><CR> | |
53 | nmap <Leader>a :e #<CR> | |
54 | map <Leader>u :!ant<CR><CR> | |
55 | " Abbreviate :hide edit to :HE, maintaining file completion | |
56 | command -nargs=1 -complete=file HE hide edit <args> | |
57 | ||
58 | "OSX Copy/Paste | |
59 | " command Copy .w !pbcopy | |
60 | " command Paste r !pbpaste | |
61 | ||
62 | "Project plugin | |
63 | ":let g:proj_flags="imstvcg" | |
64 | ||
65 | "XML plugin | |
66 | "let xml_use_xhtml = 1 | |
67 | ||
68 | "Windows settings | |
69 | "behave mswin | |
70 | "set lines=40 columns=110 | |
71 | ||
72 | "Autocompletion | |
73 | if has("autocmd") && exists("+omnifunc") | |
74 | autocmd Filetype * | |
75 | \ if &omnifunc == "" | | |
76 | \ setlocal omnifunc=syntaxcomplete#Complete | | |
77 | \ endif | |
78 | endif | |
79 | ||
80 | set modeline | |
81 | " call pathogen#infect() |