pentadactylrc @ d6b09d11fdb8

for
author Steve Losh <steve@stevelosh.com>
date Thu, 20 Feb 2014 15:55:57 -0500
parents 2eb5091c7bda
children 4811a2814b49
"1.0b3 (created: 2010/11/06 12:31:35)

highlight Hint       font-size: 14px; background: rgba(210,1,133,0.8) !important; border: 2px solid rgb(165,1,105); padding: 4px; border-radius: 3px; font-weight: bold; margin-left: -25px; color: white; font-family: Helvetica; line-height:1em;
highlight HintActive background: rgba(145,197,43,0.8)    !important;
highlight HintElem   background: rgba(255, 209, 20, 0.7) !important;
highlight StatusLine -moz-appearance: none !important; font-weight: bold; background: transparent !important; border: 0px !important; min-height: 22px !important; text-shadow: none !important; font: normal 14px/1 'Menlo' !important; padding: 3px 0px 3px 5px !important;
highlight CmdLine    padding: 1px !important; font: normal 14px 'Menlo' !important;
highlight CmdOutput  font: normal 13px 'Menlo' !important;
highlight CompItem   font: normal 13px 'Menlo' !important;

highlight Find   background: #d6c149; color: #000;

set runtimepath=/Users/sjl/.pentadactyl
set editor='/usr/local/bin/mvim -f +<line> <file>'
set followhints=1
set showtabline=multitab
set showstatuslinks=command

" FASTER PLEASE
nmap -builtin -silent j 3j
nmap -builtin -silent k 3k

" Go to the second input field.
" Useful for skipping over search fields, etc.
nmap -builtin gI 2gi

" I never use marks, but always use quickmarks.
nmap -builtin "'" go
nmap -builtin '"' gn

" Switch tabs with parens
nmap -builtin ) :tn<CR>
nmap -builtin ( :tp<CR>

" Finally I can overwrite the stupid fucking Firebug toggling correctly.
" nmap -builtin <c-f> <f12>
" nmap -builtin <c-g> <s-f12>

" Console toggle
nmap -builtin <c-g> <m-a-k><esc>
imap -builtin <c-g> <esc><m-a-k><esc>

" Inspect element toggle
nmap -builtin <c-s> <m-a-i>
imap -builtin <c-s> <esc><m-a-i>

" Shift is hard.
nmap -builtin ; :

" YES YES YES REMOVE THE IDIOCY
nmap -builtin <bs> <nop>

" Highlight all search matches, not just the first.
set hlfind

" Clear search highlighting and normal highlighting.
nmap -builtin ,<space> <esc>:noh<CR>

" Shut up.
javascript dactyl.beep = function() { return false; }

" Okay DDG let's see if I can stand you.
" nope set defsearch=duckduckgo

" Train myself to use t instead of cmd-t
nmap -builtin <m-t> <nop>

" Apparently the d key broke at some point.  What the Christ?
nmap -builtin d :tabclose<cr>