>want to write script >open vim >always prompts me to donate for ugandian kids >idontcare,jpg >:set smartindent >vim indents by a tab size instead of four spaces >annoyed but continue anyway >save file as myscript.java >go to directory where file was saved >no file to be found >additionally vim has not deleted the autistic files it creates for muh speed >use notepad >everything works fine
emacs has a far more intelligent indenting system than vim. when you hit tab, it figures out how much a particular line should be indented and moves it to the right indentation, whether that be forwards or backwards.
however you'll have to explicitly tell emacs how you want things formatted, otherwise it will use its default assumptions which are often pretty weird (especially for c and java)
Emacs is better if you are looking for an IDE rather than just a text editor.
Charles Young
I just use vim because lots of free software uses vim-like keybinding As a editor? I couldnt care less >y for paste Y would u do that?
Justin Scott
Because you "yank" it from the buffer :^)
A lot of commands and arguments are mnemonic, you know :^)
Ian Clark
>y for paste do you actually use vim? "y" is copy (or "yank"), and "p" is for pasting
Elijah Richardson
>using Windows You deserved it. 50/50 Windows relocates your files because it was a Monday.
Ryder Nguyen
You can turn the startup message off with "set shortmess=I" in your .vimrc. But considering you are dropping vim for a bunch of things that can be easily configured probably means vim isnt your cup of tea. Stick to your notepad, wincuck
William Garcia
>windows >java found your problem
Eli Long
>Emacs is better if you are looking for an OS rather than just a text editor. ftfy
Andrew Foster
>>vim indents by a tab size instead of four spaces DIE!
Sebastian Harris
>vim setup >start from zero, custom config file required for every app >emacs >start from any modern wm, one config file in a readable programming langage Arch ricers make so much sense.
Dominic Foster
>using a text editor and not an IDE in 2018
David Cox
very well crafted ironic shitpost my friende. I almost fell for it, then I saw "myscript.java". 100+ points to you, sir.
John Ramirez
>>start from zero, custom config file required for every app >t. never used vim
Joshua Hill
vim has a lot of options for indentation tabstop, softtabstop, shiftwidth - they are frequently set to number of characters you want to have your tab so you can set them to 4 for example
other options autoindent - copies indendation on previous line to next line(if we start writing new line it starts at the same indentation level) smartindent - more specialized option, works good for C-like languages, if it sees { adds additional indentation level to previous one(basic example) expandtab - tabs are expanded to spaces based on value of tabstop, softtabstop
additionally there are options like: filetype plugin indent on - read syntax file for this particular filetype autocmd filetype [some commands or script] - run script automatically when file of some type is opened
there are more, but these stuff is enough
Isaiah Martin
This
Nicholas Sanchez
>newfag detected
Ethan White
it's obiviously a poor shitpost but >using 'vim' instead of 'vim wtf people
David Robinson
i opened Jow Forums just to complain about Vim, this thread couldn't be more timely
>have vim open >power shuts down, computer turns off >after turning it on, vim as usual complains about swap files >annoying, but I've gotten used to dealing with this >it says the process that was editing the file last is still running >doesn't let me delete or overwrite the swap file because of that >annoying situation is made doubly annoying
turns out, vim just checks if a process with the same ID is running, regardless if it's Vim or not. why in the fuck. bram is actually retarded.