Created
November 1, 2018 08:40
-
-
Save theJian/beb8519127b9209f644197a09620d939 to your computer and use it in GitHub Desktop.
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
let lowercase = 'abcdefghijklmnopqrstuvwxyz' | |
let uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
let numbers = '0123456789' | |
let punctuation = "<>`@#~!\"$%^&/()=+*-_.,;:?\\\'{}[] " " and space | |
for str in [lowercase, uppercase, numbers, punctuation] | |
for key in split(str, '\zs') | |
execute printf("noremap <silent> <buffer> <nowait> %s :call DO_SOMETHING_OR_NOTHING<cr>", key) | |
endfor | |
endfor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment