vi, emacs, or nano?
Text editors
Other urls found in this thread:
I use vim. Usually vi or vim is installed on the majority of UNIX-like OSes because it's a part of POSIX.
Unless you code 24/7 the time wasted learning vim/emacs will never make them more efficient than using self explanatory nano/sublime/atom/notepad++
maybe this pic would be accurate if the vim knife was a switch blade with a bicycle lock just to open it.
nano has a very low barrier to entry. all you have to really learn that's unintuitive is that '^' is CTRL and 'M' is escape. CTRL X to quit, CTRL O to save, and everything else works just like every other text box everywhere
Exactly my point from
>i learned how to write hello world in python
>i am now an expert at all things programming
>i'm gonna make a shitty webcomic with entry level bikeshed-tier coder humor in the most unironic way possible
psychopath, reporting in
post your home address
Juan BringItMcScubs
co: Mexican Drug Cartel HQ
458 Decapitated Body Lane Apt 6
Juarez Mexico
Yell out "construir el muro" when you get here.
Just come to white house and ask for Mr. Trump
As a vim user and semi-fanatic, I once again do not recommend anyone use vim for anything important. Yes it's POSIX compliant (well vi is) so it will be on everything; its probably a good idea to learn basic text manipulation with it.
Don't use vim. Nano, ee, anything else is better. I am a 350 lb neckbeard that works graveyard at a datacenter, and I use vim. Do not follow my path.
ee, nano, etc.
I personally don't like emacs b/c I am 6'7" and have huge hands and it hurts my wrists to use macros.
So in conclusion: learn the very basics of vim and only use it when absolutely necessary. Take it from someone who uses vim exclusively for everything.
vi because it's posix
>only use it when absolutely necessary
But why?
>the time wasted learning vim
But Vimtutor takes like 15 minutes and is enough for the basics.
>tfw you learn how to use the power of :s[ubstitute] with u[ndo]
It's like sed, but safer and builtin.
Because it's clunky. It's really not the most effective way to edit text / files if you have access to nano, which functions like a normal text editor. I mean it was invented before arrow keys were invented man, it's old and dorky.
If you can use ee or nano, that's the easier path. that said, again, yuo should learn at least some vi since it is POSIX and will, no matter what, be on a *nix system.
Vim.
I don't understand the point of nano where there is cat
Do not fall into the trap of vim. Yeah its cool once you get used to it and you get a feeling of smug satisfaction in using it since it's counter-intuitive in the modern age. But then you turn into me: a fat guy working at a datacenter who lives in a filthy apartmeny with a cat and drinks too much beer.
It's not worth it. Literally the very basics are all you need: insert mode, append, etc. And to learn that hjkl is the arrow keys in older versions of vi.
Is this pasta?
No. This is wise advice I'd recommend you take hehe
Emacs for getting shit done and mg for quick edits
I use nano. I know what I'm doing and score 26 on the PCL-R.
Eight gigabytes and constantly swapping
nano vs cat
wat
I don't understand what's up with all the nano hate.
Nano is like a basic notepad.
Nothing wrong with using a basic notepad for basic stuff.
what's wrong?
cat >newfile.txt
Witnessed first off.
Second, yeah you can cat/echo shit into a file, sure, but this is about text editors, not just blasting/appending lines into a file.
You can't effectively edit with cat like you're suggesting.
dumb comic. I use nano all the time for very simple editing and scripting, it shouldn't even be in the same category
You can't effectively edit with nano either. Either choose Vim or Emacs
>15 minutes
>only the basics
I took me less than 15 minutes to read the entire manpage for nano and modify my config in a way that I like.
Personally though, I use ed because I like how it feels to use.
I don't kill fellow psychopaths
>I can't effectively edit with nano either.
ftfy
Changing one thing, like a configuration and knowing what line it's on, it's easy to nano +line# /path/to/file and just fucking edit it quickly.
Some people. Cutting their nose off to spite their face.
Ubuntu newbie here. I wanted to learn vim and I installed neovim (I know vi and vim are present by default).
You need to configure a fucking clipboard before you can copy/paste from the fucking thing? WTF?!
>I wanted to learn math so I bought and advanced trigonometry textbook
>it's easy to nano +line# /path/to/file and just fucking edit it quickly.
I can do the same with cat
Come on man. From what I've read, vim and nvim aren't different operationally. It's not like I installed vim and then complained that the emacs shortcuts don't work.
>You need to configure a fucking clipboard before you can copy/paste from the fucking thing? WTF?!
What do you mean?
Cat's not really a text editor though, I can also do the same with cat.
Pic related is what I mean.
Anyone have a good tutorial for learning ed?
>Pic related is what I mean.
kys fag
If you don't understand the hate you're retarded
I'm not a homosexual and I resent you calling me one. My screenshot provides ample proof that your "works for me" response is clearly useless for someone in my predicament.
So why don't you kYS, good sir?
I bet you don't even know middle click pastes from clipboard
vi/m when not using IDE. notepad/gedit/"open,edit,save,andout, editor" for quick graphical edits
>not skipping to focusing on learning the programming language
>not skipping to learn a framework
>not finding code on google and copy/pasta from tuts and changing minor things
>not finding the program that someone else probably already built or is working on
>not shitposting on this glorious day
*sophisticated tip of fedora*
spacemacs
>working at a datacenter who lives in a filthy apartmeny with a cat
Sounds good desu
People have been using vim for twenty years.
It has no clipboard support by default, can't use the mouse by default, can't use backspace by default,
yet programmers still choose to use it in great numbers.
The reason Vim is still popular even though it's so quirky is because it's so good.
>It has no clipboard support by default,
Can your meme terminal not copy/paste things?
EGACS
Omw BB
Gedit, because it's simple and pre-installed and does everything I need it to
Kate
Might as well use MS-Word you unworthy subhumans
Try pasting something long into vim when not in paste mode and without clipboard support.
Clearly you're inexperienced.
I don't know why people perceive vim as this do-one-thing-do-it-well tool. It has a shitton of bloat.
encryption
spellcheck
compression
two scripting languages (edit commands + macros are turing complete)
file-browser
diffing
window management
opening of remote files
vimgrep
none of which are done with external tools.
ms word doens't export to most doc-types
you should be able to paste content from the clipboard with p. Aka vim's default register should sync with the system one.
put the following in your init.vim:
set clipboard^=unnamed " clipboard becomes the system clipboard
I find Nano more comfortable than the other text editors.
youtube.com
Depends on what you're doing really...
>Use Nano when you just need to do a small edit in the terminal to something like a config file
>Emacs if you want to do everything from editing text files to sending and receiving email in one application
>Vim if you want to do major editing of text files in the terminal and nothing else
atom, lol!
> put the following in your init.vim:
Thanks!