Changing the prefix of many chordsHow do I change a key binding which also has its own prefix key?How to properly change defcustom prefix keyUndefine prefix bindingHow to redefine the allout prefix keybindingHow to preserve emacs key bindings when changing keyboard layout?Find out the purpose of a Prefix Command listed in describe-bindingstranslate a modifier key (Super to Ctrl OS X)Relocating an anonymous prefix keymapProper way to change prefix key for minor-mode map?Convention about using C-x or C-c as prefix keys

How to catch creatures that can predict the next few minutes?

Search for something difficult to count/estimate

What’s the BrE for “shotgun wedding”?

Can an NPC use the teleport spell to affect an object they can see with the scry spell?

Colleague's grant application resembles my PhD thesis

TIKZ Macro to draw hundredth of a square

What is the difference between increasing volume and increasing gain?

Parent asking for money after I moved out

How can I find places to store/land a private airplane?

Can I pay off my mortgage with a new one?

Why do many websites hide input when entering a OTP

Why do we not always use the closed testing principle for multiple comparisons?

Can I voluntarily exit from the US after a 20 year overstay, or could I be detained at the airport?

The work of mathematicians outside their professional environment

Redirect output on-the-fly - looks not possible in Linux, why?

Why do personal finance apps focus on outgoings rather than income

Find all matrices satisfy

Advices to added homemade symbols

Has Boris Johnson ever referred to any of his opponents as "traitors"?

Can 35 mm film which went through a washing machine still be developed?

Should I hang doors before or after drywall?

Is there any problem with students seeing faculty naked in university gym?

Airport Security - advanced check, 4th amendment breach

I've been fired, was allowed to announce it as if I quit and given extra notice, how to handle the questions?



Changing the prefix of many chords


How do I change a key binding which also has its own prefix key?How to properly change defcustom prefix keyUndefine prefix bindingHow to redefine the allout prefix keybindingHow to preserve emacs key bindings when changing keyboard layout?Find out the purpose of a Prefix Command listed in describe-bindingstranslate a modifier key (Super to Ctrl OS X)Relocating an anonymous prefix keymapProper way to change prefix key for minor-mode map?Convention about using C-x or C-c as prefix keys






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









2















It just occurred to me that the org-babel prefix C-c C-v must be what
it is because of the proximity of c and v in qwerty, and that it
would be better for me to use C-c C-f. Is there a simple way to
change the prefix for all chords using it?










share|improve this question






























    2















    It just occurred to me that the org-babel prefix C-c C-v must be what
    it is because of the proximity of c and v in qwerty, and that it
    would be better for me to use C-c C-f. Is there a simple way to
    change the prefix for all chords using it?










    share|improve this question


























      2












      2








      2








      It just occurred to me that the org-babel prefix C-c C-v must be what
      it is because of the proximity of c and v in qwerty, and that it
      would be better for me to use C-c C-f. Is there a simple way to
      change the prefix for all chords using it?










      share|improve this question














      It just occurred to me that the org-babel prefix C-c C-v must be what
      it is because of the proximity of c and v in qwerty, and that it
      would be better for me to use C-c C-f. Is there a simple way to
      change the prefix for all chords using it?







      key-bindings






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 16 at 11:10









      ToothrotToothrot

      1,2015 silver badges15 bronze badges




      1,2015 silver badges15 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          4
















          If you really want to override the binding C-c C-f for org-forward-heading-same-level you can do that as follows.



          (defvar org-C-c-C-v (lookup-key org-mode-map (kbd "C-c C-v"))
          "Binding of C-c C-v in Orgmode.")
          (defvar org-C-c-C-f (lookup-key org-mode-map (kbd "C-c C-f"))
          "Binding of C-c C-f in Orgmode.")

          (define-key org-mode-map (kbd "C-c C-f") org-C-c-C-v)
          (define-key org-mode-map (kbd "C-c C-v") nil)


          One could also avoid the variables org-C-c-C-v and org-C-c-C-f by substituting their values into the first define-key and by ignoring the value of the original binding for C-c C-f. The variables give you the possibility to easily switch back to the original state without reloading org.



          Note that the usage of defvar is kind of protection of the original binding value. When you have already the modified bindings through running the code once and reevaluate the code the values of org-C-c-C-v and org-C-c-C-f are not overwritten by the new bindings because of the special behavior of defvar (see its doc).



          You can switch back to the original bindings with:



          (define-key org-mode-map (kbd "C-c C-f") org-C-c-C-f)
          (define-key org-mode-map (kbd "C-c C-v") org-C-c-C-v)





          share|improve this answer




























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "583"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );














            draft saved

            draft discarded
















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f48956%2fchanging-the-prefix-of-many-chords%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            4
















            If you really want to override the binding C-c C-f for org-forward-heading-same-level you can do that as follows.



            (defvar org-C-c-C-v (lookup-key org-mode-map (kbd "C-c C-v"))
            "Binding of C-c C-v in Orgmode.")
            (defvar org-C-c-C-f (lookup-key org-mode-map (kbd "C-c C-f"))
            "Binding of C-c C-f in Orgmode.")

            (define-key org-mode-map (kbd "C-c C-f") org-C-c-C-v)
            (define-key org-mode-map (kbd "C-c C-v") nil)


            One could also avoid the variables org-C-c-C-v and org-C-c-C-f by substituting their values into the first define-key and by ignoring the value of the original binding for C-c C-f. The variables give you the possibility to easily switch back to the original state without reloading org.



            Note that the usage of defvar is kind of protection of the original binding value. When you have already the modified bindings through running the code once and reevaluate the code the values of org-C-c-C-v and org-C-c-C-f are not overwritten by the new bindings because of the special behavior of defvar (see its doc).



            You can switch back to the original bindings with:



            (define-key org-mode-map (kbd "C-c C-f") org-C-c-C-f)
            (define-key org-mode-map (kbd "C-c C-v") org-C-c-C-v)





            share|improve this answer































              4
















              If you really want to override the binding C-c C-f for org-forward-heading-same-level you can do that as follows.



              (defvar org-C-c-C-v (lookup-key org-mode-map (kbd "C-c C-v"))
              "Binding of C-c C-v in Orgmode.")
              (defvar org-C-c-C-f (lookup-key org-mode-map (kbd "C-c C-f"))
              "Binding of C-c C-f in Orgmode.")

              (define-key org-mode-map (kbd "C-c C-f") org-C-c-C-v)
              (define-key org-mode-map (kbd "C-c C-v") nil)


              One could also avoid the variables org-C-c-C-v and org-C-c-C-f by substituting their values into the first define-key and by ignoring the value of the original binding for C-c C-f. The variables give you the possibility to easily switch back to the original state without reloading org.



              Note that the usage of defvar is kind of protection of the original binding value. When you have already the modified bindings through running the code once and reevaluate the code the values of org-C-c-C-v and org-C-c-C-f are not overwritten by the new bindings because of the special behavior of defvar (see its doc).



              You can switch back to the original bindings with:



              (define-key org-mode-map (kbd "C-c C-f") org-C-c-C-f)
              (define-key org-mode-map (kbd "C-c C-v") org-C-c-C-v)





              share|improve this answer





























                4














                4










                4









                If you really want to override the binding C-c C-f for org-forward-heading-same-level you can do that as follows.



                (defvar org-C-c-C-v (lookup-key org-mode-map (kbd "C-c C-v"))
                "Binding of C-c C-v in Orgmode.")
                (defvar org-C-c-C-f (lookup-key org-mode-map (kbd "C-c C-f"))
                "Binding of C-c C-f in Orgmode.")

                (define-key org-mode-map (kbd "C-c C-f") org-C-c-C-v)
                (define-key org-mode-map (kbd "C-c C-v") nil)


                One could also avoid the variables org-C-c-C-v and org-C-c-C-f by substituting their values into the first define-key and by ignoring the value of the original binding for C-c C-f. The variables give you the possibility to easily switch back to the original state without reloading org.



                Note that the usage of defvar is kind of protection of the original binding value. When you have already the modified bindings through running the code once and reevaluate the code the values of org-C-c-C-v and org-C-c-C-f are not overwritten by the new bindings because of the special behavior of defvar (see its doc).



                You can switch back to the original bindings with:



                (define-key org-mode-map (kbd "C-c C-f") org-C-c-C-f)
                (define-key org-mode-map (kbd "C-c C-v") org-C-c-C-v)





                share|improve this answer















                If you really want to override the binding C-c C-f for org-forward-heading-same-level you can do that as follows.



                (defvar org-C-c-C-v (lookup-key org-mode-map (kbd "C-c C-v"))
                "Binding of C-c C-v in Orgmode.")
                (defvar org-C-c-C-f (lookup-key org-mode-map (kbd "C-c C-f"))
                "Binding of C-c C-f in Orgmode.")

                (define-key org-mode-map (kbd "C-c C-f") org-C-c-C-v)
                (define-key org-mode-map (kbd "C-c C-v") nil)


                One could also avoid the variables org-C-c-C-v and org-C-c-C-f by substituting their values into the first define-key and by ignoring the value of the original binding for C-c C-f. The variables give you the possibility to easily switch back to the original state without reloading org.



                Note that the usage of defvar is kind of protection of the original binding value. When you have already the modified bindings through running the code once and reevaluate the code the values of org-C-c-C-v and org-C-c-C-f are not overwritten by the new bindings because of the special behavior of defvar (see its doc).



                You can switch back to the original bindings with:



                (define-key org-mode-map (kbd "C-c C-f") org-C-c-C-f)
                (define-key org-mode-map (kbd "C-c C-v") org-C-c-C-v)






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 16 at 12:12

























                answered Apr 16 at 12:03









                TobiasTobias

                19.1k1 gold badge12 silver badges42 bronze badges




                19.1k1 gold badge12 silver badges42 bronze badges































                    draft saved

                    draft discarded















































                    Thanks for contributing an answer to Emacs Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f48956%2fchanging-the-prefix-of-many-chords%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

                    Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü

                    How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region