mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
Add JumpToMatchingBrace action
This commit adds the JumpToMatchingBrace action which lets the cursor jump to a matching brace if it is on one. Closes #853
This commit is contained in:
@@ -111,6 +111,7 @@ var bindingActions = map[string]func(*View, bool) bool{
|
||||
"RemoveMultiCursor": (*View).RemoveMultiCursor,
|
||||
"RemoveAllMultiCursors": (*View).RemoveAllMultiCursors,
|
||||
"SkipMultiCursor": (*View).SkipMultiCursor,
|
||||
"JumpToMatchingBrace": (*View).JumpToMatchingBrace,
|
||||
|
||||
// This was changed to InsertNewline but I don't want to break backwards compatibility
|
||||
"InsertEnter": (*View).InsertNewline,
|
||||
|
||||
Reference in New Issue
Block a user