in Education by
I've been using Vim exclusively for a few weeks now, and a few things are keeping me from being very excited about my experience so far. For one, I am having trouble mapping a few key sequences to commands. I'd like to map Ctrl+Shift+Z to :redo or alternately , but apparently Vim is not able to recognize the difference between shifted and un-shifted control-key sequences: Ctrl-b and Ctrl-B are synonymous, they both mean 0x02. This cannot be changed, it goes back to ASCII, which dates back to 7-hole paper tape (not counting parity). This just seems silly to me. We've come a long way since 7-hole paper tape, and in my experience MANY programs recognize the difference between and . Indeed, MacVim even recognizes the difference! But no joy in GVim or in the GNOME Terminal. Is there a way around this? Maybe a plugin or even some compile-time option? The other key combo that I'm having trouble with is Ctrl+, (control+comma). I'm not sure if I've got something configured wrong in my .vimrc, or if it's a real issue with Vim, but I cannot get to respond after mapping it (for example: map :TComment). FWIW, I have my leader key remapped to ;. Am I doing it wrong? Or is there some other reason why Vim won't recognize the key combo? I've spent way too much time googling and fiddling with key mappings, and I'm on the verge of declaring that Vim is not as flexible as I've been led to believe... I can't even get it configured with the key mappings I'm used to, some of which I am reluctant to re/unlearn since they work in other programs that I use daily. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
It looks like the link you posted already answers your question regarding vs. . According to the FAQ it looks like you're out of luck with as well, since this key combination is not in the list of Ctrl-printable-key chords that Vim can detect (possibly because it's not even a printable ASCII chord?). Key combinations such as are very un-Vim-like in that they undermine the efficiency of a modal editor. Of course there are times when -escaped combinations are necessary (for example in insert-mode mappings such as - for omnicompletion), but that's not the case for operations such as undo and redo. I'm sorry that this reply won't satisfy you, but in the long run there is much to be gained from "doing it the Vim way", rather than trying to bend Vim to your will.

Related questions

0 votes
    _________ generate aesthetic mappings that describe how variables in the data. (a) aes_all (b) aes_auto (c) aes ... of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    ______ generate aesthetic mappings from a string. (a) aes_all (b) aes_auto (c) aes_string (d) aes_position I ... of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    Which of the following create a set of identity mappings? (a) ggplot (b) aes_all (c) aes (d) ggorder ... Analysis of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    How might you approve all mappings in the archive all the while?...
asked Jun 7, 2021 in Technology by JackTerrance
0 votes
    Explain annotation in EJB to do the database entity relationships/mappings....
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
    I can use vi{ and va{ to select C++ code blocks. It helps me a lot when I need to yank ... questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Aug 1, 2022 in Education by JackTerrance
0 votes
    Currently I try to switch from vim to emacs and have some difficulty while editing code. For most of ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 17, 2022 in Education by JackTerrance
0 votes
    The context is that I am copy pasting React props definition into the function arguments, so that I ... .string.isRequired, formPlaceholder: PropTypes.string.isRequired, };...
asked May 7, 2022 in Education by JackTerrance
0 votes
    I am interested in enabling code folding in Vim for Python code. I have noticed multiple ways to do ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    I am interested in enabling code folding in Vim for Python code. I have noticed multiple ways to do ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    I am interested in enabling code folding in Vim for Python code. I have noticed multiple ways to do ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    As it currently stands, this question is not a good fit for our Q&A format. We expect answers to ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 27, 2022 in Education by JackTerrance
0 votes
    I am having a problem with the visual selection and running a regular expression replace. When I select some text that ... the right result? Edit: The actual command line is '...
asked Jan 16, 2022 in Education by JackTerrance
0 votes
    When I go to command mode and type :!mycommand % I get my command executed on the current file ( ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jan 13, 2022 in Education by JackTerrance
0 votes
    Which of the following are the key concepts of Functional Programming a. Immutability b. Pure functions c. Inheritance d. Referential Transparency...
asked Mar 7, 2023 in Technology by JackTerrance
...