Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Moving Lines #15

Open
LockeAG opened this issue Dec 4, 2022 · 0 comments
Open

Adding Moving Lines #15

LockeAG opened this issue Dec 4, 2022 · 0 comments

Comments

@LockeAG
Copy link

LockeAG commented Dec 4, 2022

Maybe adding Moving lines (https://github.com/fedepujol/move.nvim) or simple :m .+1<CR> would be a great idea.

keymap.set("n", "<leader>k", ":MoveLine(-1)<CR>", opts) -- move line vertical above
keymap.set("n", "<leader>j", ":MoveLine(1)<CR>", opts) -- move line vertical below

Works, Ok.... is helpful; maybe changing to <A-k> and <A-j> would be better for Mac/VsCode Users.

Definetly Alt+Up , Alt+Down, Shift+Alt+Up/Down on VSCode is great

Of course, we can only use dd or yy and P or p. But could be a great feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant