Comments (9)
Thanks for this suggestion. Actually, I picked M-RET originally because that's what I use in AUCTeX for inserting items. Now I see that it is an alias for C-c C-j. I see the logic in using C-c C-j for new list items, but the problem is that in markdown-mode
C-c C-j is used for jumping in various contexts (footnote markers and definitions, reference links and definitions, etc.). We'd have to find a better keybinding for that--suggestions?
from markdown-mode.
@jrblevin I think "jumping" would be rather well represented by the often common "next" and "previous" hotkeys.
I suppose you already use C-n
and C-p
for another purpose? What about C-c C-n
and C-c C-p
?
from markdown-mode.
I hope this request doesn't disrupt the workflow of your current users. I'm just a newcomer with a wishlist ;-)
from markdown-mode.
I've been thinking again about a possible new keybinding for markdown-jump
(currently C-c C-j
). Here are some free ones under C-c C-?
:
C-c C-r
(for return)C-c C-v
(for visit)C-c C-l
(any good mnemonic here?)C-c C-d
(any good mnemonic here?)
Another option: Emacs uses both M-j
and C-M-j
for comment-indent-new-line
. Perhaps we could override C-M-j
(for jump)? Does anyone use C-M-j
for this instead of M-j
?
from markdown-mode.
C-c C-l
How about Loop? I think it's more in tune with the semantics than the ones above. Does the feature actually loop, after reaching the last section?
My suggestion is: does latex-mode or AucTex have a similar feature, to jump between sections? If so, you could use the same keybinding as well.
from markdown-mode.
Thanks for the mnemonic suggestion. I thought about AUCTeX, etc., but I couldn't think of any similar behavior. I should say this command doesn't jump between sections, rather, between reference link or footnote markers in text and their definitions below. For example, it will jump back and forth between line 1 and 3 for the reference link below.
[link][1]
[1]: http://github.com/
EDIT: I guess instead of "jump" with C-c C-l we could think of leap :)
from markdown-mode.
Sorry for that, I just confirmed the bejavior in the docs after commenting. But since it does go back and forth, "loop" would be an usable mnenomic, right?
from markdown-mode.
Sure. Now that I think about it, with C-c C-d we have definition, jumping between the link/footnote and the definition.
from markdown-mode.
OK, here you go: 3bf565b. I do think C-c C-j is good for inserting list items, since there is clear precedence for it. I moved markdown-jump
to C-c C-l. The other nice thing about that one is that it's adjacent to C-c C-o which can be used to follow/browse/open reference links (as opposed to visiting their definitions). Sorry it took me several months to finally decide on an alternative keybinding!
from markdown-mode.
Related Issues (20)
- Add support for LaTeX enviroments HOT 1
- Markdown mode leads to heavy input lag HOT 8
- [filelink](does not support spaces in filename) HOT 3
- Caret signs inside math are fontified as Markdown markup
- register yank-media-handler so we can paste images HOT 7
- Should filename links be URI-decoded? HOT 1
- Update MacPorts links in README
- tab in lists items results in invalid list indent itemization
- [Feature Suggestion] markdown-beginning/end-of-line functions
- `move-beginning-of-line` move to wrong position on heading when markdown-hide-markup is enabled HOT 1
- preserve indent-tabs-mode in markdown-edit-code-block HOT 5
- Incorrect table alignment with code block HOT 1
- Markdown hiding for links broken when text surrounded by square brackets
- resurrect emacs-26 support? HOT 2
- Bug: Angle-bracketed URLs in inline code are fontified as links
- "_" character in a variable name turns on underline HOT 1
- Wrong gfm-view-mode syntax highlight if only using *-ts-mode (tree-sitter modes) HOT 1
- v2.6 ERT test failures on wiki-link-rules and wiki-link-search-under-project with Emacs 29.1 HOT 4
- R language isn't included in markdown-gfm-recognized-languages HOT 3
- Wrong table width calculation for Unicode Combining Diacritical Marks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdown-mode.