• 2wk vim challenge

    From paulie420@1337:3/129 to All on Thu Aug 3 20:37:20 2023
    I'm jumping off - starting Saturday, NANO will be UNINSTALLED on all my machines!! I'm prequisitioning with 'vimtutor' and even that teaches a whole lot - I already feel like I can do this...

    Wish I'd of known about vimtutor earlier - you just gotta teach a gent to fish. :P Wish me well, I think I can handle it.

    Week 1 - Learn vim

    Week 2 - Try out plugins, neovim, CODE+VIM, etc..



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From claw@1337:3/177 to paulie420 on Fri Aug 4 08:06:03 2023
    On 03 Aug 2023, paulie420 said the following...

    I'm jumping off - starting Saturday, NANO will be UNINSTALLED on all my machines!! I'm prequisitioning with 'vimtutor' and even that teaches a whole lot - I already feel like I can do this...

    Wish I'd of known about vimtutor earlier - you just gotta teach a gent
    to fish. :P Wish me well, I think I can handle it.

    Week 1 - Learn vim

    Week 2 - Try out plugins, neovim, CODE+VIM, etc..



    pAULIE42o

    Good luck Paulie! I tried VIM once and just couldn't stand it. Just for my own curiosity why anti Nano?

    |23|04Dr|16|12Claw
    |16|14Sysop |12Noverdu |14BBS |20|15Radio|10@|14HTTP://Noverdu.com:88
    |16|10 Standard ports for SSH/Telnet |04 WEB|14@|12HTTP://noverdu.com:808 |20|15Global Chat, Global Messaging and Games! |16|10Ditch the Unsocial Media

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Noverdu BBS (1337:3/177)
  • From candycane@1337:3/150 to claw on Fri Aug 4 11:19:16 2023
    Re: Re: 2wk vim challenge
    By: claw to paulie420 on Fri Aug 04 2023 08:06 am

    On 03 Aug 2023, paulie420 said the following...

    I'm jumping off - starting Saturday, NANO will be UNINSTALLED on all my
    machines!! I'm prequisitioning with 'vimtutor' and even that teaches a
    whole lot - I already feel like I can do this...

    Wish I'd of known about vimtutor earlier - you just gotta teach a gent
    to fish. :P Wish me well, I think I can handle it.

    Week 1 - Learn vim

    Week 2 - Try out plugins, neovim, CODE+VIM, etc..



    pAULIE42o

    Good luck Paulie! I tried VIM once and just couldn't stand it. Just for my own curiosity why anti Nano?

    |23|04Dr|16|12Claw
    |16|14Sysop |12Noverdu |14BBS |20|15Radio|10@|14HTTP://Noverdu.com:88 |16|10 Standard ports for SSH/Telnet |04 WEB|14@|12HTTP://noverdu.com:808 |20|15Global Chat, Global Messaging and Games! |16|10Ditch the Unsocial Media

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Noverdu BBS (1337:3/177)

    Anti-nano sentiments are very common in linux circles from my experience. It's seen as a noob software like Ubuntu or ranger.

    candycane

    ===
    user is generated from /dev/urandom

    ...Chuck Norris can hear sign language and speak Braille.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From paulie420@1337:3/129 to claw on Fri Aug 4 09:10:37 2023
    Good luck Paulie! I tried VIM once and just couldn't stand it. Just
    for my own curiosity why anti Nano?

    Seriously, try 'vimtutor' - it shows you the basics that are really impressive, if you can just learn the things. :P

    'dd' 'p' 'd3' - I'm gonna get this.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From Ewing to candycane on Sat Aug 5 17:35:12 2023
    Re: Re: 2wk vim challenge
    By: candycane to claw on Fri Aug 04 2023 11:19 am

    Anti-nano sentiments are very common in linux circles from my experience. It's seen as a noob software like Ubuntu or ranger.

    Yep, seen lots of anti-nano sentiment over the years.

    Personally I ignored it all. Been happily using Nano for over 20 years and before that I used Pico.

    (yes, I can use vim if I have to)
  • From candycane@1337:3/150 to Ewing on Sat Aug 5 03:56:43 2023
    Re: Re: 2wk vim challenge
    By: Ewing to candycane on Sat Aug 05 2023 05:35 pm

    Re: Re: 2wk vim challenge
    By: candycane to claw on Fri Aug 04 2023 11:19 am

    Anti-nano sentiments are very common in linux circles from my
    experience. It's seen as a noob software like Ubuntu or ranger.

    Yep, seen lots of anti-nano sentiment over the years.

    Personally I ignored it all. Been happily using Nano for over 20 years and before that I used Pico.

    (yes, I can use vim if I have to)
    --- SBBSecho 3.20-Linux
    * Origin: Mortal BBS - mortalbbs.com - Blue Mountains, AU (1337:2/108)

    What's your opinion of ed?

    candycane

    ===
    user is generated from /dev/urandom

    ...There is no greater loan than a sympathetic ear.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From esc@1337:3/169 to paulie420 on Sat Aug 5 02:36:37 2023
    I'm jumping off - starting Saturday, NANO will be UNINSTALLED on all my machines!! I'm prequisitioning with 'vimtutor' and even that teaches a whole lot - I already feel like I can do this...

    I applaud you :)

    I'm a nano acolyte simply because I've never invested the time to learn vim properly. Let me know if you think it actually increases your productivity, or if you just find it to be fun, and whether or not you think it's worth me giving a shot.

    Good luck!

    --- Mystic BBS v1.12 A49 2023/02/26 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (1337:3/169)
  • From deon@1337:2/101 to paulie420 on Sun Aug 6 09:14:59 2023
    Re: 2wk vim challenge
    By: paulie420 to All on Thu Aug 03 2023 08:37 pm

    Wish I'd of known about vimtutor earlier - you just gotta teach a gent to fish. :P Wish me well, I think I can handle it.

    vimtutor?

    Good luck :)


    ...δεσ∩
    --- SBBSecho 3.20-Linux
    * Origin: I'm playing with ANSI+videotex - wanna play too? (1337:2/101)
  • From paulie420@1337:3/129 to esc on Sat Aug 5 20:58:39 2023
    I'm jumping off - starting Saturday, NANO will be UNINSTALLED on all machines!! I'm prequisitioning with 'vimtutor' and even that teaches whole lot - I already feel like I can do this...

    I applaud you :)

    I'm a nano acolyte simply because I've never invested the time to learn vim properly. Let me know if you think it actually increases your productivity, or if you just find it to be fun, and whether or not you think it's worth me giving a shot.

    I'm already liking it - I've been doing a couple lfs installs, too - so I've REALLY had to use vim os far. :P

    Do I know how to zip around the text document super fast yet? No - but what I do see is that IF you know how to zip around a file, even if 10,000 lines long, the tools in vim to doso are *infinitely* better - I guess thats what this is about... I'm gonna learn the things as these weeks go.

    TBH, I don't think I'll go back - and I'm only 12 hours in... one suggestion I have for all 'nano die hards' is run a program that I didn't know existed; 'vimtutor' - its in every vim install and shows you the ropes with the quickness.

    check it out...



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From candycane@1337:3/150 to paulie420 on Sun Aug 6 02:21:23 2023
    Re: Re: 2wk vim challenge
    By: paulie420 to esc on Sat Aug 05 2023 08:58 pm

    I'm jumping off - starting Saturday, NANO will be UNINSTALLED on all pa>> machines!! I'm prequisitioning with 'vimtutor' and even that teaches pa>> whole lot - I already feel like I can do this...

    I applaud you :)

    I'm a nano acolyte simply because I've never invested the time to learn
    vim properly. Let me know if you think it actually increases your
    productivity, or if you just find it to be fun, and whether or not you
    think it's worth me giving a shot.

    I'm already liking it - I've been doing a couple lfs installs, too - so I've REALLY had to use vim os far. :P

    Do I know how to zip around the text document super fast yet? No - but what I do see is that IF you know how to zip around a file, even if 10,000 lines long, the tools in vim to doso are *infinitely* better - I guess thats what this
    is about... I'm gonna learn the things as these weeks go.

    TBH, I don't think I'll go back - and I'm only 12 hours in... one suggestion I have for all 'nano die hards' is run a program that I didn't know existed; 'vimtutor' - its in every vim install and shows you the ropes with the
    quickness.

    check it out...



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)

    Yea, it's really hard until it clicks. Once it does everything else feels slow.

    candycane

    ===
    user is generated from /dev/urandom

    ...Blessed are the meek for they shall inherit the crap.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From paulie420@1337:3/129 to candycane on Sun Aug 6 00:14:34 2023
    Yea, it's really hard until it clicks. Once it does everything else
    feels slow.

    Lulz - I'm hating the moving lines right now... h,j,k,l - but i know I have my; operator, motion, command; or something like that. :P

    Ask me 4 days in... I'm sure I'll know a little bit m0re.

    Found a couple cheatsheets - theres just so much to learn.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From 0zZ-U@1337:3/106 to paulie420 on Sun Aug 6 10:49:38 2023
    y0,
    Here's a tip that I did for a while when using and learning VIM.
    I was so used to typing 'nano' instead of 'vim' that i simply made
    a BASH alias. Just edit or make this file '.bash_aliases' in your
    home directory and add this line 'alias nano="vim"'
    after a while of course you get used to not type 'nano'


    .:[ Exit stage left ]:.

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: The Bottomless Abyss BBS * bbs.bottomlessabyss.net (1337:3/106)
  • From candycane@1337:3/150 to paulie420 on Sun Aug 6 14:34:30 2023
    Re: Re: 2wk vim challenge
    By: paulie420 to candycane on Sun Aug 06 2023 12:14 am

    Yea, it's really hard until it clicks. Once it does everything else
    feels slow.

    Lulz - I'm hating the moving lines right now... h,j,k,l - but i know I have my; operator, motion, command; or something like that. :P

    Ask me 4 days in... I'm sure I'll know a little bit m0re.

    Found a couple cheatsheets - theres just so much to learn.



    |07p|15AULIE|1142|07o
    |08.........

    Good luck!!

    candycane

    ===
    user is generated from /dev/urandom

    ...Some people wear Superman pajamas. Superman wears Chuck Norris pajamas.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From paulie420@1337:3/129 to 0zZ-U on Sun Aug 6 21:24:58 2023
    Here's a tip that I did for a while when using and learning VIM.
    I was so used to typing 'nano' instead of 'vim' that i simply made
    a BASH alias. Just edit or make this file '.bash_aliases' in your
    home directory and add this line 'alias nano="vim"'
    after a while of course you get used to not type 'nano'

    Lulz ; great minds think alike. :P

    I'm finding myself 'learning' new things as I *need* them - like, you can't just press left/right to move that cursor... so learn how not to.

    I'm gonna stick w/ vim - I'm sure after a while I'll be whizzing around... thats the ticket - Just do it.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From candycane@1337:3/150 to paulie420 on Mon Aug 7 02:13:00 2023
    Re: Re: 2wk vim challenge
    By: paulie420 to 0zZ-U on Sun Aug 06 2023 09:24 pm

    Here's a tip that I did for a while when using and learning VIM.
    I was so used to typing 'nano' instead of 'vim' that i simply made
    a BASH alias. Just edit or make this file '.bash_aliases' in your
    home directory and add this line 'alias nano="vim"'
    after a while of course you get used to not type 'nano'

    Lulz ; great minds think alike. :P

    I'm finding myself 'learning' new things as I *need* them - like, you can't just press left/right to move that cursor... so learn how not to.

    I'm gonna stick w/ vim - I'm sure after a while I'll be whizzing around... thats the ticket - Just do it.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)

    Wdym, you cant use arrow keys to move the cursor? You technically can (at least on my machine it works) but it's not reccomended in favor of hjkl movement.

    candycane

    ===
    user is generated from /dev/urandom

    ...All great discoveries are made by mistake.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From acn@1337:1/108.1 to candycane on Mon Aug 7 15:38:00 2023
    Am 05.08.23 schrieb candycane@1337:3/150 in TQW_LINUX:

    Hallo candycane,

    What's your opinion of ed?

    It's the standard editor. :)

    Regards,
    Anna

    --- OpenXP 5.0.57
    * Origin: Imzadi Box Point (1337:1/108.1)
  • From candycane@1337:3/150 to acn on Mon Aug 7 12:32:30 2023
    Re: Re: 2wk vim challenge
    By: acn to candycane on Mon Aug 07 2023 03:38 pm

    Am 05.08.23 schrieb candycane@1337:3/150 in TQW_LINUX:

    Hallo candycane,

    What's your opinion of ed?

    It's the standard editor. :)

    Regards,
    Anna

    --- OpenXP 5.0.57
    * Origin: Imzadi Box Point (1337:1/108.1)

    It's fun to use sometimes, especially when you set the baudrate low. Gives a real retro feeling.

    candycane

    ===
    user is generated from /dev/urandom

    ...Why is it a penny for your thoughts, but you have to put your two cents in? Someone is making a penny.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From paulie420@1337:3/129 to candycane on Mon Aug 7 23:08:02 2023
    I'm finding myself 'learning' new things as I *need* them - like, you can't just press left/right to move that cursor... so learn how not t

    Wdym, you cant use arrow keys to move the cursor? You technically can
    (at least on my machine it works) but it's not reccomended in favor of hjkl movement.

    Well - of course I can, but thats surely too slow for everyone in the world! I need to fly to the next page, middle of page, to the end of file - or the beginning, etc - all of which you can easily do - I just gotta learn those particular keybinds. :/ I'll get there.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From candycane@1337:3/150 to paulie420 on Tue Aug 8 04:08:40 2023
    Re: Re: 2wk vim challenge
    By: paulie420 to candycane on Mon Aug 07 2023 11:08 pm

    I'm finding myself 'learning' new things as I *need* them -
    like, you can't just press left/right to move that cursor... so
    learn how not t

    Wdym, you cant use arrow keys to move the cursor? You technically
    can (at least on my machine it works) but it's not reccomended in
    favor of hjkl movement.

    Well - of course I can, but thats surely too slow for everyone in the world! I need to fly to the next page, middle of page, to the end of file - or the beginning, etc - all of which you can easily do - I just gotta learn those particular keybinds. :/ I'll get there.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)

    Well to be fair I usually just use PgDown/Up if I want to go to the next page.

    candycane

    ===
    user is generated from /dev/urandom

    ...When in doubt, predict that the trend will continue.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From paulie420@1337:3/129 to candycane on Tue Aug 8 11:02:49 2023
    Well to be fair I usually just use PgDown/Up if I want to go to the next page.

    Thats on thing I cringe about laptops; the stupid funcation key for arrow 2nd functions. DERP; hate.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From candycane@1337:3/150 to paulie420 on Tue Aug 8 18:26:24 2023
    Re: Re: 2wk vim challenge
    By: paulie420 to candycane on Tue Aug 08 2023 11:02 am

    Thats on thing I cringe about laptops; the stupid funcation key for arrow 2nd functions. DERP; hate.

    The Fn key isn't that bad! (Though i've used laptops a lot so I'm more used to it I guess)

    candycane

    ===
    user is generated from /dev/urandom

    ...The word 'meaningful' when used today is nearly always meaningless.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From esc@1337:3/169 to paulie420 on Wed Aug 9 00:45:47 2023
    I *will* learn the ways.. I will install neovim, and other +vim
    packages. :P

    Nice. Let me know what you end up doing here. I'm a sucker for terminal config, tmux, vim, yada yada. Setting things up is half the fun for me :P

    Speaking of which, what do you use for your shell?

    I use zsh with oh-my-zsh and powerlevel10k. I don't have a ton of things enabled, just the basic stuff you can grab from the zsh-users github repo. It works super well for me and has for a long time. I may actually write a script and throw it up as a github gist for automating this process for when I create VMs and stuff.

    --- Mystic BBS v1.12 A49 2023/02/26 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (1337:3/169)
  • From candycane@1337:3/150 to esc on Wed Aug 9 05:55:27 2023
    Re: Re: 2wk vim challenge
    By: esc to paulie420 on Wed Aug 09 2023 12:45 am

    Speaking of which, what do you use for your shell?

    I use zsh with oh-my-zsh and powerlevel10k. I don't have a ton of things enabled, just the basic stuff you can grab from the zsh-users github repo. It works super well for me and has for a long time. I may actually write a script and throw it up as a github gist for automating this process for when I create VMs and stuff.

    Tbh, I just use bash. Tho I do have a super customized prompt that even has a working "last process runtime" clock :)

    candycane

    ===
    user is generated from /dev/urandom

    ...Free are those who dream dreams.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From MeaTLoTioN@1337:1/101 to esc on Wed Aug 9 11:27:27 2023
    On 09 Aug 2023, esc said the following...

    Ha! Separately, as someone that plays almost strictly vintage games, I can't get into the new keyboards that lack a numpad! I have one for my 'minimal' laptop but my powerhouse laptop has a full keyboard.

    I'm with you there, I hate the ten keyless keyboards, gimme a full keyboard any day =)

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N // @meatlotion:erb.pw

    |07── |08[|10eml|08] |15ml@erb.pw |07── |08[|10web|08] |15www.erb.pw |07───┐ |07── |08[|09fsx|08] |1521:1/158 |07── |08[|11tqw|08] |151337:1/101 |07┬──┘ |07── |08[|12rtn|08] |1580:774/81 |07─┬ |08[|14fdn|08] |152:250/5 |07───┘
    |07── |08[|10ark|08] |1510:104/2 |07─┘

    ... A truly wise man never argues with a Unicorn

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)
  • From paulie420@1337:3/129 to esc on Wed Aug 9 19:08:36 2023
    I *will* learn the ways.. I will install neovim, and other +vim packages. :P

    Nice. Let me know what you end up doing here. I'm a sucker for terminal config, tmux, vim, yada yada. Setting things up is half the fun for me :P

    kk - I'm sticking to just vim right now; BTW, I just heard Brom passed away recently; the dev of vim... two chaps still thinking about taking it over, Christian and someone else... but n(eo)vim might be worth taking a l00k at. :/

    Speaking of which, what do you use for your shell?

    I mainly use bash - I use zsh on my Apple machines and actually on my frame.work CURRENTLY, but it's not 100% POSIX so I try to stay off it.

    I use zsh with oh-my-zsh and powerlevel10k. I don't have a ton of things

    Yea; I like both of those and use on my Apple stuff... the auto-completion and suggestions are really nice. Also that its not so case sensitive *can* be nice, but again - I like to stay POSIX 'compatible' in everything I do.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From candycane@1337:3/150 to paulie420 on Thu Aug 10 09:33:55 2023
    Re: Re: 2wk vim challenge
    By: paulie420 to esc on Wed Aug 09 2023 07:08 pm

    kk - I'm sticking to just vim right now; BTW, I just heard Brom passed away recently; the dev of vim... two chaps still thinking about taking it

    RIP Brom..

    Yea; I like both of those and use on my Apple stuff... the auto-completion and suggestions are really nice. Also that its not so case sensitive *can* be nice, but again - I like to stay POSIX 'compatible' in everything I do.

    Well, good luck. I'm not super good at staying POSIX most of the time honestly.

    candycane

    ===
    user is generated from /dev/urandom

    ...Morality is the attitude we adopt to people whom we personally dislike.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From candycane@1337:3/150 to paulie420 on Thu Aug 10 09:35:21 2023
    Re: Re: 2wk vim challenge
    By: paulie420 to esc on Wed Aug 09 2023 07:14 pm

    Thats what I mean - A Thinkpad is about as new as I like to go, and the frame.work is just horrible. Meh

    Well, I have 3 thinkpads (t410, t430 and the t580 I'm on rn) but I've been thinking about maybe getting a framework laptop.

    candycane

    ===
    user is generated from /dev/urandom

    ...Liberty means responsibility. That is why most men dread it.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From paulie420@1337:3/129 to esc on Thu Aug 10 19:48:39 2023
    Yeah I started using zsh on my Macs and was hooked. I'm not too bothered with the 100% POSIX stuff...it hasn't turned into any problems for me.

    For example, I use 'scp' a lot for moving files around...

    scp user@remote.com:~/subdir/filename.ext .

    In zsh you have to do something like;
    scp user@remote.com:"~/subdir/filename.ext" .

    So it breaks some of my scripts and whatnot ... no biggy; I like how it looks but don't put it on a lot of machines.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From candycane@1337:3/150 to paulie420 on Fri Aug 11 09:18:05 2023
    Re: Re: 2wk vim challenge
    By: paulie420 to esc on Thu Aug 10 2023 07:51 pm

    I think it was growing pains - and MOST USERS don't experience the mic issue... but the USB issue *IS* widespread. Again, I think they're getting better as the batches keep coming out..

    So, wait for it to get better basically?

    candycane

    ===
    user is generated from /dev/urandom

    ...In matters of conscience, the law of majority has no place.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From esc@1337:3/169 to paulie420 on Fri Aug 11 15:50:47 2023
    In zsh you have to do something like;
    scp user@remote.com:"~/subdir/filename.ext" .

    Really? I've never run into issues. Is that with scp on the remote host or the one you're entering the scp command into?

    --- Mystic BBS v1.12 A49 2023/02/26 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (1337:3/169)
  • From paulie420@1337:3/129 to esc on Fri Aug 11 20:37:58 2023
    In zsh you have to do something like;
    scp user@remote.com:"~/subdir/filename.ext" .

    Really? I've never run into issues. Is that with scp on the remote host
    or the one you're entering the scp command into?


    Thats on my iMac - I *thought* it was a zsh thing... maybe I'm misinformed. :?



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From esc@1337:3/169 to paulie420 on Sat Aug 12 01:44:50 2023
    Thats on my iMac - I *thought* it was a zsh thing... maybe I'm misinformed. :?

    Or I'm not remembering things right. *shrug*

    --- Mystic BBS v1.12 A49 2023/02/26 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (1337:3/169)
  • From Nelgin@1:124/5016 to paulie420 on Thu Aug 17 20:51:29 2023
    Re: 2wk vim challenge
    By: paulie420 to All on Thu Aug 03 2023 20:37:20

    I'm jumping off - starting Saturday, NANO will be UNINSTALLED on all my machines!! I'm prequisitioning with 'vimtutor' and even that teaches a whole lot - I already feel like I can do this...

    Wish I'd of known about vimtutor earlier - you just gotta teach a gent to fish.

    Vim is a simple too to use for basic editing as long as you get the basics for insert characters and lines, deleting...and then it can accomplish extremely complicated tasks if you either take the time to learn, or take the time to Google what you want to accomplish.
    --- SBBSecho 3.20-Linux
    * Origin: End Of The Line BBS - endofthelinebbs.com (1:124/5016)
  • From candycane@1337:3/150 to Nelgin on Thu Aug 17 22:13:50 2023
    Re: 2wk vim challenge
    By: Nelgin to paulie420 on Thu Aug 17 2023 08:51 pm

    Vim is a simple too to use for basic editing as long as you get the basics for insert characters and lines, deleting...and then it can accomplish extremely complicated tasks if you either take the time to learn, or take

    Yea! I only know a few commands off hand

    hjkl - movement by cursor
    wbe - movement by words
    xd - deleting
    cs - del/replace
    yp - copy/paste
    <num>g - jump to line
    G - jump to end

    candycane

    ===
    user is generated from /dev/urandom

    ...For my birthday I got a humidifier and a de-humidifier... I put them in the same room and let them fight it out.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From NerdTower@1337:3/182 to candycane on Thu Aug 17 20:22:49 2023
    dG = Delete from this line to the end
    d$ = Delete from where the cursor is to the end of the line
    de = Delete to the end of the word

    Those are the ones I use commonly.. Love vi!

    Jim

    ... I know a good tagline when I steal one!

    --- Mystic BBS v1.12 A48 (Windows/64)
    * Origin: CCX BBS | Wilton, California (1337:3/182)
  • From Nelgin@1:124/5016 to candycane on Thu Aug 17 22:58:20 2023
    Re: 2wk vim challenge
    By: candycane to Nelgin on Thu Aug 17 2023 22:13:50

    Yea! I only know a few commands off hand

    Most of those you can prefix with a number for example

    9dd will delete 9 lines

    10l will move the cursor left 10 spaces.

    80i.<ESCAPE> will insert 80 dots. This is really useful if you have a wide terminal but want to make something that's 80 columns.

    If you want to insert hex characters or escape sequences

    CTRL-V CTRL-whatever. For example ^V^A will insert a CTRL-A (ascii 1) into your file. CTRL Vx followed by two hex characters will insert that hex value.

    Example ^vx80 will insert <88> to indicate the hex value. This is useful when using the ansi control commands to move the cursor forward without having to enter spaces.

    For search and replace

    :%s/this/that/g will replace eveything in the file. Use ^ to match the start of line so

    :%s/^abc/def/g will replace all entries on all lines that start with abc with def.

    You can use $ to match end of line :%s/the end$/almost the end, and some more/g

    :g/ can be used in a similar manner.

    You can use :set hlsearch or :set nohlsearch so when you use / to search, it'll highlight any matches or not.

    One last time, if you are using a dark background terminal and can't see blue on black, try :set bg=dark and it'll change the colors to make them easier to see.

    To make some of these permanent, you can create a .vimrc file in your home directory with a list of comamnds like

    set hlsearch
    set bg=dark

    and they'll be loaded by default.

    Hmm what else can I tell you

    vi file +nn where nn is a line number, it'll take you right to that line.

    Syntex error in line 746
    vi file +746


    You can use :nn to jump to a line number so :65 will take you to line 65.

    You can write part of a file to a new file. for example

    :5-10w newfile

    or :w.+50 extract.txt will go from the current line (.) and write the next 50 to a new file.

    :0 or :$ take you to the top or bottom of the file.

    Yes, I've been using vi since 1988 and I still have a ton to learn myself!!

    let me know if you want me to post more stuff, I'd be happy to do so.
    --- SBBSecho 3.20-Linux
    * Origin: End Of The Line BBS - endofthelinebbs.com (1:124/5016)
  • From NerdTower@1337:3/182 to Nelgin on Fri Aug 18 11:27:04 2023
    let me know if you want me to post more stuff, I'd be happy to do so.
    --- SBBSecho 3.20-Linux
    * Origin: End Of The Line BBS - endofthelinebbs.com (1:124/5016)

    YES! I would love to see more stuff!

    Jim

    ... As I said before, I never repeat myself

    --- Mystic BBS v1.12 A48 (Windows/64)
    * Origin: CCX BBS | Wilton, California (1337:3/182)
  • From Nelgin@1:124/5016 to NerdTower on Fri Aug 18 13:42:45 2023
    Re: Re: 2wk vim challenge
    By: NerdTower to Nelgin on Fri Aug 18 2023 11:27:04

    YES! I would love to see more stuff!

    OK, let me think of a few more I use

    r will overwrite one character
    R will overwrite until you escape.

    In normal mode (not insert) ~ will change case from upper to lower or vice versa of the character under the cursor. Of course, 15~ will change the next 15 characters.

    :set number
    :set nonumber

    will turn line numbers on and off (they're not saved to a file if turned on saved)

    ZZ is a quick way to save a file, rather than having to do :w!

    :r filename
    will read in a file and add it to the file you're editing

    :! command
    Will run a shell command.

    Combine the two

    :r !ls

    Will add the output of ls into your file.

    yy will yank a line and p or P will paste it.
    15yy will, of course, yank 15 lines.

    Last one for now, let's record a macro.

    q<letter from a-z>
    a list of commands
    <escape q> to stop recording. For example

    qaiThis is a test<escape>q

    This will record a macro on key a and insert the text. Now execute the macro with @a then use @@ to repeat it.

    So any time you want to insert This is a test into your file, just use @a

    Your macro should be saved automatically.
    --- SBBSecho 3.20-Linux
    * Origin: End Of The Line BBS - endofthelinebbs.com (1:124/5016)
  • From candycane@1337:3/150 to NerdTower on Fri Aug 18 20:36:05 2023
    Re: Re: 2wk vim challenge
    By: NerdTower to candycane on Thu Aug 17 2023 08:22 pm

    dG = Delete from this line to the end
    d$ = Delete from where the cursor is to the end of the line
    de = Delete to the end of the word

    Those are the ones I use commonly.. Love vi!

    Yea! Super handy.

    candycane

    ===
    user is generated from /dev/urandom

    ...My other computer is a 486.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From candycane@1337:3/150 to Nelgin on Fri Aug 18 20:42:16 2023
    Re: 2wk vim challenge
    By: Nelgin to candycane on Thu Aug 17 2023 10:58 pm

    Most of those you can prefix with a number for example

    Yea I knew

    80i.<ESCAPE> will insert 80 dots. This is really useful if you have a wide terminal but want to make something that's 80 columns.

    Pretty neat

    CTRL-V CTRL-whatever. For example ^V^A will insert a CTRL-A (ascii 1) into your file. CTRL Vx followed by two hex characters will insert that hex value.

    Found that out by accident :)

    :%s/this/that/g will replace eveything in the file. Use ^ to match the start of line so

    :%s/^abc/def/g will replace all entries on all lines that start with abc with def.

    Knew that, simple ed carryover

    You can use :set hlsearch or :set nohlsearch so when you use / to search, it'll highlight any matches or not.

    One last time, if you are using a dark background terminal and can't see blue on black, try :set bg=dark and it'll change the colors to make them easier to see.

    Pretty neat switches!

    To make some of these permanent, you can create a .vimrc file in your home directory with a list of comamnds like

    Been too lazy to :D

    vi file +nn where nn is a line number, it'll take you right to that line. You can use :nn to jump to a line number so :65 will take you to line 65. :5-10w newfile

    So cool!

    candycane

    ===
    user is generated from /dev/urandom

    ...The government solution to a problem is usually as bad as the problem.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From esc@1337:3/169 to NerdTower on Sat Aug 19 00:39:19 2023
    let me know if you want me to post more stuff, I'd be happy to do so.

    YES! I would love to see more stuff!

    This is all great. Honestly, if you (or osmeone) would be willing to tally all these tricks up into a github gist or cheatsheet or something I'd be eternally grateful, as I've been reading this on my iPad and haven't taken any notes :P

    --- Mystic BBS v1.12 A49 2023/02/26 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (1337:3/169)
  • From Nelgin@1:124/5016 to esc on Sat Aug 19 04:55:19 2023
    Re: Re: 2wk vim challenge
    By: esc to NerdTower on Sat Aug 19 2023 00:39:19

    This is all great. Honestly, if you (or osmeone) would be willing to tally all these tricks up into a github gist or cheatsheet or something I'd be eternally grateful, as I've been reading this on my iPad and haven't taken any notes :P

    You touch it, you own it. I look forward to reviewing your work :)

    I'm sure there's plenty of tips out there already available on the web and via git.
    --- SBBSecho 3.20-Linux
    * Origin: End Of The Line BBS - endofthelinebbs.com (1:124/5016)
  • From paulie420@1337:3/129 to esc on Sat Aug 19 18:55:51 2023
    let me know if you want me to post more stuff, I'd be happy to d

    YES! I would love to see more stuff!

    This is all great. Honestly, if you (or osmeone) would be willing to
    tally all these tricks up into a github gist or cheatsheet or something I'd be eternally grateful, as I've been reading this on my iPad and haven't taken any notes :P

    There are several vim cheatsheets already out there; some better than others - here are a couple;

    https://phoenixnap.com/kb/vim-commands-cheat-sheet <-- *
    http://vimsheet.com

    I like that first one; if you scroll down you can grab the .pdf where it all looks nice on one page. I've added a keybind to pop-up that .pdf full-screen
    - when I press it again it disappears... this way I just Ctrl-H for it to come up and again to go away... easy peasy.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From esc@1337:3/169 to paulie420 on Sat Aug 19 21:24:56 2023
    There are several vim cheatsheets already out there; some better than others - here are a couple;

    Thanks!

    --- Mystic BBS v1.12 A49 2023/02/26 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (1337:3/169)
  • From MeaTLoTioN@1337:1/101 to paulie420 on Sun Aug 20 20:36:35 2023
    On 19 Aug 2023, paulie420 said the following...

    There are several vim cheatsheets already out there; some better than others - here are a couple;

    https://phoenixnap.com/kb/vim-commands-cheat-sheet <-- * http://vimsheet.com

    I started to make one;
    https://github.com/christiansacks/vim-cheat-sheet

    But I haven't done anything with it since 2021 lol, I had planned on making a several part "learn vim" type course but forgot after making this lol.

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N // @meatlotion:erb.pw

    |07── |08[|10eml|08] |15ml@erb.pw |07── |08[|10web|08] |15www.erb.pw |07───┐ |07── |08[|09fsx|08] |1521:1/158 |07── |08[|11tqw|08] |151337:1/101 |07┬──┘ |07── |08[|12rtn|08] |1580:774/81 |07─┬ |08[|14fdn|08] |152:250/5 |07───┘
    |07── |08[|10ark|08] |1510:104/2 |07─┘

    ... What hair color do they put on the driver's licenses of bald men?

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)
  • From Nelgin@1:124/5016 to paulie420 on Sun Aug 20 18:26:43 2023
    Re: Re: 2wk vim challenge
    By: paulie420 to MeaTLoTioN on Sun Aug 20 2023 14:09:32

    :1d
    (deletes line 1...)

    Yup, you can also do something like :1,4 which will delete lines 1 to 4.

    . represents the current line so yo can do something like

    :-2,.d which will delete from 2 lines above to the current line.


    D will delete from the cursor to the end of line

    You know how you can use the cursor to move down through a page, well you can use CTRL-E and CTRL-Y to a large file up and down keeping the cursor in place until it reached the top or bottom then the file keeps scrolling. Hard to explain, but useful if you want to look for something while scrolling.

    You may know that o opens a new line for input below the cursor but did you know that O opens a line above the cursor?
    --- SBBSecho 3.20-Linux
    * Origin: End Of The Line BBS - endofthelinebbs.com (1:124/5016)
  • From deon@1337:2/101 to paulie420 on Mon Aug 21 21:40:34 2023
    Re: Re: 2wk vim challenge
    By: paulie420 to esc on Sat Aug 19 2023 06:55 pm

    There are several vim cheatsheets already out there; some better than others - here are a couple;

    So, I jus wanted to let you know that I'm glad you started this thread, and I'm following it with great interest.

    I am a vi fan, and I know I only use 5% (if that much), and I've already learnt a few things from this thread.

    I havent seen it yet, so I thought I'd add my tip, many of the commands can be used with the position reference keys - where . "is the current spot", "$" is the end of (something).

    So I often use ".,$s/.../.../" to substitute everything from the currently line to the end of the file. (Or "1,." to substitute everything from line one to here).... - and you can add ^ in the regex to substitute the beginning of the line, or $ substitute the end of the line...

    :$ also takes you to the end of the file.. (where :1 takes you to the top).

    I also use "H", "M", "L" a lot, to position the cursor at the top, middle, bottom of the screen respectively.

    :)



    ...δεσ∩
    --- SBBSecho 3.20-Linux
    * Origin: I'm playing with ANSI+videotex - wanna play too? (1337:2/101)
  • From MeaTLoTioN@1337:1/101 to deon on Mon Aug 21 13:17:00 2023
    On 21 Aug 2023, deon said the following...

    I havent seen it yet, so I thought I'd add my tip, many of the commands can be used with the position reference keys - where . "is the current spot", "$" is the end of (something).

    while talking about the . if you do any function in vi/vim and you want to repeat it, say you `dd` a line, and then decide you want to dd the next line, just press . and it will repeat the last thing you did. I use that an awful lot.

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N // @meatlotion:erb.pw

    |07── |08[|10eml|08] |15ml@erb.pw |07── |08[|10web|08] |15www.erb.pw |07───┐ |07── |08[|09fsx|08] |1521:1/158 |07── |08[|11tqw|08] |151337:1/101 |07┬──┘ |07── |08[|12rtn|08] |1580:774/81 |07─┬ |08[|14fdn|08] |152:250/5 |07───┘
    |07── |08[|10ark|08] |1510:104/2 |07─┘

    ... We all live in a yellow subroutine...

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)
  • From candycane@1337:3/150 to deon on Mon Aug 21 09:06:08 2023
    Re: Re: 2wk vim challenge
    By: deon to paulie420 on Mon Aug 21 2023 09:40 pm

    :$ also takes you to the end of the file.. (where :1 takes you to the top).

    Wait what? I always use gg and G to jump to end/beginning.

    candycane

    ===
    user is generated from /dev/urandom

    ...Variables won`t; constants aren`t.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From Nelgin@1:124/5016 to paulie420 on Thu Aug 31 10:16:02 2023
    Re: Re: 2wk vim challenge
    By: paulie420 to Nelgin on Mon Aug 21 2023 21:49:48

    :-2,.d which will delete from 2 lines above to the current line.
    D will delete from the cursor to the end of line

    Isn't
    :4d

    No, that will delete only line 4.
    --- SBBSecho 3.20-Linux
    * Origin: End Of The Line BBS - endofthelinebbs.com (1:124/5016)
  • From paulie420@1337:3/129 to Nelgin on Thu Aug 31 18:34:48 2023
    Isn't
    :4d

    No, that will delete only line 4.

    Much m0re to learn. :P



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)