The way bindings are made with plugins are uginFunction. Alt+up/down should move lines or blocks of lines if they are completely selected. To save the binding put it in ~/.config/micro/bindings.json. For shift-backspace and backspace, the escape sequence is the same. You can see this in micro if you use the nightly with the > raw command which will show the raw escape sequences micro is receiving. Micro just always assumes backspace is pressed. Unfortunately most terminals do not differentiate between Shift-Backspace and Backspace so it is impossible for micro to know which was pressed. If you still have problems try going to Preferences->Profiles->Keys->Load Preset and selecting xterm Defaults in the iTerm2 settings. I recommend you instead download iTerm2 as a replacement. I see you are using Terminal.app on Mac which is pretty bad for these types of things (newer key events) and indeed doesn't send the correct events for Alt+shift+left/right. If that's not working it might be a problem with your terminal. If you mean shift+alt+left/right that should select by word. By default, those keys let you move by word.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |