Created
May 12, 2011 07:13
-
-
Save wezm/968080 to your computer and use it in GitHub Desktop.
My Vico site.nu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tab switching | |
# As of r1921 these are provided in keys.nu | |
#((ViMap normalMap) map:"<cmd-{>" to:"gT") | |
#((ViMap normalMap) map:"<cmd-}>" to:"gt") | |
((ViMap insertMap) map:"<cmd-{>" to:"<esc>gT") | |
((ViMap insertMap) map:"<cmd-}>" to:"<esc>gt") | |
# Enable command-s (save) in insert mode | |
((ViMap insertMap) map:"<cmd-s>" to:"<esc>:w<cr>") | |
# Strip trailing whitespace | |
((ViMap normalMap) map:"<ctrl-alt-cmd-s>" to:":%!sed 's/[[:space:]]*$//'<cr>") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment