momodalo / vimtouch

vimtouch
Apache License 2.0
351 stars 71 forks source link

Fix 'move up' command in quickbar #100

Closed pfertyk closed 6 months ago

pfertyk commented 8 years ago

The command m-1 in Vim is correct, but effectively it does nothing (the line stays in the same place). The correct command to move a line up is m-2. I know that the quickbar can be easily modified after the app is installed, but I think the default value should also be fixed.

Warning: I haven't compiled the app to check if this solution works. I just checked if the default m-1 works (it doesn't) and if typing :m-2 without using the quickbar works as expected (it does). I don't know if this is a correct file to fix this issue (this is the only place where I found m+1 in this repo). If it's not, please let me know where to change it.

I also didn't run any tests after this change, since there seem to be no tests in this repo (which is not a good thing).