Wonderful. Random javascript. Note I added //<!-- and //--> to get Blogger to stop escaping those pesky less-than and greater-than signs.
23 October 2012
21 October 2012
Functional Groups
Ok so I made this and then left it somewhere. Hmm.
Functional group Molecule name Hydroxyl -O-H HO Alcohol Carbonyl H CO / (Aldehyde) -C \ O (O) | | (Ketone) -(C)- O O Carboxyl // // COOH -C -C (ionized) Carboxylic acid \ \ O-H O+ H H Amino / | NH_3 -N -(N+)-H (ionized) Amine \ | H H Sulfhydryl SH2 -S-H Thiol O Phosphate || O_3P -O-P-(O-) Organic phosphate | (O-)
More Vim Stash
"System-wide gvimrc":
Core insert commands:
Switch to directory of currently edited file
Occasionally useful
set backspace=indent,eol,start syntax onBasic:
S 'sc' 'smd' S 'hls' 'is' C 'ic' 'scs' L 'list' 'lcs' I 'ai' 'bs' N 'nu' 'ru' T 'ts' 'sw' 'lbr' 'so' | set showcmd set showmode set hlsearch set incsearch set ignorecase set smartcase set list set listchars=tab:›\ ,trail:·,extends:▶,precedes:◀ set autoindent set backspace=indent,eol,start filetype plugin indent on set number set ruler set tabstop=4 set shiftwidth=4 color torte set linebreak " note: canceled by list set scrolloff=2 |
Core insert commands:
^H
deletes character (backwards), ^W
deletes word (backwards), ^O
lets you do one normal command.^C
will also get you out of insert mode, just without abbreviations. Wow, I should try using abbreviations.Switch to directory of currently edited file
command Cwd cd %:p:h
Occasionally useful
function Hex(n) return printf("%x", n) endfunction
function Bin(n) if a:n == 0 return "0" elseif a:n == 1 return "1" else return Bin(a:n/2) . (a:n%2) endfunction
Subscribe to:
Posts (Atom)