Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (37 sloc) 1.13 KB
" Remaps
noremap h gT
noremap l gt
inoremap jk <esc>
noremap j <C-d>
noremap k <C-u>
" no beeps
set noerrorbells
" leader key
map , <Leader>
" Reload vimperatorrc
noremap <leader>v :source ~/.vimperatorrc<cr>
" Window sizing
" resize to iPhone 6
noremap <leader>s :js window.outerWidth=375; window.outerHeight=667;<cr>
" resize to iPad
noremap <leader>m :js window.outerWidth=768; window.outerHeight=960;<cr>
" resize to Desktop
noremap <leader>l :js window.outerWidth=5440; window.outerHeight=2600;<cr>
" turn off search highlighting
noremap <leader>h :nohlsearch<cr>
" Toggle dev tools
nnoremap <leader>d :emenu Tools.Web Developer.Toggle Tools<cr>
" Activate inspector
nnoremap <leader>i :emenu Tools.Web Developer.Inspector<cr>
" Activate eyedropper
nnoremap <leader>e :emenu Tools.Web Developer.Eyedropper<cr>
" Open console
nnoremap <leader>c :emenu Tools.Web Developer.Web Console<cr>
" Open network
nnoremap <leader>n :emenu Tools.Web Developer.Network<cr>
" Create bookmark
nnoremap <leader>bm :bmark -tags<space>
" Open bookmark
nnoremap <leader>bo :bmarks!<space>
" Open all tagged bookmarks
nnoremap <leader>bt :bmarks! -tags<space>