[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Text editors

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 61
Thread images: 6

File: texteditors.png (124KB, 1000x563px) Image search: [Google]
texteditors.png
124KB, 1000x563px
vi, emacs, or nano?
>>
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++
>>
>>58998846

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
>>
>>58998896
Exactly my point from >>58998884
>>
File: heh2.jpg (89KB, 900x900px) Image search: [Google]
heh2.jpg
89KB, 900x900px
>>58998846
>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
>>
>>58998846

psychopath, reporting in

post your home address
>>
>>58998943

Juan BringItMcScubs
co: Mexican Drug Cartel HQ
458 Decapitated Body Lane Apt 6
Juarez Mexico

Yell out "construir el muro" when you get here.
>>
>>58998943
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.
>>
>>58998846
vi because it's posix
>>
>>58999676
>only use it when absolutely necessary
But why?
>>
File: 1431118478376.jpg (968KB, 5054x3370px) Image search: [Google]
1431118478376.jpg
968KB, 5054x3370px
>>58998884
>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.
>>
>>58999701
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.
>>
>>58998846
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.
>>
>>58999676
>>58999740
Is this pasta?
>>
>>58999784
No. This is wise advice I'd recommend you take hehe
>>
Emacs for getting shit done and mg for quick edits
>>
>>58998846
I use nano. I know what I'm doing and score 26 on the PCL-R.
>>
Eight gigabytes and constantly swapping
>>
>>58999739

nano vs cat

wat
>>
>>58998846
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.
>>
>>58999843
what's wrong?

cat >newfile.txt
>>
>>58999900
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.
>>
>>58998846
dumb comic. I use nano all the time for very simple editing and scripting, it shouldn't even be in the same category
>>
>>58999925
You can't effectively edit with nano either. Either choose Vim or Emacs
>>
>>58999727
>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.
>>
>>58999107
I don't kill fellow psychopaths
>>
>>58999976
>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?!
>>
>>59000050
>I wanted to learn math so I bought and advanced trigonometry textbook
>>
>>59000037
>it's easy to nano +line# /path/to/file and just fucking edit it quickly.
I can do the same with cat
>>
>>59000069
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.
>>
File: Screencast_18-02-17_23:10:40.webm (981KB, 1920x1080px) Image search: [Google]
Screencast_18-02-17_23:10:40.webm
981KB, 1920x1080px
>>59000050
>You need to configure a fucking clipboard before you can copy/paste from the fucking thing? WTF?!
What do you mean?
>>
>>59000083
Cat's not really a text editor though, I can also do the same with cat.
>>
File: nvimNeedsAClipboard.png (23KB, 667x425px) Image search: [Google]
nvimNeedsAClipboard.png
23KB, 667x425px
>>59000140
Pic related is what I mean.
>>
Anyone have a good tutorial for learning ed?
>>
File: Screencast_18-02-17_23:40:05.webm (1MB, 1920x1080px) Image search: [Google]
Screencast_18-02-17_23:40:05.webm
1MB, 1920x1080px
>>59000379
>Pic related is what I mean.
kys fag
>>
>>58999886
If you don't understand the hate you're retarded
>>
>>59000410
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?
>>
>>59000481
I bet you don't even know middle click pastes from clipboard
>>
>>58998846
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
>>
>>59000481
*sophisticated tip of fedora*
>>
>>58998846
spacemacs
>>
>>58999740
>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.
>>
>>59000645
>It has no clipboard support by default,
Can your meme terminal not copy/paste things?
>>
>>58999814
EGACS
>>
>>58999004
Omw BB <3
>>
Gedit, because it's simple and pre-installed and does everything I need it to
>>
>>58998846
Kate
>>
>>59000784
>>59000793
Might as well use MS-Word you unworthy subhumans
>>
>>59000668
Try pasting something long into vim when not in paste mode and without clipboard support.

Clearly you're inexperienced.
>>
>>58998846
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.
>>
>>59000806
ms word doens't export to most doc-types
>>
>>59000410
you should be able to paste content from the clipboard with p. Aka vim's default register should sync with the system one.

>>59000050
put the following in your init.vim:
set clipboard^=unnamed " clipboard becomes the system clipboard
>>
>>58998846
I find Nano more comfortable than the other text editors.
https://www.youtube.com/watch?v=oeo1hiH8bB8
>>
>>58998846
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!
>>
>>59000860
> put the following in your init.vim:

Thanks!
Thread posts: 61
Thread images: 6


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.