Comments (4)
Hmm, do they work when you're already in insert mode? The command just calls the native command+shift+arrow
, which also doesn't move highlighted blocks.
We should probably make it so if you're in normal mode, it both enters and moves the block though
from roam-toolkit.
Hmm, do they work when you're already in insert mode? The command just calls the native
command+shift+arrow
, which also doesn't move highlighted blocks.We should probably make it so if you're in normal mode, it both enters and moves the block though
Ok. When already in insert mode the commands do nothing. Also I don't think entering insert mode after moving the block is a good idea. Having the hotkey do one thing and one thing only is important I think. I would never use the insert mode after I move a block personally. In fact it would make me very annoyed.
Ideally, I would like to be able to move blocks like I do in vscode. I've got alt+h/j/k/l for moving left, down, up, and right respectively.
from roam-toolkit.
Does the native command+shift+arrow
shortcut work for you when you turn off roam toolkit?
I agree that the shortcut should just move the block, not go into insert mode, and stay in normal mode.
It's just that the command+shift+arrow
shortcut is the simplest way to shift blocks right now, and it can only be accessed while focused on a block. (Maybe we could simulate drag+drop with the mouse, but that'd be trickier to implement)
I previously tried to make the shortcut go
- enter insert mode
- shift block
- exit insert mode
In succession, but this makes it laggy, especially when you want to shift blocks multiple times quickly.
from roam-toolkit.
yes! ctrl+shift+up does work. However, it has a weird quirk where when moving up, it moves the view port up, but when moving down it doesn't. It's really annoying especially to someone who likes the viewport to only change when I tell it to. That's a default roam thing right? So I don't expect you to be able to change it.
I find dragging and dropping with the mouse to be finicky, cause you've gotta drop it in the exact right spot to keep it at the same indent level, not move it one indent to the right under the block above.
any chance on getting hotkeys for indenting and outdenting tho? I'd love to have those on alt+h/l
from roam-toolkit.
Related Issues (20)
- Why does putting once a day between semi-colons replace it with a bi-link to the current day? HOT 3
- Navigating between daily notes and main pages breaks vim mode
- Vim navigation highlight defaults to yellow HOT 4
- Panel state is lost when spatial mode is re-rendered
- Vim-roam: rebinding click hint 0 breaks formatting HOT 1
- SRS parser thrown off by blocks with dates? HOT 2
- Generating recurring dates HOT 1
- Live preview doesn't work for Linked References
- Considering the implementation of Ebisu algorithm HOT 1
- [vim] visual mode is unreliable and on keypress enters insert mode instead HOT 2
- Pressing a to "Click Selection and Go-to End of Line" goes at the beginning of the line HOT 4
- "a" binding isn't true to Vim
- settings menu glitch
- Fuzzy Dates Edge Case when using multiple semicolons in a paragraph HOT 6
- Fuzzy Date doesn't work anymore HOT 3
- Installation for standalone apps? HOT 1
- Spatial Graph Sidebar also shows in All Pages screen, which makes All Pages broken
- Some features work; some do not HOT 4
- Highlighting hint `w` shortcuts not work in page embed state HOT 9
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 roam-toolkit.