1 line
1.6 KiB
Plaintext
1 line
1.6 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>I use windmove to move windows. I have the following setup: </p> <p><code> (use-package windmove :bind (("C-S-j" . windmove-left) ("C-S-l" . windmove-right) ("C-S-i" . windmove-up) ("C-S-k" . windmove-down))) </code></p> <p>However, in org buffers, the C-S-i binding gets overwritten. I can not figure out how it is being overwritten. It seems like it is doing org-cycle global as it will cycle all headers in the file. When I do C-h k I get this: </p> <p>``` S-TAB runs the command org-shifttab (found in org-mode-map), which is an interactive compiled Lisp function in ‘org.el’.</p> <p>It is bound to <backtab>, S-TAB, <S-tab>, <S-iso-leftab>, <menu-bar> <Tbl> <Previous Field>, <menu-bar> <Org> <Show/Hide> <Cycle Global Visibility>. ``` The binding C-S-i doesn't show up in C-h m or C-h b either. The other windmove bindings do show up in C-h b though. When I'm in another buffer with a different mode all of my windmove bindings work fine. It seems to just happen with org buffers.</p> <p>I'm really scratching my head as I can't find any smoking gun to what's actually being called or how it is bound.</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/jesse_ee"> /u/jesse_ee </a> <br/> <span><a href="https://www.reddit.com/r/orgmode/comments/po7sgh/help_overriding_keybinding/">[link]</a></span>   <span><a href="https://www.reddit.com/r/orgmode/comments/po7sgh/help_overriding_keybinding/">[comments]</a></span> |