5 ms·
:set nu / whatever you want to find [return] i *edit stuff and use arrow keys for nav* :wq Or :q to quit without saving That’s all the vim most peopl
by seanp2k2 4y ago
:set nu
/ whatever you want to find [return]
i
*edit stuff and use arrow keys for nav*
:wq
Or :q to quit without saving
That’s all the vim most people need.
The fact that less is installed on many more systems than nano is a testament to the bad assumptions too many devs make about who will be using these systems in the future. And yes, it’s not hard to "apt -y install nano" except at work where we have proxies and internal repos, so now I need to use vim to reconfigure apt sources just so I can use a more normal editor that doesn’t require arcane incantations to perform basic config file editing.
- mikojan 4y agoAbsolutely haram
- getcrunk 4y agoIs this an Andrew tate reference or just normal Muslim one?
- cheeko1234 4y agoNano and commandline is good enough. If apt is available, Micro is even better.
- AlchemistCamp 4y agoI don't find Nano very productive or very easy on my previously RSI-suffering hands and wrists. VIM is so much better for me along those two dimensions that it's not even much of a comparison.
- password4321 4y agoMy problem is I can't use the up/down arrows for nav while editing stuff, it just starts spewing control characters on new lines IIRC.
- Fuzzwah 4y agoThis is the reason why I like vim-nox
- wruza 4y agonow I need to use vim to reconfigure apt sources just so I can use a more normal editor Prepare and paste this into your terminal: echo "another line" | sudo tee -a /etc/apt/sources.list Sorry for your pain, but choosing hard ways is a person’s business.
- LoveMortuus 4y agoI believe the parent was trying to say that the default editor is the hard option, even though easier and intuitive solutions exist.
- taskforcegemini 4y agoor just "echo 'another line' >> /etc/apt/sources.list"
- wruza 4y agoYes, but only when logged in as root.
- taskforcegemini 4y agoof course, but redundant if you are root
- taskforcegemini 4y ago*sudo is redundant
- AlchemistCamp 4y agoThis is equivalent to saying hunting and pecking on a keyboard and using only their index fingers to type is "all the typing most people need". Technically, it's true, but it's also sacrificing a lot of productivity that could be gained from a relatively modest one-off investment in learning a skill. It's also derailing someone's Show HN with a very old and generic online argument.