Skip to content

how to move current line up or down #5764

Answered by maxsz
setop asked this question in Q&A
Feb 1, 2023 · 8 comments · 15 replies
Discussion options

You must be logged in to vote

I have this in my config:

[keys.normal]
C-j = ["extend_to_line_bounds", "delete_selection", "paste_after"]
C-k = ["extend_to_line_bounds", "delete_selection", "move_line_up", "paste_before"]

works like in other editors 👍

Replies: 8 comments 15 replies

Comment options

You must be logged in to vote
3 replies
@CptPotato
Comment options

@goyalyashpal
Comment options

@CptPotato
Comment options

Comment options

You must be logged in to vote
3 replies
@goosy
Comment options

@vwkd
Comment options

@aral
Comment options

Answer selected by setop
Comment options

You must be logged in to vote
5 replies
@CptPotato
Comment options

@CptPotato
Comment options

@goyalyashpal
Comment options

@goyalyashpal
Comment options

@goyalyashpal
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@goyalyashpal
Comment options

@sgon00
Comment options

@tifandotme
Comment options

Comment options

You must be logged in to vote
1 reply
@BVegNow
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet