Mercurial > dotfiles
view vimperatorrc @ 154:1edd50e592fd
Updated sub-repos.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 17 Feb 2014 10:33:04 -0800 |
parents | 08c501149115 |
children | a6ef05d484a4 |
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> " Reorder tabs nnoremap > :tabmove +1<cr> nnoremap < :tabmove -1<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> " Quickly hide search highlighting nnoremap <leader><Space> :noh<cr> " Super minimal UI set toolbars=noaddons,nobookmarks,nomenu,nonavigation,notabs " Websites with useful keyboard shortcuts already ignorekeys add -except=:,J,K,b fastmail.fm ignorekeys add -except=:,J,K,b feedly.com ignorekeys add -except=:,J,K,b mnmlrdr.com " vim: ft=vim