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
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)
Good luck Paulie! I tried VIM once and just couldn't stand it. Just
for my own curiosity why anti Nano?
Anti-nano sentiments are very common in linux circles from my experience. It's seen as a noob software like Ubuntu or ranger.
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)
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.
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 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.
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.........
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'
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)
What's your opinion of ed?
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)
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.
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.
Thats on thing I cringe about laptops; the stupid funcation key for arrow 2nd functions. DERP; hate.
I *will* learn the ways.. I will install neovim, and other +vim
packages. :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.
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 *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
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
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.
Thats what I mean - A Thinkpad is about as new as I like to go, and the frame.work is just horrible. Meh
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.
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..
In zsh you have to do something like;
scp user@remote.com:"~/subdir/filename.ext" .
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. :?
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
Yea! I only know a few commands off hand
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!
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!
Most of those you can prefix with a number for example
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.
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.
:%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 :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
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
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
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;
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
:1d
(deletes line 1...)
There are several vim cheatsheets already out there; some better than others - here are a couple;
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).
:$ also takes you to the end of the file.. (where :1 takes you to the top).
:-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
Isn't
:4d
No, that will delete only line 4.
Sysop: | Shaun Ewing |
---|---|
Location: | Blue Mountains, Australia |
Users: | 197 |
Nodes: | 16 (0 / 16) |
Uptime: | 224:17:05 |
Calls: | 156 |
Files: | 187,819 |
Messages: | 331,240 |