[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
Daily Text Editor War
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: 139
Thread images: 19
File: emacsvim.jpg (86 KB, 569x400) Image search: [Google]
emacsvim.jpg
86 KB, 569x400
What are ya hacking with, /g/?


http://strawpoll.me/6199363
>>
File: emacs_dec_6_build.png (135 KB, 889x669) Image search: [Google]
emacs_dec_6_build.png
135 KB, 889x669
emacs. I'm setting it up clean with leuven and System 0.85 charcoal. It's been pretty functional so far. I'm not sure if I prefer emacs or acme these days, but emacs is definitely my workhorse.
>>
>>51749112
Why not railway cat's mac port? It's got better integration with OS X. Core Text support, clipboard, smooth scrolling. Automator/Services integration
>>
>>51748875
>tfw faggot is winning
But what could be better than Emacs or Vim?
>>
>>51749641
nothing
>>
>>51749641
hopefully not Nano
>>
>>51749641
This.
>>
>>51749740
this to be honest families
>>
n a n o
a
n
o
>>
Nano : it just werks
>>
nanofags should be gassed for using the absolute worst *nix editor
>>
>>51749798
retard butthurt is so sweet
stay mad faggit
>>
File: unknown reference to game class.png (103 KB, 1366x768) Image search: [Google]
unknown reference to game class.png
103 KB, 1366x768
this morning i tried to open up a book about C++ SFML that I bought a few months ago on sale. i've spent all day trying to fight the g++ compiler to let me proceed past the second fucking example in the first chapter.

where have i fucked up, /g/? i am shit at c++
>>
Nano is for people too retarded to learn to use Emacs or Vim but who want to look leet doing things from within a terminal. The only thing it's fit for is quick config file edits, but then again that is all the ricers on this board do.
>>
Emacs? Sublime? this isn't 1980, or even 2010. Atom or bust
>>
>>51749833
Emacs and Vim are for people too retarded to use and IDE but who want to look 1337 doing things from a terminal.

Stop pretending anon.
>>
>>51749860
*an
>>
>>51749860
Yeah because every language has a fully featured IDE, right? Dumb java monkey.
>>
>>51749890
The relevant ones do. Stop projecting anon. I'm a dumb C monkey btw ;)
>>
>>51749860
>implying 1337ness is even a thought when you work surrounded by other programmers every day
>>
File: listening.jpg (83 KB, 504x504) Image search: [Google]
listening.jpg
83 KB, 504x504
>>51749890
Not that guy but... unless you have no gui on your computer, why on earth would you edit text via a terminal?

I recently set up a simple debian web server, and I tunnel remote desktop access through the ssh port (via private key, of course). I use bluefish editor to write/edit my html, python, etc. Everything is intuitive, easy, and point-and-click versus typing a million commands. Not to mention that comfy font coloring that helps me keep track of what the hell i'm doing. I'm sure if i was autistic and had nothing better to do, I could learn vim but... why?
>>
>>51749936
why? because on a daily basis professional software engineers, have to work with servers via ssh, often remotely hosted by Amazon or somesuch. it's very rare for these to have UI capabilities installed
>>
emacs with evil-mode, best of both worlds
>>
>>51749936
>why on earth would you edit text via a terminal?
>learn vim but... why?
to get the sweet neckbeard aura points
>>
>>51749954
You don't get to speak for the profession just because you do things the retarded way, faggot. Go work for a real company that hosts its own servers and has remote desktop set up.
>>
>>51749982
>a real company that hosts its own servers
lol
>>
>>51749954
so you work for a stupid/broke company that has no capability to set up its own hardware?

also, ok, then how is vim better than nano. nano works just fine for me with quick edits to files, and has almost no learning curve at all.
>>
>>51750014
the comparison was remote desktop vs. command line tool (either vim or nano). and I'm not going to type out the benefits to IaaS when you can google them...
>>
File: mfw.jpg (23 KB, 515x515) Image search: [Google]
mfw.jpg
23 KB, 515x515
>>51749982
>a real company that hosts its own servers
>>
>>51749982
Not sure if bait, but even windows sysadmins would rather use powershell for remote management, even when RDP is enabled. Same thing for managing Unix servers, using the a GUI shell is beyond retardation.

Not sure why people put emacs and vim in the same bag, vim feels very forced to become something that was not built for, but emacs on the other hand is a complete software development suite with excellent plugins and a proper plugin management tool, beautifully documented, fast, and can do everything you dream to do with it, except for WYSIWYG for GUI or for platform exclusive environments such as .NET or Obj-C.

It takes time to tailor it, yes, most people see it as a waste of time, but working with it is a pleasure you'll never understand until you truly give it a shot
>>
>>51749982
>that feel when the only real companies are the ones that are fucked when a surge of traffic comes
>>
>>51749740
proprietary bs
>>
Fuck off.
>>
>>51750253
this is true. but I think the point was to bring up a different, non-terminal based editor. there are free ones similar, like Atom
>>
                   :::
iLE88Dj. :jD88888Dj:
.LGitE888D.f8GjjjL8888E; .d8888b. 888b 888 888 888
iE :8888Et. .G8888. d88P Y88b 8888b 888 888 888
;i E888, ,8888, 888 888 88888b 888 888 888
D888, :8888: 888 888Y88b 888 888 888
D888, :8888: 888 88888 888 Y88b888 888 888
D888, :8888: 888 888 888 Y88888 888 888
D888, :8888: Y88b d88P 888 Y8888 Y88b. .d88P
888W, :8888: "Y8888P88 888 Y888 "Y88888P"
W88W, :8888:
W88W: :8888: 88888b. 8888b. 88888b. .d88b.
DGGD: :8888: 888 "88b "88b 888 "88b d88""88b
:8888: 888 888 .d888888 888 888 888 888
:W888: 888 888 888 888 888 888 Y88..88P
:8888: 888 888 "Y888888 888 888 "Y88P"
E888i
tW88D
>>
File: 4chan_on_editors_acme.png (102 KB, 1601x867) Image search: [Google]
4chan_on_editors_acme.png
102 KB, 1601x867
>>
I've been using atom for compiling to latex recently, what's so bad about it?
>>
>>51750633
Atom has the performance characteristics of an IDE with none of the features, this is because its architecture is retarded and so are its developers.
Atom has no redeeming qualities.
>>
>>51749936
Have you ever looked at vim or emacs you kek
>>
>>51750676
what to use instead?
>>
>>51750676
It's the worst of both worlds.
>>
>>51750722
Brackets?
>>
>>51750569
>nano
>can't even get the right greek letter for nano
I fucking hate nanofags.
>>
>>51749814
The problem is that you're using SFML instead of just using a fucking engine.
>>
>>51749814
What command are you using to compile?
>>
>>51749740
>>Type in "M-x butterfly" in Sublime
>>
>>51749936
Because it uses less resources and honestly Emacs/Vim/Notepad++ are all you need to write and compile code. All the other features that most other IDES have are bloat.
>>
>>51749814
>Shit at C++.
>Goes straight into game development.

Congrats, you're engineered to fail.
>>
>>51749765

shm desu senpai
>>
File: 1449565871680.png (101 KB, 1366x728) Image search: [Google]
1449565871680.png
101 KB, 1366x728
>>51748875
Geany is the right answer
>>
nano or brackets or sublime text
>>
I use vim because I am not old enough to switch to emacs.
>>
>>51751657
> //troubleshooting
> I'm not sure what's causing this

Why do you even write comments.
>>
>>51749955
This
>>
>>51749814
> class instead of structs
> private
>>
Neovim of course.
>>
Can Emacs be run purely in the terminal, without a GUI?

If not, why the fuck should I bother using it over ViM?
>>
>>51752981
Yes, but why? You should have X on your desktop/laptop, right? You can use Emacs to edit files on remote servers, so why would you even need a terminal text editor?
>>
>>51753056
X is deprecated.
>>
>>51753056
Because I like to SSH in to servers, list directories, view files and then maybe edit them. Vim allows me to do all of my work within the terminal.
>>
>>51753098
sshfs
>>
File: screenshot.png (26 KB, 1366x768) Image search: [Google]
screenshot.png
26 KB, 1366x768
hi
>>
File: 1446380676361.png (106 KB, 725x325) Image search: [Google]
1446380676361.png
106 KB, 725x325
>>
File: sicp_kodomo.jpg (44 KB, 434x479) Image search: [Google]
sicp_kodomo.jpg
44 KB, 434x479
What's the best /g/ approved editor?

I've been using Notepad++ ever since my casual days, and never had a problem with it. But I know you all will have something about it.
>>
Atom all the way
>>
>>51754657
>using an editor written in fucking javascript

wew lad
>>
>>51750574

>ACME

Can you change color schemes?
>>
File: 1406301436625.png (119 KB, 400x400) Image search: [Google]
1406301436625.png
119 KB, 400x400
>>51748875
what are the best solutions to get auto completion not just finishing words, also look for functions defined in other files that are being included like in an IDE, for both Emacs and Vim?
Are there good plugins for things like integrating a debugger in the editor? I know that gdb works well with emacs since they're both developed by gnu.
And what about refactoring code? Are there good plugins to help with it?
>>
>>51749641
it's vim
>>
>>51750569
why demo your product w/ a shitty isPrime func?
>>
Tmux + neovim

Gdb for debugging.
>>
Why isn't there a good editor with the look and feel and features of sublime/atom with the good parts of Vim?
>>
>>51749954
No professional working for a company that has their own servers uses the terminal for anything but essential terminal only functions. It's not 1989 anymore. If your boss seen you using a terminal to develop shit you'd get fired because your productivity compared to your ide using peers is fucking garbage.
>>
File: [email protected] (21 KB, 753x682) Image search: [Google]
Screenshot-emacs@ein.png
21 KB, 753x682
>>51751218
>>
File: 1430386274937.jpg (26 KB, 600x450) Image search: [Google]
1430386274937.jpg
26 KB, 600x450
>>51755035
have you even ever had a job?
>>
>>51754605
>I've been using Notepad++ ever since my casual days
A project bound to crash the second it's perpetually triggered author breaks down after FN wins the french election. (half the notepad++ twitter is him bitching about europeans not considering his chinky ass to be french)

Emacs if you want a lot of language support.
Vim if you want an editor focused on modal editing.
>>
>>51755113
>png
>not webm

you fucked up, Ein.
>>
>>51754870
Emacs has auto-complete-mode, and couple that with hippie-expand to try completion from other sources (including language keywords, snippets, and other buffers)

;; Autocomplete
(use-package auto-complete
:diminish auto-complete-mode
:ensure t
:after helm
:config
(use-package auto-complete-config)
(ac-config-default)
(add-to-list 'ac-modes 'html-mode)
(setq ac-use-menu-map t)
(ac-set-trigger-key "TAB")
(ac-set-trigger-key "<tab>"))
;; hippie-exp
(use-package hippie-exp
:config
(global-set-key (kbd "M-/") 'hippie-expand)
(setq hippie-expand-try-functions-list
'(
try-expand-dabbrev
try-expand-dabbrev-all-buffers
try-complete-file-name-partially
try-complete-file-name
try-expand-all-abbrevs
try-expand-list
try-expand-line
try-complete-lisp-symbol-partially
try-complete-lisp-symbol)))
>>
>>51756544
There's also company-mode, which strives to be a more modern alternative to auto-complete-mode (notably for supporting sources from dynamic backends supplying an AST, such as from clang.)

For function/method completion, there are some helpers for specific languages. Golang for example has go-autocomplete (which uses nsf/gocode,) while Python has jedi/epc. C/C++/Java can make use of CEDET or libclang.
>>
>>51756699
>Golang for example has go-autocomplete (which uses nsf/gocode,) while Python has jedi/epc. C/C++/Java can make use of CEDET or libclang.
why isn't there a single solution that you can extend for multiple languages.
For example editors have the ability to do syntax highlighting, when we want to add a new language we just write the specification for it, we don't write a new whole plugin for syntax highlighting.
>>
Is there any way to disable syntax highlighting in Atom or Sublime Text? I might switch to vim just for :syntax off.

Yes, I'm autistic.
>>
>>51749870
A
>>
I recently started using neovim. Nov every terminal I use is just a Neovim instance startec with :term and it feels damn good to be able to manipulate my shell with Vim commands.

>>51750200
>excellent plugins and a proper plugin management tool, beautifully documented, fast, and can do everything you dream to do with it, except for WYSIWYG for GUI or for platform exclusive environments such as .NET or Obj-C.
>
>It takes time to tailor it, yes, most people see it as a waste of time, but working with it is a pleasure you'll never understand until you truly give it a shot
Everything you just said also applies to Vim (and of course NeoVim).

>>51755006
>look and feel and features of sublime/atom
Look and feel is just a stupid monokai/molokai theme. Look that up. Also, you'll need to be more specific as to which features you feel are missing in Vim.
>>
is there a good starter kit for emacs?
I've been looking at this https://github.com/purcell/emacs.d
and was thinking in modifying for my needs but I was wondering if there was something simpler, that I could just add the plugins I want, and have a configuration file for each plugin I have
>>
>>51758450
The recommended way of starting with vim/emacs is to just go vanilla and build your own config over time. The config will be adapted to your needs and when it somehow breaks your editor you'll be able to easily figure out why it does.
>>
>>51758493
I don't want it vanilla. Vanilla emacs is just a toolbox, a lisp machine and nothing more. That isn't the reason why I'll give it a try.
I want to give it a try because of Slime/Sly, Geiser, Cider, org-mode.
And I'll need Evil because it lacks a fucking editor.
So vanilla is totally useless to me.
>>
>>51758777
I don't now about the other features you mentionned, but when I said vanilla I was also talking about org mode. Org mode is a builtin emacs mode nowadays.
>>
>>51753092
And terminals aren't? topkek
>>
>>51758842
oh you mean without being "vimified"?
But anyway it still applies, what I'm asking about doesn't affect in anyway the usage of emacs.
It only affects how tidy you keep your configuration and are able to easily add new plugins and its configuration instead of having a mess of a giant .emacs file
>>
>>51758443
>Nov every terminal I use is just a Neovim instance startec with :term and it feels damn good to be able to manipulate my shell with Vim commands.
Welcome to Emacs ten years ago. Enjoy your stay.
>>
>>51758950
No I mean that you should try to build your conf yourself instead of downloading or looking at someone else's.
>>
>>51759103
There's nothing wrong with using a better set of defaults.

Both Vim and Emacs come with default configuration. Building on top of the packaged default is no different than building on top of someone else's better default configuration.
>>
>>51749641
an IDE
>>
>>51759586
>Building on top of the packaged default is no different than building on top of someone else's
I do not agree. I think that when applying changes to someone else's configuration you are more likely to "break" the editor than if you were editing the default configuration.
>>
>>51759669
I'm not saying to use Random Joe's config, I'm saying to use properly maintained packages like Spacemacs or spf13
>>
>>51759702
In my opinion these are still "more" dangerous than using a default conf.
>>
>>51759605
>visual studio fags think they're good programmers
top kek
>>
>>51754865
I wish someone would develop a patch to make it read Xresources.
>>
>>51754865
>>51760493
But otherwise, yes, if you can read C.
>>
What about LightTable, familia?
>>
>>51757357
Because syntax highlighting is defined by the language's CFG and auto expansion is defined over the entire dependency graph. This requires preprocessing distinct for each language.
>>
>>51758968
M-x shell is garbage. What do you use?
>>
>>51749740
this
>>
Any Haskell users play with Yi?
>>
Im using qtcreator for everything programming related.
Notepad++ for text files.
In cmd nano because it is actually useable and not a timesink

Vim and emacs are a waste of time
Qtcreator is what real straight man use
Or eclipse visual studio etc

Everyone using emacs or vim should consider killing themselves for massive autism
>>
>>51760741
eshell is good as long you realize it's not a full shell.
>>
File: 1429467265263.jpg (169 KB, 680x1021) Image search: [Google]
1429467265263.jpg
169 KB, 680x1021
>>51760896
>>
>>51760670
>clojurescript instead of clojure
Why?
>>
>>51757488
Does anyone program without syntax highlighting? I was looking info on this some time ago but couldn't find a anything.
>>
>>51761259
why would you want to do that?
sure, you would look like a late 80's hacker but your eyes will feel like falling out.

Syntax highlighting isn't just for appearances, it is an eye aid.
>>
>>51761259
I mostly just use syntax highlighting to prevent typing mistakes
If a reserved keyword doesn't change color after typing it in, it means I typed it incorrectly.
>>
>>51761259
>>51761315
>>51761373
http://www.kyleisom.net/blog/2012/10/17/syntax-off/
>>
>>51761315
>Syntax highlighting isn't just for appearances, it is an eye aid.

That's what I wanted to find out. Since I started programming always had syntax highlighting on. And while watching some acme videos I noticed it didn't use it.

>>51761373
>I mostly just use syntax highlighting to prevent typing mistakes

I can relate to this.
>>
>>51761259
Rob Pike said syntax highlighting is for retards, so...
>>
Emacs+EvilMode is literally all you need (or Spacemacs if you're too stupid to read the Emacs manual and install packages in Emacs).

vi+ex is ok if it's all you have on a remote system, but you shouldn't main it.

Everything else is either inferior (Nano, VS Code) or a meme (Sublime, Atom).
>>
>>51761864
>(or Spacemacs if you're too stupid to read the Emacs manual and install packages in Emacs
if Spacemacs was just that you'd be the one who is stupid and a fucking tryhard for not using an existing solution
>>
File: wailord of bait.jpg (45 KB, 1000x1000) Image search: [Google]
wailord of bait.jpg
45 KB, 1000x1000
>>51760896
>>
>>51748875
I usually use Emacs for writting C, but I use vim/gvim if I wan to make last minute changes or I need to ssh to access my file. I really don't the see point to use anything else other than maybe Notepad++ (although the creator has gone into full faggot mode now, so that's out of the question until someone forks it or Nano could work as well). All that aesthetic shit and the extra features of most text editors turn me off. I just want a minimal text editor that I can configure to my needs (through plugins or through manually editing the config files) I think it's bullshit to use anything else.
>>
>There are people who shamelessly use something other than Emacs or Vi*
seriously, why?
>>
>>51760741
M-x term. You are looking for a terminal emulator and not a shell, right?
>>
>>51761864
>or Spacemacs if you're too stupid to read the Emacs manual and install packages in Emacs
Do you think you're smart for spending hours doing what other people have already done for you? Do you also smelt your own silicon and fabricate your own microprocessors?
>>
>>51748875
Kate's the best editor desu
>>
>>51762207
Why should I trust spacemacs maintainers over GNU, you know, the ones who actually made Emacs and several other useful tools?
>>
>>51763650
welcome to /r/technology, friend

All the smart people have moved on from this shithole.
>>
>>51757357
CEDET used to aim towards that, and to some extent it still does.
>>
Starting web dev class next quarter, class uses sublime text.
Is there any reason I should use something else?
>>
>>51758450

For the simpler approach, do what https://github.com/technomancy/emacs-starter-kit/ says and set up a minimal ~/.emacs.d/init.el with melpa configured and better-defaults installed.
>>
>>51755035

...is this the baitening? Am I witnessing baitmageddon?
>>
how do you guys program in Java using vim? really curious... trying to not let go of vim
>>
>>51763841

What the fuck are you even talking about? Are you saying everything should just automatically work the way you want it to and nothing should have customization options? Fuck off back to Windows you mouthbreathing dumbass.
>>
>>51755035
I have honestly never met a professional programmer who doesn't use a shell on a daily basis, and I've been working as an engineer in San Francisco for 2 years
>>
>>51754735
>being this retarded
>>
File: visual studio.png (52 KB, 800x828) Image search: [Google]
visual studio.png
52 KB, 800x828
>he lets memes sway his opinion into not using the most sensible and feature rich editor out there
>>
File: bale.jpg (13 KB, 265x265) Image search: [Google]
bale.jpg
13 KB, 265x265
>>51749842
I think my grandmother could find her AOL desktop icon before this loads a file greater than 100 lines.
>>
>>51748875
Nano and mousepad
That's all you really need
>>
>>51766212
if all you do is fix xorg.conf and write fizzbuzz, sure

people with actual work to do are using Emacs and Vim
>>
>>51760478
>IDE equals VS
You're an idiot
>>
>>51766035
I do like VS. But that's an IDE, we're talking text editors here.
>>
>>51766421
For dicking around with c++ I use code::blocks
Thread replies: 139
Thread images: 19

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.