Vim Hate Thread

>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

I'll switch to emacs if it's any better

Attached: vimlogo.png (151x151, 4K)

Other urls found in this thread:

sourceforge.net/projects/emacsbinw64/
twitter.com/SFWRedditVideos

>using vim on windows

>using vim
fixed

>writing scripts in java

ok what did you mean by that

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)

also, emacs on windows is pretty decent, i'd recommend the emacs-w64 build: sourceforge.net/projects/emacsbinw64/

Emacs is better if you are looking for an IDE rather than just a text editor.

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?

Because you "yank" it from the buffer :^)

A lot of commands and arguments are mnemonic, you know :^)

>y for paste
do you actually use vim?
"y" is copy (or "yank"), and "p" is for pasting

>using Windows
You deserved it. 50/50 Windows relocates your files because it was a Monday.

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

>windows
>java
found your problem

>Emacs is better if you are looking for an OS rather than just a text editor.
ftfy

>>vim indents by a tab size instead of four spaces
DIE!

>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.

>using a text editor and not an IDE in 2018

very well crafted ironic shitpost my friende. I almost fell for it, then I saw "myscript.java". 100+ points to you, sir.

>>start from zero, custom config file required for every app
>t. never used vim

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

This

>newfag detected

it's obiviously a poor shitpost but
>using 'vim' instead of 'vim
wtf people

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.