Skip to content

Instantly share code, notes, and snippets.

View EdwinVanRooij's full-sized avatar
💭

Edwin EdwinVanRooij

💭
  • The Netherlands
View GitHub Profile
// ================ General settings ================
settings.hintAlign = "left";
settings.scrollStepSize = 120; // faster 'jk' scrolling
api.Hints.setCharacters('aoeuidhtnspyfgcrl'); // all Dvorak first and second row alphabetic characters
api.iunmap(":");
api.unmap("/"); // quick search
api.unmap('r');
// ================ Own mappings ================
@EdwinVanRooij
EdwinVanRooij / actionlist.vim
Created May 5, 2017 11:48 — forked from zchee/actionlist.vim
IdeaVim actionlist
--- Actions ---
$Copy <M-C>
$Cut <M-X> <S-Del>
$Delete <Del> <BS> <M-BS>
$LRU
$Paste <M-V>
$Redo <M-S-Z> <A-S-BS>
$SearchWeb <A-S-G>
$SelectAll <M-A>
$Undo <M-Z>
@EdwinVanRooij
EdwinVanRooij / actionlist.vim
Created May 5, 2017 11:48 — forked from zchee/actionlist.vim
IdeaVim actionlist
--- Actions ---
$Copy <M-C>
$Cut <M-X> <S-Del>
$Delete <Del> <BS> <M-BS>
$LRU
$Paste <M-V>
$Redo <M-S-Z> <A-S-BS>
$SearchWeb <A-S-G>
$SelectAll <M-A>
$Undo <M-Z>
// an example to create a new mapping `ctrl-y`
mapkey('<Ctrl-y>', 'Show me the money', function() {
Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).');
});
map('u', 'f');
// an example to remove mapkey `Ctrl-i`
unmap('<Ctrl-i>');