Comments (10)
I actually don't like this shift+tab behavior.. shift+tab is a global unident command.
If I have highlighted text, I expect to unident a slab of text, not invoke some code folding thing.
IMHO, you should remove these keybindings, and make them opt-in by manual customization of the keymap. I generally think its a bad idea to intrusively change inherent Sublime key bindings.
I think you should also be able to scope them down even further, so that they won't, for instance, apply when a block of text is selected.
from smartmarkdown.
Very good suggestion. You might take a look at GlobalFoldingCommand at smart_folding.py. I think, by adjusting the level of headline, you can achieve that.
I will appreciate very much if you can hack that. Otherwise I would do it later when I have time.
Thanks!
from smartmarkdown.
Shift + Tab conflicts with traversing table cell backwards and global unfolding.
Sorry, too early to comment. It works as expected, it seems I was in last cell to out of table and + to re-enter into to last cell.
from smartmarkdown.
Personally, I use Super + [ as global unindent, as Shift + Tab does not unindent the current line when there is no selection.
Is this the standard behaviour on platforms other than OS X?
from smartmarkdown.
I think what michael-cantera is saying, at least as I remember emacs working, is that shift+tab toggles through: all h3s closed, all h2s closed, all h1s closed, all open. This would be a REALLY useful feature. (So I guess this is really a feature request / enhancement.)
from smartmarkdown.
Yes, great plugin - Kalmantsch, on my emacs at least, shift-tab cycles thru all unfolded, just H1, then all Headings, but no bodytext. This is IMHO the best compromise. Would LOVE to see this.
Second feature request: emacs (and MS Word, which is a great outliner if nothing else) gives you 8 options for moving headlines: up, down, promote, demote (mapped to the arrow keys), and for each you can just move the heading (add Shift key for this) or move everything under the heading too. Right now SmartMarkdown only has two of these. Real outline junkies need all 8. Would this be possible? plEEEEASE?
from smartmarkdown.
I would be interested in offering a small bounty to get something like this working. Those eight motions plus some way of folding/unfolding level by level globally.
from smartmarkdown.
Yes, I'd add my interest in this request for a cycling fold command as well. That is, unfold to show just the h1s, just the h2s, just the h3s, etc.
from smartmarkdown.
BTW: It looks like there's toggle functionality in the fold-em-all branch from over a year ago. Why no merge?
from smartmarkdown.
+1 for any or all of these suggestions!
from smartmarkdown.
Related Issues (20)
- Highlighting of embedded latex?
- Does not find pandoc on Windows
- Is it possible to do code folding using mouse? HOT 2
- Smart Fold Lists
- Pasting over lists
- No such file or directory: 'pandoc'
- 6 seconds to global-fold with 3000 headings HOT 1
- Emphasis wrapping of highlighted text
- Blank line before lower-numbered (higher-level) heading HOT 3
- Support for Markdown in Fountain files
- Unexpected behaviour in Smart Tables
- Moving columns in tables
- I'm such a fan of this plugin.. made a small screencast
- Cannot indent code that contains a pipe "|"
- "Outline View" HOT 1
- Why it doesn't work? HOT 6
- how to render html/pdf with pandoc?
- [Feature request] Disable smart_list option
- Add option to disable the error highlighting
- Slight adjustment to make smart_folding work — perhaps document?
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 smartmarkdown.