[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
give me a good reason why you arent using emacs as your main editor
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 138
Thread images: 13
File: emacc.png (27 KB, 1366x768) Image search: [Google]
emacc.png
27 KB, 1366x768
give me a good reason why you arent using emacs as your main editor
>>
>>55071993
because i have Sublime Text
>>
>>55071998
>give me a good reason
>>
>He needs emacs to write that garbage
>>
>>55072009
>the good and best reason
>>
>>55071993
Emacs is a very good OS, shame it's missing a functional text editor.
>>
>>55071993
Vi
>>
fossil key bind.
>>
Why are you using uppercase for a function?
>>
File: emaccc.png (45 KB, 1366x768) Image search: [Google]
emaccc.png
45 KB, 1366x768
>>55072013
doesnt matter what is displayed :^)
>>
>>55072031
because I wanted to
>>
>>55072029
Why vi when vim?
>>
>>55072031
you can clearly see from the rest of the code that he simply can't program
>>
because i have mg
>>
>>55071993
I have wanted to try emacs for a while but from what I've seen it doesn't have tabs. You can split the screen in half but for any other files you have to write the filename everytime.
Is there a package/plugin/whatever to work around this?
>>
>>55072182
both codes displayed aren't mine. aside from that, I actually can't code, good atleast, but that isnt the subject here is it
>>
>>55071993

VIM
>>
>>55071998
Do you know any way to toggle/untoggle selection in sublime text? I hate keeping the shift key pressed while moving the cursor.
>>
>>55072214
creat a macro or something like that. I am sure there are built in functions for it
>>
>>55071993
>I'm not autistic
>>
>>55072203
emacs works with buffers.
each buffer you open is basically a tab.
you can freely switch between them and split view them.
>>
>>55072349
>freely switch between them
But every time I need to open a new one, I have to write the name.
I'm looking for a keyboard shortcut like "switch to the next/previous open buffer", and maybe a one line list of open buffers
>>
People who use emacs/vim etc. Are like people who ride hybridcars
>>
vim
>>
>>55071993
because i use spacemacs
>>
>>55072331
Be honest, how new are you?
>>
>>55072398
You can do that and you can also just switch to the previous buffer if that's what you're looking for.
>>
>>55072504
Oh cool, I'll check it out.
>>
File: eg0q1ez.png (330 KB, 471x467) Image search: [Google]
eg0q1ez.png
330 KB, 471x467
>>55072482
>muh newfags
go to leddit if you want a safe space
>>
>>55071993
Because i spent more time fucking around with elisp and packages rather than doing actual work.
Now i'm on vs code and while less powerful and more resource hungry i'm not tempted to go and write a quick "fix" if the editor isn't doing exactly what i want.
>>
>>55072535
I dont think he wants a safe space?
What are you even trying to say
>>
>>55071993
>not implementing in Emacs Lisp
>>
>>55072589
you have to start somewhere
>>
i use vindos notepad
>>
>>55071993

I haven't found the time to set it up properly
>>
>>55072471
isn't that literally just a bunch of elisp plugins you slap on top of emacs
>>
File: 9314412_orig.jpg (149 KB, 1100x591) Image search: [Google]
9314412_orig.jpg
149 KB, 1100x591
>>55071993
>>55071993


Because I'm just a newb that's still doing HTML/CSS and the ever-growing clusterfuck of JS variants...

so Atom does the job just fine for me at this point in time.
>>
Because I use Dreamweaver :^)
>>
Your code is formatted terribly. Please read the documentation for pep8 or at the least run it through flake8 or some linter.
>>
>>55071993
Because it has minimal effect on my efficiency. I spend much more time thinking what I'm going to write than actually writing the code so the choice of editor is quite irrelevant to me. I use whatever is available and that ends up being vim most of the time.

If this is not the case for you then you will probably be replaced in next decade or so.
>>
>>55072535
Please blow your brains out as soon as possible, preferably now.
>>
>Vi or die son
I've never even tried emacs. I don't want to become one of those faggots who think they're superior to vim users.
>>
>>55071993
>not part of posix
>>
>>55073225
replaced for not using a 25 year old editor.

Fucking think before you right, you complete troglodyte.
>>
>memacs
>vimeme
>memo
>atomeme
>memepad
>memedit
>sublimeme

lmao
>>
>>55073252
Few honestly give a shit what text editor you use.
>>
>>55073264
*write
>>
>>55073264
>Incoherent
>>
File: vN48mwz.png (180 KB, 379x551) Image search: [Google]
vN48mwz.png
180 KB, 379x551
>>55073241
>>55072555
>>
>>55073305
DELETE THIS
>>
>>55071993
Because Visual Studio exists linux turbo nerd
>>
Well as for me, I use the one I've grown up with, you know, the one they taught me at school? I will never switch away from Microsoft Windows Notepad. Even running it in wine as we speak.
>>
>>55073225
> If this is not the case for you then you will probably be replaced in next decade or so.

Eh, what? You are going into a workforce that is full of idiot managers who care more about if they are making their ethnicity quotas than the text editor you use.

I fully suspect people will think less of you for using Vi and you will be invited to less social gatherings, coffee breaks, etc.
>>
>>55073305
>Imgur picture proll taken from a subreddit
Looks like you also wanted some safespace
>>
>>55073327
How did you manage to understand that you will be replaced if you don't use vim from that post? It even has "choice of editor is irrelevant" in it, please explain this anomaly.
>>
>>55073267
I wished I could give you 4chan gold
What do you like :^}
>>
>>55073305
Normalfags are welcome on 4chan with open arms these days. How much longer till /g/ unironically has a /facebook/ general
>>
I haven't installed it
>>
>>55073350
Your post was fine, you're just surrounded by idiots who can't into reading comprehension
>>
>>55073360
/smg/
Socialmedia generals
Latest facebook updates:

Latest twitter updates:

Who should I like/follow

Join #smgsoc.irc to like and follow eachother
>>
>>55073327
If you start thinking about "how socially compatible is xyz" your life is already over. You take a shower for yourself in order to feel well, not for others to think you smell good. Christ.
>>
>>55071993
Because I use Notepad++
>>
>>55072265
There is but I am not at my computer to check. I think it's C+Space
>>
It's 2016 and c++-mode in emacs still doesn't have proper syntax highlighting for c++11, what the fuck.
>>
>>55073264
>Fucking think before you right, you complete troglodyte.
Sieg Heil!
>>
>>55073264
Refer to >>55073350
>>
But I do.
>>
>>55073559
Well make them yourself?
>>
because notepad++ and command prompt work fine so far
>>
>>55073401
Oh boy. I can just imagine your life. XD
>>
>>55073406
>>55073728
This.
I see all these emacs vs vim threads but I don't really see the point
>>
>>55073225
Hi scriptkiddo
>>
>>55073872
What do you do? As in what do you use it for to write
>>
>>55071993
But I am
>>
File: 1442190675946.png (84 KB, 599x717) Image search: [Google]
1442190675946.png
84 KB, 599x717
Does Emacs or vim have syntax auto complete?
>>
>>55071993
Emacs and Vi seem like they require a lot of time invested in order to master.
What exactly will I gain in return if I invest the time?
>>
>>55073908
Python mainly. I use it for HTML/CSS when needed
>>
>>55073273
/thread
>>
>>55071993
>2016
>using text editor
>not outsourcing to India
>>
>>55074050
vim has a few nifty features for debugging. It even has mouse support for people who enjoy that.
>>
>>55074158
>nifty features for debugging
For example?
>>
File: LeafParticles_2x.png (472 KB, 1352x828) Image search: [Google]
LeafParticles_2x.png
472 KB, 1352x828
Can emacs do this?
>>
File: XC_O_debug_overview_2x.png (497 KB, 1246x855) Image search: [Google]
XC_O_debug_overview_2x.png
497 KB, 1246x855
>>55074213
Or this?
>>
File: bot_viewer-tests_2x.png (520 KB, 1367x845) Image search: [Google]
bot_viewer-tests_2x.png
520 KB, 1367x845
>>55074229
Or this?
>>
because i'm actually a productive person and not a ricing meme faggot
>>
>>55074248
>productive person
>sublime
kek
>>
>>55074248
>loading js before html
>15 fucking loc of external content
>not using CDN
Ask me how do I know that you're a colossal faggot.
Also
>html
>productivity
Pajeet+dreamweaver license cost less and do better than you.
>>
>>55074248
Holy fucking Jesus, you don't even use protocol agnostic import links... Who even put you in charge of their frontend?
>>
>>55071998
/thread
>>
>>55072009
>being this fucking autistic
>spending entire day writing fizzbuzz in some obscure shitty language in your shitdick editor
>not being actually productive

Kys already
>>
>>55074213
>>55074229
yes you can embed assets in emacs to be diaplayed if you are that big of an autist and need such a thing

>>55074239
and yes.

i dont think you realize how powerful emacs is if you take the time to mod it. practixally anything that can be run even through the terminal can be piped in too.
>>
>>55072132
oldfag
>>
Because I program in Java, C++, Haskell, Python, etc, and I use a variety of IDEs depending on what I'm programming in.

For example, I use Emacs for Haskell/Lisp/Prolog.
>>
>>55074095
I dont know about np++ but in emacs its super easy to open a file - edit it - split the screen - run the file

and I dont know about html/css but you can always just https://www.youtube.com/watch?v=mnfPRLlsXqU

emacs is really nice with a lot of keyboard shortcuts so you dont have to regrap your mouse.
>>
>>55071993
because im not a fucking apple fanboy
>>
>>55076082
what the fuck does that have to do with anything?
>>
>>55071993
Because your code is disgusting.
>>
>>55071993
Because even plain notepad is a better editing tool than emacs.
Install Vim.
>>
>>55076090
uh >>55072205

>>55076100
hi circlejerker
>>
>>55076075
>impatient mode
Every IDE and their dog have this feature. I mean it's CURRENT_YEAR for fuck sakes
>>
>>55076134
Didn't read the whole thread, thanks.
>>
>>55072050
>>55073117
>>55073351
>using the smiley with a carat nose
>>
>>55072025
That's what evil-mode is for
>>
>>55076281
Evil-mode is a joke, but since nobody who uses it wants to admit it and since everyone is fine with the devs lying about the amount of support evil-mode provides, it will never actually become usable.
>>
>>55076087
>eMACS
>what does apple have to do with anything????
you tell me fuckin retard
>>
>>55074758
>>55074778
i wasn't the one who made it. the client ditched their last person who was incompetent (probably one of you) and asked me to add a new page.
>>
>>55071993
mousepad just weks
>>
Haven't had the time to commit.
>>
>>55076376
Nah, that's bullshit. Name one thing that vim has that evil-mode doesn't.
>>
>>55077220
Bufdo.
>>
>>55077264
That's fair. I never used that, though. And there's probably a more emacsey way to do it (though I don't know what, I don't use that kind of functionality)
>>
>>55071993
I cannot configure it so I have auto complete C++ as good as code blocks, not to mention the file handling and separation, I like that shit automated, I dont want to fiddle for 15 minutes before I even start doing actual work.

Other than that I use it as well as spacemacs for some little projects or one file projects
>>
>>55077304
Even notepad has better auto-completion than code blocks. Nice try shill.
>>
>>55071993
Just press F11 and stop wasting your screen space with window decorations.

I'm a GNU Emacs user, and I feel uncomfortable if I don't have Emacs on a computer that I use.
>>
>>55077980
Show off yours I am curious what an expierenced users emacs looks like
>>
>>55071993
Does spacemacs count?
>>
File: Screenshot_2016-06-14-21-02-43.png (113 KB, 1024x600) Image search: [Google]
Screenshot_2016-06-14-21-02-43.png
113 KB, 1024x600
>>55078256
>experienced
I don't think so, I've been using it for like half a year.

I'm on mobile now, so here's a screenshot of Emacs running on my android tablet. I use termux to run Emacs on Android, it's pretty good now, the only real problem is that the keyboard handling is a bit shitty, and some key combinations don't work as of now. I didn't have any serious stuff to open in it. Emacs looks pretty much the same with my config on a desktop, the only real difference is that I don't have here.

Here's my .emacs if you want to take a look at it or use it yourself:
https://github.com/DoMiNeLa10/.emacs
>>
>>55078722
>not putting your init.el into an org file
>>
>>55078804
I use multiple files, and using configs in org would make Emacs launch slower, and I don't see the point of doing it.
I was considering using ~/.emacs.d/init.el though, but I don't want if I want to change the name of my repo and stuff.
>>
>>55078972
>and using configs in org would make Emacs launch slower
Why on earth would you need to launch emacs more than once?
>>
>>55079008
I run Emacs as a server on my main computer, and it takes a while before I can use it because Emacs is booting up.
I use multiple instances of Emacs when I mess with elisp or I really mess around with it. I use ERC as my IRC client, so I don't want to log out every 2 minutes when I'm experimenting with Emacs.
>>
>give me a good reason why you arent using emacs as your main editor
"Do one thing, and do it well."
>>
Can emacs use SFTP?
>>
>>55079119
It can if you use it through ssh.
https://www.emacswiki.org/emacs/TrampMode#toc28
>>
File: uptime.png (25 KB, 658x632) Image search: [Google]
uptime.png
25 KB, 658x632
>>55079091
If you use your main emacs session as a server then there's no need to restart it. And your experimental instances can be launched basically instantly with emacs -q.
>>
>>55079238
I don't restart my server, unless I want to make sure that my config is loaded properly after changes.

emacs - q is pretty useful, and so is just running another instance to see if your .emacs works the way it should.
>>
>>55072398
>I'm looking for a keyboard shortcut
>emacs
>not enough keyboard shortcuts
kill yourself my man
>>
Maybe because Atom it's better¿?
>>
>>55072398
C-x b switches between buffers, it asks you for the name of the buffer you want to switch to, you can autocomplete it, and it defaults to the last buffer you had open.
C-x C-b lists all buffers, it's great when you want to kill many buffers at once.

As for tiling:
C-x 2 splits vertically
C-x 3 splits horizontally
C-x 1 leaves only the current window in the frame left
C-x o switches to the next window (you can use it with a numeric argument)
C-x { and } change the width of the window
C-x ^ changes the height

That's the basics.
>>
>>55079401
I forgot to mention that C-x 0 (zero, not the letter 'o') removes the current window.
>>
>>55074020
youcompleteme is an as-you-type code completion plugin for vim
>>
>>55079401
C-x 4-f (edit file) or r for read
C-x 5-f (edit file) or r for read
these are way nicer
>>
>>55071993
I already use vim.
>>
File: emacs.png (165 KB, 1366x748) Image search: [Google]
emacs.png
165 KB, 1366x748
I do use emacs.
r8 me m80

>implying this isn't the ugliest code I've written
>>
>>55071998
>>55072029
>>55072132
>>
>>55080955
Looks clean!
>>
Because if have a month free, I'd rather spend it learning a programming language instead of learning a text editor.
>>
>>55081360
you need a day or 2 to learn how to do basics the advanced stuff comes later
Thread replies: 138
Thread images: 13

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.