-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: is there a way to map characters for text input, like ab{breviate} or loadkeymap... in vim? #878
Comments
Thanks for your question! Short answer: No. Longer answer:
|
In Vim, abbreviations and 'keymap' key pairing both make the characters 'bbbbb' be written whenever a key combination, say 'aaaa' is typed. I want the keycombination ';' and 'O' (i.e. ';O') to produce 'Ö' with an umlat If, in my vimrc, I had The key sequences in 'loadkeys' files are similar, focused on substituing specific keys, intended for non-ASCII, non-English letters, and (really) what I am looking for. I have a file $HOME/.vim/keymap/sdm_tk.vim In my vimrc I have Whenever I type ;O say, I get Ö instead. This is intended for, and ideal for, those working in two languages, one of which is 'latin' but not US ASCII. German would be an example. I have done the same in my .inputrc for bash. I want to be able to type ";O" in firefox and get "Ö". I was wondering if I could do this via VimFx. |
Whoops, I didn't mean to close that. Re-opened. |
Thanks for the explanation! This is not possible with VimFx. Since VimFx is all about keyboard shortcuts, it won’t be added either. I suggest you find or create an extension or user script that does this (replacing certain sequences of typed characters in text inputs). |
VimFx version: 0.20.9
Firefox version: 52.0b3 (32bit)
OS: Linux 4.9.0-2-686-pae #1 SMP Debian 4.9.13-1 (2017-02-27) i686 GNU/Linux
Keyboard language: EN-US
Example URL (if any):
This is … (pick one!)
See issue #860
For my second language, I have set key-mappings on the command line (Bash), in vim and in neovim.
I would like to use these same mappings in firefox. Is there a way, via VimFx, to map a key combination to a specified key, eg ;o prints ö ?
The text was updated successfully, but these errors were encountered: