Difference between revisions of "Vimperator"
From Vague Hope Wiki
Line 10: | Line 10: | ||
# allow ctrl+k to get to search bar. | # allow ctrl+k to get to search bar. | ||
:noremap <C-k> <A-d><Tab> | :noremap <C-k> <A-d><Tab> | ||
+ | :inoremap <C-k> <A-d><Tab> | ||
# make copy-past work as expected. | # make copy-past work as expected. | ||
Line 16: | Line 17: | ||
:inoremap <C-c> <C-v><C-c> | :inoremap <C-c> <C-v><C-c> | ||
:inoremap <C-v> <C-v><C-v> | :inoremap <C-v> <C-v><C-v> | ||
+ | |||
+ | # allow select all in text boxes. | ||
+ | :noremap <C-a> <C-v><C-a> | ||
+ | :inoremap <C-a> <C-v><C-a> | ||
# make it still possible to stop page load: | # make it still possible to stop page load: | ||
:noremap <C-d> :stop<CR> | :noremap <C-d> :stop<CR> | ||
+ | :inoremap <C-d> :stop<CR> | ||
# make undo work nicely in text boxes. | # make undo work nicely in text boxes. |
Revision as of 07:21, 6 December 2009
These are my customisations for making vimperator (firefox plugin) more sane.
# set GUI options. :set go+=mTB # make auto complete work. :set wildoptions=auto # allow ctrl+k to get to search bar. :noremap <C-k> <A-d><Tab> :inoremap <C-k> <A-d><Tab> # make copy-past work as expected. :noremap <C-c> <C-v><C-c> :noremap <C-v> <C-v><C-v> :inoremap <C-c> <C-v><C-c> :inoremap <C-v> <C-v><C-v> # allow select all in text boxes. :noremap <C-a> <C-v><C-a> :inoremap <C-a> <C-v><C-a> # make it still possible to stop page load: :noremap <C-d> :stop<CR> :inoremap <C-d> :stop<CR> # make undo work nicely in text boxes. :inoremap <C-z> <C-v><C-z> # save config. :mkv