view vimperatorrc @ 139:2e1f9a40a36a

Install Vimperator and Console2 settings on Windows.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 20 Oct 2013 20:57:50 -0400
parents 337a1bfbd50a
children d94d6766fc9e
line wrap: on
line source

" Config for Vimperator

let mapleader=","

" Scroll faster
nnoremap h 3h
nnoremap j 3j
nnoremap k 3k
nnoremap l 3l

" Scroll easier
nnoremap d <C-d>
nnoremap e <C-u>

" Close tab with `x` since `d` is for scrolling down now
nnoremap x :bd<cr>

" Change tabs without awkward `CTRL` combinations
nnoremap J :tabprevious<cr>
nnoremap K :tabnext<cr>

"New tab using the old classic way
nnoremap <C-t> :tabnew<cr>

" Use `i` to get into a persistent insert mode,
" and `I` for the quick one.
nnoremap i <S-Esc>
nnoremap I i

" Shortcuts for common extensions
nnoremap <leader>f i<D-\>
nnoremap <leader>p <S-Esc><A-D-\>
nnoremap <leader>b I<A-b>

" Super minimal UI
set toolbars=noaddons,nobookmarks,nomenu,nonavigation,notabs

" vim: ft=vim