53
submitted 3 months ago* (last edited 3 months ago) by theshyprisoner@lemmy.ml to c/linux@lemmy.ml

I wanted to have a separate laptop where I only use the terminal for my use cases. At the moment I am somewhat confident using the terminal, but I think limiting myself to tty only would build my confidence even more. Any tips?

EDIT: I am already using nvim and I already have installed a minimal distro (Arch). I just need advice on how to actually run this system effectively.

you are viewing a single comment's thread
view the rest of the comments
[-] NeoNachtwaechter@lemmy.world 3 points 3 months ago

Easy. Just learn to use it and it is already there.

With nano, you work with that letter where your cursor is at the moment. This is convenient, but limited.

With vim, you can also work with a word, or the whole line, or part of the line, or a section, or the whole file (or many files if you use the shell extension) and it goes all with the same ease.

Vim also allows you to keep your hands in place on the letters on your keyboard all the time. No need to move the hands around, grabbing the mouse and back, or the arrow keys, and thus search for the correct position for your hand every few seconds - which costs time and focus.

[-] GravitySpoiled@lemmy.ml 1 points 3 months ago

If I understand you correctly, I can write more efficiently because I can move to the next paragraph or sentence which I can't with normal keybindings. Or special commands where I delete everything within "". I understand the appeal of special moves but why not simply creating a Ctrl, Meta or alt command for that?

[-] CsXGF8uzUAOh6fqV@lemmy.world 3 points 3 months ago

Vim uses these commands like di" (delete everything inside "") instead of chords (holding multiple keys down at once). Both work fine. The reason vim does this is that many regard it as more ergonomic. You don't stretch your hand/fingers out and you can keep your fingers at homerow. You might have heard about people getting an "Emacs Pinky". It's basically down to preference. I don't use emacs but I know people use vim bindings in emacs (emacs is very scriptable after all). That way you can try or integrate vim like bindings without leaving your comfy emacs.

[-] NeoNachtwaechter@lemmy.world 0 points 3 months ago* (last edited 3 months ago)

but why not simply creating a Ctrl, Meta or alt command for that?

No need to create such things when they are already there

I find Ctrl etc. rather inefficient. So much extra bending of your hand for these special keys. Are you able to type with 10 fingers?

[-] GravitySpoiled@lemmy.ml 2 points 3 months ago

I learned it but I only use 7 or 8 fingers. The speed isn't limiting me.

this post was submitted on 11 Jul 2024
53 points (94.9% liked)

Linux

47950 readers
1523 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS