ftp -o - https://jcs.org/move_in | sh -
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

i have just discovered nerdtree, and it is neat

+30 -14
+5 -2
.vim/colors/jcs.vim
··· 25 25 hi StatusLineNC cterm=reverse ctermfg=NONE 26 26 hi VertSplit cterm=reverse ctermfg=NONE 27 27 hi Title cterm=bold ctermfg=NONE 28 - hi Visual cterm=reverse ctermfg=NONE 28 + hi Visual cterm=reverse ctermfg=229 ctermbg=0 29 29 hi VisualNOS cterm=bold,underline ctermfg=NONE 30 30 hi WarningMsg cterm=standout ctermfg=NONE 31 31 hi WildMenu cterm=standout ctermfg=NONE ··· 47 47 hi ErrorMsg cterm=reverse ctermfg=9 ctermbg=15 48 48 hi Error cterm=reverse ctermfg=9 ctermbg=15 49 49 hi Todo cterm=bold,standout ctermfg=11 ctermbg=0 50 - hi MatchParen cterm=bold ctermfg=yellow ctermbg=0 50 + hi MatchParen cterm=bold ctermfg=none ctermbg=yellow 51 51 52 52 hi ColorColumn ctermbg=255 53 + 54 + " mostly for nerdtree 55 + hi VertSplit cterm=bold ctermfg=240 ctermbg=NONE
+25 -12
.vimrc
··· 27 27 set viminfo= " annoying! 28 28 29 29 set t_Co=256 " use all 256 colors 30 - syntax on " and enable syntax highlighting 30 + syntax on " enable syntax highlighting 31 31 colorscheme jcs " and load my colors 32 32 33 33 " don't pollute directories with swap files, keep them in one place ··· 35 35 set backupdir=~/.vim/backup// 36 36 set directory=~/.vim/swp// 37 37 38 + 39 + " nerdtree customizations 40 + 41 + let NERDTreeDirArrows=0 " use normal ascii 42 + let NERDTreeMinimalUI=1 " and save space 43 + let NERDTreeWinSize=30 " my terminals are 111 chars 44 + " wide, so open to leave 80 45 + " for editing 46 + 47 + let NERDTreeMapOpenRecursively="+" " easier for me to remember 48 + 49 + 38 50 " file type-specific settings 39 51 40 52 autocmd FileType * setlocal colorcolumn=0 41 53 42 54 " .phtml are php files 43 - au BufNewFile,BufRead *.phtml set ft=php 55 + au BufNewFile,BufRead *.phtml setlocal ft=php 44 56 45 57 " these are rubyish files 46 - au BufNewFile,BufRead *.rake,*.mab set ft=ruby 47 - au BufNewFile,BufRead *.erb set ft=eruby 58 + au BufNewFile,BufRead *.rake,*.mab setlocal ft=ruby 59 + au BufNewFile,BufRead *.erb setlocal ft=eruby 48 60 49 - au BufNewFile,BufRead *.pjs set ft=php.javascript 61 + au BufNewFile,BufRead *.pjs setlocal ft=php.javascript 50 62 51 63 " ruby - what tabs? 52 64 au FileType ruby,eruby setlocal ts=2 sw=2 tw=79 et sts=2 autoindent colorcolumn=80 ··· 54 66 au FileType yaml setlocal ts=2 sw=2 et colorcolumn=80 55 67 56 68 " source code gets wrapped at <80 and auto-indented 57 - au FileType asm,c,cpp,javascript,php,html,make,objc,perl setlocal tw=79 autoindent colorcolumn=80 69 + au FileType asm,c,cpp,java,javascript,php,html,make,objc,perl setlocal tw=79 autoindent colorcolumn=80 58 70 59 71 " makefiles and c have tabstops at 8 for portability 60 - au FileType make,c,cpp,objc set ts=8 sw=8 72 + au FileType make,c,cpp,objc setlocal ts=8 sw=8 61 73 62 74 " email - expand tabs, wrap at 68 for future quoting, enable spelling 63 75 au FileType mail setlocal tw=68 et spell spelllang=en_us colorcolumn=69 ··· 85 97 normal! dGo 86 98 endif 87 99 endfunction 88 - map  <C-o>:let curline=line(".")<C-o>:exec KillToSig()<C-o>:exec curline<CR> 100 + map  <Esc>:let curline=line(".")<CR>:exec KillToSig()<CR>:exec curline<CR> 89 101 90 102 " control+] toggles colorcolumn 103 + " XXX: this is kind of buggy, no idea why 91 104 let s:cc = "" 92 105 function ToggleColorColumn() 93 106 let curline=line(".") ··· 100 113 end 101 114 exec curline 102 115 endfunction 103 - map  <Esc>:let curline=line(".")<CR>:exec ToggleColorColumn()<CR>:exec curline<CR> 104 - 105 - " control+t - refresh 106 - map  :syn sync ccomment cComment minlines=500<CR> 116 + map  <Esc>:let curline=line(".")<CR><C-o>:exec ToggleColorColumn()<CR><C-o>:exec curline<CR> 107 117 108 118 " make buffer windows easier to navigate 109 119 map <C-h> <C-w>h ··· 130 140 cabbr Q q 131 141 132 142 " :w !sudo tee % 143 + 144 + " load pathogen for nerdtree and things 145 + call pathogen#infect()