From 8da5e7941d3ecc0c4c5a11ef33e1d7ee0fbeae84 Mon Sep 17 00:00:00 2001 From: jerabaul29 Date: Sun, 28 Jan 2024 12:14:25 +0100 Subject: [PATCH] WIP --- runtime/tutor | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/runtime/tutor b/runtime/tutor index 67d82e1c9..45da97e88 100644 --- a/runtime/tutor +++ b/runtime/tutor @@ -1385,7 +1385,7 @@ leftest split with ctrl-w h twice, then from inside the split on the left press ctrl-w o to close all except this split. ================================================================= -= CHAPTER 13.2 SPLIT CURRENT BUFFER = += CHAPTER 13.3 SPLIT CURRENT BUFFER = ================================================================= You can also, starting in normal mode, split the view of the @@ -1407,7 +1407,7 @@ Close extra splits with ctrl-w o to come back to a single window. ================================================================= -= CHAPTER 13.3 USE COMMANDS TO SPLIT = += CHAPTER 13.4 USE COMMANDS TO SPLIT = ================================================================= You can also use the :vsplit (aliased to :vs for convenience) or @@ -1429,7 +1429,7 @@ instead of a new empty buffer. ================================================================= -= CHAPTER 13.3 SWAPPING SPLITS = += CHAPTER 13.5 SWAPPING SPLITS = ================================================================= Open a split on the left with :vs hello1 , and then a split below @@ -1451,7 +1451,7 @@ this split. ================================================================= -= CHAPTER 13.3 TRANSPOSE SPLITS = += CHAPTER 13.6 TRANSPOSE SPLITS = ================================================================= Open a split on the left with :vs hello1 , and then a split below @@ -1472,7 +1472,25 @@ the tutor window. +================================================================= += CHAPTER 13.7 OPEN SPLIT FROM FILEPICKER = +================================================================= + +Splits can also be opened directly from the filepicker. Press +space f to open the filepicker. From there, you can type in text +to perform file lookup with fuzzy matching, and use the arrows +up and down to move the selected file (indicated by the > symbol). +If you want to exit the file picker, press esc . + +Select any file you like in the file picker. You could open it in +the current view by pressing enter (do not do this at present). +But you can also open it in a new split. Press ctrl-v to open +the selected file in a new vertical split. Press space f again, +select any file you want, and press ctrl-s to open it in a +horizontal split. +Move back to the tutor split, and press ctrl-w o to close all +splits except this one.