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

Today is the 25th birthday of Vim! What's your favourite

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 83
Thread images: 11

File: 256px-Icon-Vim.svg.png (15KB, 256x256px) Image search: [Google]
256px-Icon-Vim.svg.png
15KB, 256x256px
Today is the 25th birthday of Vim!

What's your favourite command, /g/? I am a big fan of :global
>>
sudo pacman -Rs vim vi && sudo nano /etc/fuckyou.fag.OP
>>
What's the point of vim? I've just taken a few CS courses and I use eclipse. It seems to work for this intro stuff. Does vim provide advantages over eclipse later on?
>>
File: 1476815589463.jpg (97KB, 520x600px) Image search: [Google]
1476815589463.jpg
97KB, 520x600px
>>57356354
>>
>>57356354
It lets you edit text in a more efficient way. It also increases the size of your epeen, so you can wave it in other needy fucks' faces
>>
>>57356354
The main point is vi-style modal editing. With vim, you can learn to move around in a document and perform powerful edits quickly and without ever reaching for the mouse or even moving your fingers far from home row. Once you get into it, it's really hard to go back to editing text any other way.

It's not really supposed to be an Eclipse competitor though, more like a nano/notepad competitor. You can get a lot of IDE-like features with various plugins, but ultimately Eclipse will have more features for Java development.

It makes sense to use if you're constantly using a lot of different languages, whereas an Eclipse approach makes more sense if you're just working in Java.
>>
>>57356354
Stick to what you know baby ;^)
>>
>>57356277
Why use vim when I can use nano or leafpad? Also, vim is donationware and wants me to give money to Uganda children, fuck vim.
>>
>>57356416
But don't you have to manually indent? Isn't the time saved editing cut by the time spent indenting?
>>
>>57356354
An experienced Vim user will most likelihood have a faster typing speed than an experienced Eclipse user. If you're using Eclipse just to write and compile code or edit text though, you're using it wrong.
>>
>>57356502
No
>>
let the hate flow through you.
>>
>>57356461
Oh ok this makes sense. I guess it's more useful when u have to write long programs
>>
>>57356502
No, you don't. Vim has autoindentation, column selection, and just about every other advance text editing feature you can think of it.

Neat trick: open a file full of unindented code, then press gg Shift-V Shift-G =

You do have to manually enable a lot of Vim's powerful features in the configs though. It even has off-by-default mouse support.
>>
File: IMG_0862.png (375KB, 620x499px) Image search: [Google]
IMG_0862.png
375KB, 620x499px
>>57356528
>go
>gentoo
>vim-airline
you are a living meme
>>
>>57356555
The only people who don't like airline are the people too stupid to configure it. (same can be said about vim)
>>
>>57356354
Text editors in ides usually suck ass. I always use my preferred text editor and then move to the ide for shit like complicated debugging.
>>
>>57356545
Neat. I think I'll give it another try
>>
Anybody here use Vimium? I feel so much more efficient browsing the web with this.
>>
>>57356545
You don't need Shift V in there friend.
Just gg=G
>>
>>57356590
You're right of course. I tend to overuse visual mode.
>>
>>57356584
fucking why
>>
>>57356584
I use vimperator
>>
>>57356575
powerline looks ugly.
>>
 :w !sudo tee % 

Really usefull when you open some /etc file as a non root user, make changes and then want to save it.
>>
>>57356354
Let me know when you can use eclipse over ssh
>>
>>57356409
kek
>>
inoremap jj <esc>
For the real pros ;^)
>>
>>57356528
Envious anon here,

What's your:
>distro
>DE
>Vim setup
>terminal
>anything special in .bashrc, .vimrc etc

Really liking your setup anon and I'd like to set that up too.
>>
>>57356846
I can see that the distro is gentoo. my bad
>>
>>57356837
jk is superior
>>
>>57356878
I mapped every 2-length permutation of j/J and k/K. I think it is a little slow though
>>
>>57356277
alias vim='vi'
alias vi='emacs'
>>
>>57356846
Distro: Fedora 25 beta
DE: GNOME 3
Vim setup: http://pastebin.com/cVH2ZtP3 (don't forget to install vundle and use vundle to install plugins and don't forget to compile youcompleteme)
terminal: terminix

Also I'm using a terminal multiplexer for the bottom status line and splits (byobu).

And everything is running inside a gentoo container made with LXC. (Gentoo makes compiling Vim 8 easier)
>>
How to know that someone doens't really program anything? His environment looks like this >>57356528. Either that, or he has a weird version of colorblindness which makes him see things monochrome, with literally no color.
>>
>>57356718
pretty sure you can eclipse over sshfs
>>
Does anyone hate everything around Vim but use it?
I don't want to learn a new scripting language (vimscript) just to configure an editor. I don't want to install some shitty plugins which slow the editor down and replace every native function of the editor. I don't want to use some shitty colorscheme like this >>57356528 or 20 irrelevant and useless information lines which take up 40% of the screen.

The only reason I'm using vim is the fact that I can open text files in a terminal and the modal editing. I don't use any plugins (except for one which I still haven't figured out completely) and no ridiculous colorschemes, but a custom one which has only 4 different colors and is mostly white.
>>
>>57357147
yes, me
>>
>>57356718
Why wouldn't you?
>>
>>57357046
tyvm kind anon
any thoughts on using Fedora vs Debian vs Gentoo etc etc?
any thoughts on Terminix vs MATE terminal vs GNOME terminal?
>>
>>57357147
you are spouting bullshit. You're a terrible person. Not using something good because it scares you, then fronting like there are all these other sensible arguments for why people shouldn't use it. Dumb fucking pleb luddite. kys.

Install github.com/amix/vimrc into ~/.vim_runtime, then chmod 755 ./install_vim_awesome.sh && ./install_vim_awesome

Bang, now you have a fully configured Vim faggot. You are human filth, never forget that
>>
File: workflow.webm (317KB, 1366x768px) Image search: [Google]
workflow.webm
317KB, 1366x768px
>>57357147
I use vim as an IDE and it's faster than a GUI editor even with a bunch of plugins.

kill your self.
>>
>>57357098
>being this jealous
>>
>>57357522
:! sudo apt-get install emacs -y
>>
:earlier
>>
File: emacs.jpg (28KB, 600x335px) Image search: [Google]
emacs.jpg
28KB, 600x335px
>>57358166
this.
>>
File: emacs disease.jpg (93KB, 800x600px) Image search: [Google]
emacs disease.jpg
93KB, 800x600px
>>57358310
>>
I've been using vim for two years now. I know a couple shortcuts and basically use the arrow keys for everything.

How do I get really leet at using it so I can hack and the speed of sound and do fancy tricks?
>>
File: 1439973507016.png (3MB, 2894x4093px) Image search: [Google]
1439973507016.png
3MB, 2894x4093px
How can I git gud at Vim? Should I read a book about it?
>>
I used VS for years on Windows, only recently switched to Linux.

VS is shit and constantly forgets variables when you're debugging, so the one thing that makes it "good" is fucking shit.

Sometimes copy/paste randomly stops working and won't work again until you close and open VS.

Sometimes autocomplete stops working randomly too.

I'm glad I'm not a cuck anymore.
>>
>>57356545
>just about every other advance text editing feature you can think of
Can you select and move text with the mouse?
>>
>>57356277
Burn in hell
Why doesn't linux come with a sane editor by default instead of vi(m)?
>>
>>57356718
I'd rather run eclipse locally and access the files remotely.
>>
>>57358765
in gvim you can
>>
>>57356646
modal shitposting
>>
>>57358798
I think most come with nano.
>>
>>57358798
GNOME is designed to be accessible to people with disabilities, so it includes gedit for those who have too low of an IQ to use vim.
>>
>>57356718
>ssh -X
>>
>>57358930
Let me know when you can use eclipse without a display server
>>
>>57358873
vi is in ALL distro's. What braindead retard thought that was a good idea should go kill himself.
Nano(pico in the past) should have that place.
>>
>>57358946
Let me know when you can use vim without a keyboard
>>
>>57358971
Let me know when you can
>>
>>57358971
wake up

also if I was using gvim I could do even more but I don't need that gui bloat.
>>
>>57358952
because it's the simplest visual editor, so it makes a good emergency fallback?
>>
>>57359019
>gui bloat
>implying having your terminal gui interpreting escape sequences is less bloated
>>
I'm a big fan of install spacemacs.
Fuck vimscript.
>>
>>57356345
>pacman -Rs

# pacman -Rns
>>
>>57359135
you can script vim in perl, tcl, python, ruby, ...
>>
vim + tmux is the reason why I'm still alive

>favorite command

:help!
>>
>>57359164
Can you use a browser or IRC or email in vim? Emacs powered by lisp is significantly more powerful than what you can achieve with vim.
>>
>>57358631
>>57358631
>>57358631
>>57358631
>>
>>57359255
>Can you use a browser or IRC or email in vim?
Why in the hell would you want to?
>>
>>57359066
I think that anon's problem is that it actually isn't simple at all, at least if you're used to user interfaces designed after the eighties.
Your emergency fallback text editor should be easy to pick up. If you're using it, you've already had enough shit for the day and shouldn't have to deal with arcane keyboard commands just to access basic functions. You definitely shouldn't have to deal with basic UI logic that's different from everything you've ever seen before. Needing a special "mode" to input text? In a text editor? What the fuck is this shit?
>>
>>57359294
You can be compiling something in one buffer and be chatting in IRC, all under the same program. It's very convenient.
>>
>>57359372
*chatting in IRC in a different buffer
>>
who else gvim in here?
>>
>>57359162
Why?
>>
>>57359372

with tmux you can do that with one shell
>>
>>57359403
>pacmansaves important configuration files when removing certain applications and names them with the extension:.pacsave. To prevent the creation of these backup files use the-noption:

># pacman -Rn package_name

It fits the joke better to make sure even the important config files aren't saved.
>>
>>57359349
Spot on.

I actually learned the basics because I've been burrned by vi on some systems where there was no internet and nano wasn't available.
>>
>>57359349
I wasn't referring to eas-of-use with "simple".
I mean that vi doesn't have very complex code and is less affected by problems with the system setup.

nano just for relying on arrow keys alone is more problematic
>>
>>57359255
Emacs will never be taken seriously as an operating system if it can't play games.
>>
>>57359261
if you have vim installed, open a terminal and type `vimtutor`
Thread posts: 83
Thread images: 11


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.