Ctrl-tab
This commit is contained in:
@@ -1,8 +1,12 @@
|
|||||||
- What precise workflow do I need for me to be viable to use this?
|
! What precise workflow do I need for me to be viable to use this?
|
||||||
- From a user (novice) point of view, how does it look like?
|
! From a user (novice) point of view, how does it look like?
|
||||||
|
|
||||||
|
- Rename: Ctrl-C instead?
|
||||||
|
- If I want to make the ID / pointer design right, (mostly I think for coroutines) I think all the pointers need to be accessed through a broad ID interface without exposing pointers. This seems like a giga hassle.
|
||||||
|
- What would we do if the pointer disappered? should Null work as dev null in some circumstances or should all the operations be done one console?
|
||||||
|
- Seems like over reaction but probably the "correct" thing to do?
|
||||||
|
|
||||||
Use session 2
|
Use session 2
|
||||||
- Add ctrl-tab to go back to last buffer
|
|
||||||
- I can't change browser currently, maybe syntax like :Set InternetBrowser "firefox"
|
- I can't change browser currently, maybe syntax like :Set InternetBrowser "firefox"
|
||||||
- BUILD annoying: Console or use the other window / the window which is already being used
|
- BUILD annoying: Console or use the other window / the window which is already being used
|
||||||
|
|
||||||
|
|||||||
@@ -1569,7 +1569,7 @@ void ReopenBuffer(Buffer *buffer) {
|
|||||||
void SaveBuffer(Buffer *buffer) {
|
void SaveBuffer(Buffer *buffer) {
|
||||||
Scratch scratch;
|
Scratch scratch;
|
||||||
String string = AllocCharString(scratch, buffer);
|
String string = AllocCharString(scratch, buffer);
|
||||||
bool success = WriteFile(buffer->name, string);
|
bool success = WriteFile(buffer->name, string);
|
||||||
|
|
||||||
if (success) {
|
if (success) {
|
||||||
buffer->file_mod_time = GetFileModTime(buffer->name);
|
buffer->file_mod_time = GetFileModTime(buffer->name);
|
||||||
|
|||||||
@@ -888,6 +888,12 @@ void Command_CloseAll() {
|
|||||||
CoAdd(Coro_CloseAll);
|
CoAdd(Coro_CloseAll);
|
||||||
} RegisterCommand(Command_CloseAll, "");
|
} RegisterCommand(Command_CloseAll, "");
|
||||||
|
|
||||||
|
void Command_JumpPrev() {
|
||||||
|
BSet main = GetBSet(LastActiveLayoutWindowID);
|
||||||
|
JumpToLastValidView(main.window);
|
||||||
|
NextActiveWindowID = main.window->id;
|
||||||
|
} RegisterCommand(Command_JumpPrev, "ctrl-tab");
|
||||||
|
|
||||||
void Command_Prev() {
|
void Command_Prev() {
|
||||||
BSet main = GetBSet(LastActiveLayoutWindowID);
|
BSet main = GetBSet(LastActiveLayoutWindowID);
|
||||||
main.window->skip_checkpoint = true;
|
main.window->skip_checkpoint = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user