Skip to content

Commit

Permalink
Added keyboard shortcuts for focussing splits
Browse files Browse the repository at this point in the history
  • Loading branch information
curlpipe committed Dec 5, 2024
1 parent 58c957b commit ae58bad
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config/.oxrc
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,19 @@ event_mapping = {
editor:macro_record_stop()
editor:display_info("Macro recorded")
end,
-- Splits
["ctrl_alt_left"] = function()
editor:focus_split_left()
end,
["ctrl_alt_right"] = function()
editor:focus_split_right()
end,
["ctrl_alt_down"] = function()
editor:focus_split_down()
end,
["ctrl_alt_up"] = function()
editor:focus_split_up()
end,
-- File Tree
["ctrl_space"] = function()
editor:toggle_file_tree()
Expand Down

0 comments on commit ae58bad

Please sign in to comment.