Do you use vim as your default text editor? If you do not, have you ever been in a situation you could do nothing but use vim?

  • collapse_already@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 days ago

    VI and vim have been my editors of choice for thirty plus years at this point. I also use set -o vi in bash.

  • folaht@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 day ago

    Do you use vim as your default text editor?

    Not just text editor, but also IDE via rocks.nvim.
    Ever since I wanted to edit some file that had like 2000 lines and I just wanted to quickly go to line 1164.
    Nano wasn’t cut out for that and I hadn’t heard of emacs.
    But I use a Typematrix dvorak keyboard, so I had to rearrange all the command.
    Now I’m stuck with it and I enjoy it.

    If you do not, have you ever been in a situation you could do nothing but use vim?

    Yeah, whenever I type git commit -m "message goes here"
    Also, I wanted to program on a server, so I ssh’d into it and decided that vim was the way to go as an IDE.

  • Random Dent@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 days ago

    I’ve been using Vim for 20 years.

    I only opened it once and I haven’t been able to close it yet

    • Dave@lemmy.nz
      link
      fedilink
      arrow-up
      0
      ·
      7 days ago

      I’m not sure at what point in the last 20 years they put the instructions in the vim, but it gives you clear instructions on what to do if it thinks you’re trying to escape from vim jail.

  • Slashme@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    7 days ago

    Yes, started using vi when I started using a Unix login at university. That was in about 1994 or so. When I started using Linux it was definitely vim.

    I’ve tried using evil-mode and vim keybindings in other editors. I somehow keep coming back to vim, though.

  • katy ✨@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 days ago

    i mean vim is fine and all and i can get around it fine but nano superiority

    # ── behaviour ────────────────────────────────────────────────  
    set autoindent  
    set atblanks  
    set casesensitive  
    set constantshow  
    set cutfromcursor  
    set historylog  
    set indicator  
    set linenumbers  
    set minibar  
    set mouse  
    set nohelp  
    set positionlog  
    set smarthome  
    set softwrap  
    set speller "aspell -x -c"  
    # set suspend  
    # NOTE: Removed in nano 7.x; CTRL+Z suspend is now always enabled by default.  
    # Kept here for reference in case of older nano versions.  
    set tabsize 2  
    set tabstospaces  
    set zap  
    
    # ── backups ────────────────────────────────────────────────  
    set backup  
    set backupdir "~/.cache/nano/backups/"  
    
    # ── syntax highlighting ───────────────────────────────────────  
    include "/usr/share/nano/*.nanorc"  
    
  • Ŝan • 𐑖ƨɤ@piefed.zip
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    8 days ago

    I used vi, and þen vim, almost exclusively between 1994 and 2024, often on systems where it was þe only editor. I did use Kakoune for a year or so right before I found Helix. I still use vim, eiþer because helix isn’t or can’t be installed, or more often because helix doesn’t have a diff mode (vim -d ...).

    Are you struggling wiþ it? Þ learning curve is steep but worþ it, like learning how to touch-type.