💾 Archived View for cugi.ie › aminet › 1702873764.gmi captured on 2024-05-10 at 11:34:47. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

-=-=-=-=-=-=-

Cubic IDE: Windows-like keyboard settings

   Author:       Olrick Lefebvre
   Uploader:     olrick lefebvre olrick fr
   Type:         text/edit
   Version:      1.0
   Architecture: generic
   Distribution: Aminet
   Date:         2023-12-17
   Readme:       http://aminet.net/text/edit/cubic_win_keyboard.readme
   Downloads:    3

http://aminet.net/text/edit/cubic_win_keyboard.lha

Introduction

Ever been tired of switching keyboard habits each time you jump to a different

platform / editor, Vim, Emacs, Notepad++, Nano and finally Cubic/GoldEd ?

Now that we can use full 105 keys keyboards, it would be nice to use modern

key settings, wouldn't it ?

As I practiced Windows editors more often, I am used to that kind of keyboard

settings for movement and selection.

Having tried different Amiga development editors, usable both with OS3.2 and

OS4.1 (in fact there's not so many), and being strongly encouraged by

teammates to opt for Cubic, I struggled a lot with the default settings but

didn't have the interest in assimilating the specific shortcuts.

So I felt my typing really ineffective. But one of the qualities of Cubic is

that it is supposed to be extremely configurable, so I had a look and in fact

it is surprisingly configurable.

This is just a first configuration I made for movements and selection. I know

it have to be improved, especially for supporting lines and vertical selection

transparently, but at least it does a decent job despite some quirks here and

there.

This configuration is for a 105 keys keyboard. If you're using an original

Amiga keyboard, you'll have to wait for the configuration I plan to adapt

to my A500.

The settings

Selection

SHIFT key:

Activates and keeps selecting (equivalent to start marking) when combined with

movement shortcuts. If you release SHIFT and move, the selection is lost.

Movements

Cursor keys:

Well, as it is expected to move

CTRL + RIGHT:

Moves to next word

CTRL + LEFT:

Moves to previous word

HOME:

Moves to start of line

END:

Moves to end of line

CTRL + HOME:

Moves to start of file

CTRL + END:

Moves to end of file

PageUp:

Moves one page up

PageDown:

Moves one page down

Special cases when block selected

DEL:

Deletes block

TAB:

Indent block one tab

SHIFT + TAB:

Unindent block one tab

Installation

For Cubic IDE, the keyboard config file is located at:

golded:etc/registry/presets/standard.keyboard

For MicroGoldEd, the keyboard config file is located at:

sys:prefs/presets/microgolded/etc/registry/presets/standard.keyboard

Backup your current standard.keyboard files (you never know...) and replace

them with the one from this archive.

I suggest the following "Filetypes / TEXT / Configuration / User interface"

settings to get the most common behavior:

That's all.

I hope this will help somebody out there.

Me, it just saved my retro coding motivation.

Contents of text/edit/cubic_win_keyboard.lha

PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                 1396    2819  49.5% -lh5- 2dda Dec 17 16:22 cubic_win_keyboard.readme
[unknown]                 1255    7807  16.1% -lh5- e144 Dec 17 15:46 standard.keyboard
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         2 files    2651   10626  24.9%            Dec 18 04:29

Aminet © 1992-2023 Urban Müller and the Aminet team. Aminet contact address: <aminet aminet net>