• vim update... :/

    From paulie420@1337:3/129 to All on Fri Aug 18 21:04:39 2023
    So I wanted to update my 2week vim challenge;

    First, I'm never installing nano again. :P So thats a plus, right??? :P

    However, while I have the *VERY BASICS* down, I still haven't learned or retained how to really jump around the screen, use Vim's powerful features for deletion, replacing, jumping, etc...

    (Paulie rant coming up;) I delete a line w/ 'dd'. I put it back w/ 'p'... I go into Visual Mode 'v' to select several lines of text, 'dd' it and 'p' it back - but I know I'm using 1% of Vims featureset...

    I need to complete VIMTUTOR again; I need to find a better styled cheatsheet; I need to try and retain and USE more of the vim keybinds... I'm using it in a very basic way still.

    Thats OK tho, right??? I suppose I'll continue to learn - but need to remember to dive in and try to master a new 'thing' every couple days...

    At any rate, I'm a Vim user now. Thats not gonna change - week 2 was supposed to be trying neoVim/other Vim implementations... I think I'll install neoVim and try it - but I haven't switched my VSCode or other things over to Vim style just yet... I do like it - but I've a way to go.

    Vim forever - my suggestion for other users? Just use Vim - don't ever use Nano b/c its easier - I would have been a lot further up the road if I'd of just started w/ Vim from the beginning.... it r0cks.



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

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From Nelgin@1:124/5016 to paulie420 on Sat Aug 19 04:54:31 2023
    Re: vim update... :/
    By: paulie420 to All on Fri Aug 18 2023 21:04:39

    (Paulie rant coming up;) I delete a line w/ 'dd'. I put it back w/ 'p'... I go into Visual Mode 'v' to select several lines of text, 'dd' it and 'p' it back - but I know I'm using 1% of Vims featureset...

    If you know how many lines you want to move, you can do 5dd to delete and then move and p to paste.

    If you just wan to copy the lines you can use yy to yank, like 5yyp will duplicate the lines. You can also use P to paste before the cursor position.

    btw, if you dd by mistake, then u will undo. It'll undo several level of changes.

    Thats OK tho, right??? I suppose I'll continue to learn - but need to remember to dive in and try to master a new 'thing' every couple days...

    Keep using the knowledge you know, and then build on it so you don't overwhelm yourself. Make a cheat sheet. Even I can't remember everything without referring to my notes from time to time.

    At any rate, I'm a Vim user now. Thats not gonna change - week 2 was supposed to be trying neoVim/other Vim implementations... I think I'll

    Good thing about vim...it's on every linux box usually. Unless you get unlucky and they have vi instead, which is not as fully featured but still powerful.
    --- SBBSecho 3.20-Linux
    * Origin: End Of The Line BBS - endofthelinebbs.com (1:124/5016)
  • From candycane@1337:3/150 to paulie420 on Sat Aug 19 13:58:30 2023
    Re: vim update... :/
    By: paulie420 to All on Fri Aug 18 2023 09:04 pm

    cheatsheet; I need to try and retain and USE more of the vim keybinds... I'm using it in a very basic way still.

    Remember, try not to just memorize the binds.

    candycane

    ===
    user is generated from /dev/urandom

    ...The happiest time of anyone's life is just after the first divorce.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From candycane@1337:3/150 to Nelgin on Sat Aug 19 14:02:35 2023
    Re: vim update... :/
    By: Nelgin to paulie420 on Sat Aug 19 2023 04:54 am

    Good thing about vim...it's on every linux box usually. Unless you get unlucky and they have vi instead, which is not as fully featured but still powerful. --- SBBSecho 3.20-Linux

    Debian doesn't ship with it, I'm pretty sure.. But it could've just be a minimal install?

    candycane

    ===
    user is generated from /dev/urandom

    ...I look better on a woman!
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From Nelgin@1:124/5016 to candycane on Sat Aug 19 14:33:13 2023
    Re: Re: vim update... :/
    By: candycane to Nelgin on Sat Aug 19 2023 14:02:35

    Debian doesn't ship with it, I'm pretty sure.. But it could've just be a minimal install?

    I'm pretty sure it does come with the minimal version. I have vim, vim-common, vim-runtime and vim-tiny installed. Those do pretty much everything I need.
    --- 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 19:44:27 2023
    I never got into the vim vs nvim dogmatic debates but I'd be curious to get your thoughts...I suppose adding lua support to vim could be cool,
    but honestly I would prefer to keep it somewhat vanilla as a lot of the SRE shaped work that I do on cloud infra and things like that means I can't do any customization to the user environment, and I'd be stuck
    using completely vanilla vim anyway, so would rather have a streamlined mostly basic setup so I could avoid learning patterns and tools that I wouldn't be able to use for actual work purposes :P

    I install nvim - to a new user it looks exactly like vim... I created an alias and I'm gonna use it this next week - and check its GitHub to maybe find some useful differences...

    Ok, I'll start the challenge. Two weeks? Cool. Are you following any
    sort of guide or anything or were you just saying "I will only use vim
    for two weeks and see how it goes"?

    Thats rad!! I started by running thru Vim tutor 'vimtutor'. 1st week I was supposed to learn basic navigation and 'things' - but I just learned the BARE minimum... 2nd week I said I was gonna try nvim, which I am - but I thought I'd know more by now...

    The neat part, tho, is that I already know I'll never go back to nano - so this week I'm just gonna try to learn more of the commands... prolly do 'vimtutor' again... if you just jump in, it becomes a usable tool immediately - and I know that its super powerful if you do learn the things that I haven't yet. :P

    sudo apt remove nano
    pacman -R nano
    rhino-pkg uninstall nano
    :P



    |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 Nelgin on Sun Aug 20 01:19:01 2023
    Re: Re: vim update... :/
    By: Nelgin to candycane on Sat Aug 19 2023 02:33 pm

    I'm pretty sure it does come with the minimal version. I have vim, vim-common, vim-runtime and vim-tiny installed. Those do pretty much everything I need. --- SBBSecho 3.20-Linux

    Weird... I swear there's one I've used before that didn't come with vim.

    candycane

    ===
    user is generated from /dev/urandom

    ...A straw vote only shows which way the hot air blows.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From Nelgin@1:124/5016 to paulie420 on Sun Aug 20 02:35:11 2023
    Re: Re: vim update... :/
    By: paulie420 to Nelgin on Sat Aug 19 2023 19:46:22

    These are good ones, I 'know' that theres 3 modes; number, operator, command - so yea, I need to remember to use #dd instead - and I didn't know of 'u' - I was using dd-delete as yy-yank; I'll start getting there, thanks Nelgin.

    There's no real right or wrong way to stuff. It's a matter of preference and what works for you.

    Want to compare two files side by side?

    vi -O file1 file2

    You can use ^Wl and ^Wh to move to right and left pane. You can also use ^Wj and ^Wk for horizonatally split windows.

    To swap the panes ^Wr
    --- SBBSecho 3.20-Linux
    * Origin: End Of The Line BBS - endofthelinebbs.com (1:124/5016)
  • From esc@1337:3/169 to paulie420 on Sun Aug 20 11:07:42 2023
    Thats rad!! I started by running thru Vim tutor 'vimtutor'. 1st week I
    was supposed to learn basic navigation and 'things' - but I just learned the BARE minimum... 2nd week I said I was gonna try nvim, which I am -
    but I thought I'd know more by now...

    Ok, vimtutor it is. Did you try to run through it in one fell swoop or did you take it in sections? I've only done the first few exercises and then neglected finishing it so I have no idea how in depth it is :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 paulie420@1337:3/129 to Nelgin on Sun Aug 20 14:05:20 2023
    There's no real right or wrong way to stuff. It's a matter of preference and what works for you.

    Want to compare two files side by side?

    vi -O file1 file2

    See; thats another cool tool - I need to check all the flags vim/nvim have.

    One thing thats really been helpful is that keybind I mentioned that pops-up a cheatsheet fullscreen; I've been using it a lot lately.



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

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From paulie420@1337:3/129 to esc on Sun Aug 20 14:07:08 2023
    Ok, vimtutor it is. Did you try to run through it in one fell swoop or
    did you take it in sections? I've only done the first few exercises and then neglected finishing it so I have no idea how in depth it is :P

    I did it in sections - I also pulled up a second vim window to the right, so I could jump over and 'try' the things I was learning...

    One 'weird' thing, but I dunno if its my TWM or vim itself; if I have two vim windows open and pop back and forth between the two - sometimes vim's line numbers/char location gets messed up and I have to exit out of vim for it to reset - its annoying, but I think its my setup... anyone else seen that?



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

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From MeaTLoTioN@1337:1/101 to paulie420 on Sun Aug 20 22:11:05 2023
    On 20 Aug 2023, paulie420 said the following...

    vi -O file1 file2

    See; thats another cool tool - I need to check all the flags vim/nvim have.

    and it will open in the number of panes side by side for each file, if you wanna swap them to one above the other, just type;
    :ba

    =)

    ---
    |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─┘

    ... Reward for a job well done: More work

    --- 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 Nelgin on Sun Aug 20 17:28:32 2023
    Re: Re: vim update... :/
    By: Nelgin to paulie420 on Sun Aug 20 2023 02:35 am

    Want to compare two files side by side?

    vi -O file1 file2

    Wow!!

    candycane

    ===
    user is generated from /dev/urandom

    ...I'm famous. That's my job.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From esc@1337:3/169 to paulie420 on Mon Aug 21 01:43:06 2023
    I did it in sections - I also pulled up a second vim window to the
    right, so I could jump over and 'try' the things I was learning...

    Ah, that's clever. Think I'll do that.

    One 'weird' thing, but I dunno if its my TWM or vim itself; if I have
    two vim windows open and pop back and forth between the two - sometimes vim's line numbers/char location gets messed up and I have to exit out
    of vim for it to reset - its annoying, but I think its my setup...
    anyone else seen that?

    I use a stacking DE (KDE Plasma) and don't see this behavior. This is not an apples to apples comparison so take it for what it's worth :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 paulie420@1337:3/129 to MeaTLoTioN on Mon Aug 21 21:49:12 2023
    vi -O file1 file2

    See; thats another cool tool - I need to check all the flags vim/nvim have.

    and it will open in the number of panes side by side for each file, if
    you wanna swap them to one above the other, just type;
    :ba

    Jesus; it never ends... I think it'll be years before I get all this. :P



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

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From MeaTLoTioN@1337:1/101 to paulie420 on Tue Aug 22 07:59:58 2023
    On 21 Aug 2023, paulie420 said the following...

    Jesus; it never ends... I think it'll be years before I get all this. :P

    It won't take years, but definitely a good few months of solid use. You've only really been using it for a few weeks, you'll get there. Just use vim every day and eventually things will just click for you.

    You got this!

    ---
    |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─┘

    ... They say there's always one weirdo on the bus, but I couldn't find them!

    --- 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 paulie420 on Tue Aug 22 08:26:04 2023
    Re: Re: vim update... :/
    By: paulie420 to MeaTLoTioN on Mon Aug 21 2023 09:49 pm

    Jesus; it never ends... I think it'll be years before I get all this. :P

    Same, and I've already been using it for years.

    candycane

    ===
    user is generated from /dev/urandom

    ...Everywhere is within walking distance if you have the time.
    --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)
  • From candycane@1337:3/150 to paulie420 on Tue Aug 22 08:26:55 2023
    Re: Re: vim update... :/
    By: paulie420 to esc on Mon Aug 21 2023 09:50 pm

    Understood - I'm on hyprland, with a 'paulie420 setup' so... yea. :P

    Sounds pretty cool, can you send it?

    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 candycane on Tue Aug 22 19:49:06 2023
    Understood - I'm on hyprland, with a 'paulie420 setup' so... yea. :P

    Sounds pretty cool, can you send it?

    My config dotfiles are at github.com/paulie420/dotfiles... (sp?)

    I *did* start from the HyprV4 hyprland theme, which you might also like - but mine is [fairly] heavily modified... so my dotfiles will require some new software packages; check all the "exec-once" lines to see what I'm using.

    Or, as stated, just start with Hyprv4 too... its a great jump-off and I used the hyprland wiki and hyprland-awesome to find all the other helper applications to use.

    I love swaylock!!!

    https://github.com/soldoestech/hyprv4



    |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 Wed Aug 23 00:41:05 2023
    Re: Re: vim update... :/
    By: paulie420 to candycane on Tue Aug 22 2023 07:49 pm

    My config dotfiles are at github.com/paulie420/dotfiles... (sp?)

    Thanks, now I'll steal everything cool :D

    candycane

    ===
    user is generated from /dev/urandom

    ...Most women loathe limericks, for the same reason that calves hate cookbook --- SBBSecho 3.20-Win32
    * Origin: -=[conchaos.synchro.net | ConstructiveChaos BBS]=- (1337:3/150)