Vim or Emacs?
>>61963537
Kate
Vim desu, its /comfy/ af
Vim for quick stuff, Emacs for gui ide
emacs wit vim keybinds
>>61963537
emacs
Can do everything vim can do
emacs also doesn't have the stupid mode system that vim has where you have to exit insert mode to do a command, then go back into insert mode.
>>61963537
vim
emacs if brainlet
>>61963682
Kys animetard
>>61963782
Are you actually retarded? Emacs' strength is not in ease of editing, it's in the plugins, the major/minor modes, and the whole Emacs Lisp environment it runs on. As somebody who uses both, Vim is just easier and faster to actually edit text with.
Emacs is great. So comfy. After enough time editing your config, you'll eventually start writing your own lisp functions.
>>61963909
>Vim is just easier and faster to actually edit text with.
What makes you say that?
Once you're used to either, you'll be fast either way.
Vimscript however is terrible, and vim can't be turned into an actual IDE as easily as emacs can if at all.
>>61963682
and you have it on every pc you go
>>61964053
Doesn't vim get python support because vimscript is so bad?
>>61964100
>and you have it on every pc you go
You have Vi, Vim is not part of POSIX and cannot be relied upon.
I've used many systems where it was not installed.
>>61964100
Vim has support for a dozen scripting languages.
>>61964100
Can vim really be extended with python as easily as emacs can with elisp?
>>61964123
I don't know I just read about it but am too much of a pleb to do anything with it
>Vim
Has more features then I'll ever use. It's flexible and convenient. I see no reason to use emacs instead.
>>61964160
org-mode
easier to use as an IDE
evil if you're into that
W-what about nano...?
vim
I tried using emacs for a few days but using the keyboard shortcuts was annoying.
>>61964160
>I see no reason to use emacs instead
Exactly, vim is just efficient and perfect until you need a real IDE.
>>61964243
at what moment would you actually need a ide?
i genuinely cant think of one except maybe simulating hdl execution
>>61964291
An IDE is mandatory when you have to work on an actual project instead of small scripts or whatever.
>>61964291
many java developers don't know all the classes, they just tab-complete the code in an ide ...
that's actually the reason i started using normal text-editors because my programming got so bad (or rather dependend on the ide), where i couldn't write a java program without an ide and internet
>>61963769
this
I use Vim because I'm not a brainlet. I've literally never met an Emacs user who had a triple digit IQ.
>>61964307
t. Pajeet
>>61964378
>having a job means you're Pajeet
Keep writing your Haskell hello worlds or whatever it is you're doing in vim
>>61964307
no, why would it be?
>>61964328
generate ctags and shit for a autocomplete plugin then
>>61964307
>>61964387
I'm not the guy you're responding to, but I have set up easy file navigation, code completion, code definition lookup, automatic linting on save, and one-step build macros. I'm also able to use vim as a front-end for gdb, so I can look at the code while stepping an executable. Please tell me how that, by your definition, is NOT an IDE.
>>61964411
>why would it be?
Because an IDE is more convenient for very large programs.
Just use spacemacs.
Vimscript is cancer anyway.
>>61964387
I have a job as an assistant professor. I probably make more than you and my programs make actual contributions to technology. Enjoy writing your latest ad-ridden mobile game for 12 year-olds, though, lol. Have to do the most you can with the tiny brain you have.
>>61964513
>lying on a cantonese cave painting forum
Sure kid, whatever you say.
>>61963537
Sublime
>>61963537
uemacs
Should be on every distro desu
>>61964422
No semantic analysis. NeoVIM + language server is an IDE.
Of course there are a bunch of degen 'IDEs' that do less than VIM can, but if you're talking about Visual Studio or Eclipse class functionality, you haven't reached that yet.
>>61963782
>emacs also doesn't have the stupid mode system
aka the entire purpose for vim existing and what every vim user loves about it.
>>61963769
The only correct answer
>>61963782
>implying modal editing isn't the only good thing about vim
>>61963537
Emacs with Evil
Spacemacs if new to either editor
>>61964751
>Spacemacs if new to either editor
But spacemacs won't teach you vim nor emacs. It'll teach you spacemacs.
And if it breaks you're fucked.
>>61964604
>Eclipse class functionality
Such as segfaulting because the git plugin eats away memory like crazy, or broken code navigation because GCC for indexing is a bad idea in the first place?
acme for emacs, sam for vim
>>61964802
you alright?
>>61964422
Care to share your setup?
>>61964937
yeah I also would be interested how to set up gdb with vim
>>61964100
>and you have it on every pc you go
Do I have to post this in every thread? TRAMP exists. If you want to use *your* editor on every machine, then start version controlling your config so you can clone it on other machines.
>>61963537
GNU Emacs with a distro like Spacemacs or prelude
Damn I can't choose between vim, emacs and spacemacs. Someone help me make a decision.
>>61965404
What do you expect from your editor?
>>61965602
I want to be able to navigate files and projects easily, to debug programs from within the editor, and have a good choice of plugins that make development easier. A high degree of customization should be available too.
>>61965637
>projects
Try spacemacs. It should have plenty of configuration to make managing projects easy out of the box.
I don't know much about it, because I wrote my own config for Emacs.
>>61965691
Thanks. Is >>61964758 right or should I not worry about that?
>I wrote my own config for Emacs
What does it look like?
>Not physically manipulating individual bits directly on the hard drive platter manually
Why bother living?
Post vimrc please if you have something nice
>>61965746
i use the standard vimrc, it'S awesome
>>61965708
>What does it look like?
Well, I have my own function that regenerates autoload files whenever I upgrade any extension and I avoid the package manager, because I'm worried it will slow down my startup times and try to connect to repos every time. Also, there are some extensions I either wrote myself or I use forks / newest development versions of that might not be avaiable in repos.
I also added some improvements, such as support for different contexts in js2-mode and taught it to understand node.js shebangs.
I won't post link to a repo with my config here, because I keep it tied to my name quite closely.
If you're willing to put in some time and effort, consider learning some elisp, as it makes it easier to customize Emacs to do what you want and lets you add new features that don't exist yet.
When I started using GNU+Linux, I actually googled "best text editor for linux". Since 95% of results said vim, that's what I went with.
No regrets.
Emacs best editor
>>61964100
Ubuntu 16.04 doesn't have vim preinstalled
>>61966106
Try running vi. You should get a cut down version of vim that way.
>>61966158
If I have to install shit anyways I'm going for emacs
>>61963769
For what pvrpose
>>61966067
I wonder if we vimfags will ever die out
I use GNU Emacs on my laptop and vim on my phone.
If vim and emacs are as good (which is probably true) how come vim is much, much more popular?
25% of developers use vim (it's also the most popular editor in data science) while only 5% use emacs.
>>61966807
Because GNU Emacs ain't an text editor, it's a fucking OS.
emacs with evil mode
>>61967536
>half-assed
just convert already, we have cookies
>>61964200
Only use that
>>61963537
I use vim.
I never encountered a situation where I needed another editor. But to be honest I'm nowhere near a professional full time dev, most of what I do is quick and dirty small time projects.
>>61967613
why would you use this shitty downgrade of vim?
>>61967678
Well, it's a text editor after all. But some people use it as an IDE, one day I will try that too, just to see if it would be viable and how much the productivity would change
>>61964111
I never used VI, jus vim. Is it really that much different?
Notepad.exe
>>61964513
As a student, this makes me feel really bad that professors are flameposting on 4chan. I thought they would be more respectable than that.
>be me last week
>have appointment with advisor
>finish meeting
>as I pack up my things to leave he logs in to his reddit account
It's not a good type of feel
I used to write latex in <editor.ide>. Then I figured out that I could right a makefile and set up a keyboard shortcut in tex.vim to run :!make and another one to view the pdf. It is really comfy this way.
>>61967743
It can be depending on how you use VIM. A lot of people use the "improved" parts as crutches rather than learn the proper VI way of doing things, which are actually better 90% of the time.
Like using Esc instead of C-c or C-[, or visual mode instead of mark / jump or ex style range expressions.
>>61963782
goodbye reddit
>>61968028
but visual mode is better in this case
>>61968028
Cutches are only crutches if you belueve they are.
Improvements are factually not crutches.
Fuck you, my word is law, eat a dick.
>>61963537
Vile is Vi like Emacs, best of both worlds
>>61968207
Unless you want to perform multiple actions over the same range or want to zero the cursor after you seek.
>>61964200
Just use Sandy desu
>>61964243
Just add a sprinkle of tmux.
>>61963537
Joe's Own Editor
>>61963769
>emacs is so unusable that it needs to emulate vim
>>61969210
if it works in the end I don't see your point
>>61963537
Code::Blocks
>>61969210
Emacs isn't used for the keybindings to begin with.
Is vim really more lightweight than emacs? Is the difference negligible?
>>61971221
>Is vim really more lightweight than emacs?
Yes.
>Is the difference negligible?
On a desktop/laptop no. On a phone yes.
>>61971249
Why would you be using emacs or vim on a phone?
>>61971249
Is there stuff emacs can do that vim can't when it comes to editing text and writing programs?
>>61971317
To code.
>>61971350
Dunno. But I'm sure GNU Emacs is far more powerful than vim.
>>61971384
Why are you coding on a phone? What benefit does emacs/vim give on a phone? This entire concept is retarded.
>>61971404
>Why are you coding on a phone?
Why not? It's for when I can't use my computer.
>What benefit does emacs/vim give on a phone?
It's editors to code.
>>61971417
After getting an 8bitdo controller today, the concept of coding on mobile actually sounds pretty okay desu
>>61971249
>"conding" on a phone
Yeah I'll stick to my comfy 3 screen setup
Vim users, how do you deal with vimscript being a big pile of shit?
>>61971772
wait for better python support :^)
>>61970303
What do you even need an IDE for?
>>61971668
I f you can't code on any condition you ain't a developer, but just a whining code monkey.
We're not in the same category anon, you don't know what coding really means.
>>61963872
anime website
>>61972294
I could just attack you back because why not, we're on 4chan, but this time I'll let you know that you are right, I'm still in university learning how to be a good coder.
>>61972446
>I could just attack you back because why not, we're on 4chan
No. You already discredit yourself. You're finished. All the true coders know the diff between me and you.
Here >>61971668 you just show how a whining code monkey you were. There is no return anon.
>>61972294
>>61972493
>real coders use their phones
What?
>>61972622
Stop, read carefully the whole conversation.
>>61972641
All I see is some guy trying to be a big guy on the internet.
>I f you can't code on any condition you ain't a developer
What does this even mean? If you can't write code on a Ti-84 you're not a real developer? What's so pressing that you can't wait to get back to a comfortable work station to do your work? I've yet to find a phone I can comfortably type on so I don't see the point of you belitting him.
>>61972694
>he doesn't write assembly on a TI-84
>org-mode
>pdf-tools
>emacs daemon
>actual multiprocess
why the fuck would i use vim
>>61972694
>What's so pressing that you can't wait to get back to a comfortable work station to do your work?
Ridiculous. You never met real hackers (not to confuse with pirates), those who live and die by the code. You're nothing compared to us, just a buffoon.
>>61972924
>live and die by the code
>>61963541
FPBP
Does anyone actually use emacs' web browser?
>>61964362
>rms
ed is the standard text editor.
>>61963537
ST3 or language IDE.
>>61968316
Who birthed this monster?
>>61963537
They're both awfully shit. Having books over books for a text editor is akin to a carpenter having to read a book on saws just to cut wood.
Neovim > Spacemacs > vi > emacs > vim
>>61974135
except IDs are not simple like a saw, and coding is not as simple as cutting wood
>>61974135
>books over books for a text editor
Because memorizing where every button and menu option in an IDE is any different?
>>61965746
execute pathogen#infect()
filetype plugin on
syntax on
set number
highlight LineNr ctermfg=red
set relativenumber
inoremap jk <esc>
inoremap <esc> <nop>
"control a to go to beginning of line
cnoremap <C-A> <Home>
noremap <Up> <NOP>
noremap <Down> <NOP>
noremap <Left> <NOP>
noremap <Right> <NOP>
set tabstop=6
set shiftwidth=6
set autoindent
set expandtab
set whichwrap+=<,>,h,l,[,]
nmap <F8> :TagbarToggle<CR>