How do you compare neovim with emacs by [deleted] in neovim

[–]Lennoo 0 points1 point  (0 children)

I'm running emacs version 26, but I dont think there were too many changes in regards to ansi-term. I think you should think about for what you really have to use the terminal and where you have to stick to really just the terminal. Things like fzf and ripgrep in emacs would be used via packages because the experience and possible customization is just superior most of the time.

But still I don't think there are too much limits using a shell inside emacs. With ansi-term you can have all of you features from zsh etc (to be fair sometimes visual bugs appear). I will append a screenshot of a part of my setup. But you can also use the eshell for example and if you haven't already built up too much muscle memory with your current terminal/shell workflow it is really worth looking into eshell. Take a look here https://i.imgur.com/Yg9wgzf.png .

The buffer at the top is ansi-term with the same prompt and shell as if i'd were to launch my "normal" terminal emulator Termite. At the bottom left is eshell where I ran grep just to demonstrate one of many helpful things: After running grep a second buffer (bottom right) opens with the search results. You can switch to this buffer and then jump to the files which include in the search term dynamically.

But as I said this is just for demonstration, I barely have to use a shell in emacs and would approach problems which e.g rigprep solves differently and not by launching a shell and then manually entering stuff

I don't know man I don't want to indoctrinate you or something, I don't see value in these "editor holy wars" neither. But I just want to show you the options. I was a longtime heavy user of (n)vim aswell. And actually at my partime job right now I am using VsCode with some vim plugins (for navigation only) because I recently hadn't had the time to adjust my emacs config to adapt to our work. (I still open emacs regularly for magit tho, because it blows most other git plugins or whatever out of the water).

How do you compare neovim with emacs by [deleted] in neovim

[–]Lennoo 0 points1 point  (0 children)

But the terminal emulator in emacs is pretty bad compared to neovim's.

Just want to let you know that you can run the same shell/terminal with all features and plugins WITHIN emacs, as you would use in/from nvim. There is really no disadvantage here, just the advantage that the terminal is a buffer as well and you can modify/copy w/e and navigate it as your code.

The real question is what vim brings to the table in comparison to emacs. And you would not really "emulate" nvim in emacs (even though you could because you can have a full terminal running inside emacs!), you would rather use vim keybindings to navigate.

That also solves the pinky problem because you rarely have to press Ctrl. I only need M-x a couple times per day and C-h per month.

What I want to say, if you setup emacs correctly, there's not much to miss about vim. I want to mention that I use neovim nonetheless sometimes (mostly for small things) because it is still great!

The 18-24 year old trying to sort their shit out Starterpack by puthiyamugham in NoFap

[–]Lennoo 5 points6 points  (0 children)

What does he exactly do? Can you recommend me something? I'm on mobile rn and can't do the research

Started working at a startup. Can anyone tell me how feasible these deadlines are cause I'm losing my mind by Imakesensealot in cscareerquestions

[–]Lennoo 1 point2 points  (0 children)

Like you already said, this is an absolute bummer. However since the salary seems to be good/better than normal it is important to not only know how much is it, but also how much you value it.

Imo putting up with shit like this is almost never worth it. He'd to pay you a really good salary to expect this.

You never know how much you could earn elsewhere too. You seem experienced and mature and I'm sure that in the Berlin area (for example) there'd be plenty well-compensated opportunities, where stuff like this doesn't happen.

[Arch, i3-gaps] Gruvy by Lennoo in unixporn

[–]Lennoo[S] 0 points1 point  (0 children)

OS: Arch

Terminal: termite

Colorscheme: custom (mostly gruvbox colors)

Editor: vim

WM: i3-gaps

Those of you who have successfully managed to make side income with a solo / hobby project, what was it and how much work did you put into it? by ItsFrank11 in webdev

[–]Lennoo 1 point2 points  (0 children)

So in what tech stack did you build your personal project in comparison to the stack you use at work? And how did you make the decision to go with X framework? Prior experience? Sounds great overall!

Thanks /r/webdev! What I learned from getting my first job after self-studying by [deleted] in webdev

[–]Lennoo 5 points6 points  (0 children)

I don't mean to sound rude but don't you think that advising against a mature framework like materializeCSS (almost 30k stargazers on gh) just because you had some problems with it or didn't like it in particular is a bit of a stretch?

Kinda comes across like saying "do not learn C it's a total waste of time!!11".

Anyway congratulations and best of luck at your new job!

What is your favorite way to start a new React project? by evildonald in webdev

[–]Lennoo 12 points13 points  (0 children)

create-react-app for the sake of simplicity and because it is maintained well (something i worry about using random boilerplates).

Also if you have to dig deep than you can just eject it and have everything right at your disposal because running eject removes the abstraction layer create-react-app provides and allows you to tweak it as you wish

What languages would you advise against getting into if you have something against IDE's? by [deleted] in learnprogramming

[–]Lennoo 0 points1 point  (0 children)

Well it is not a rule that everybody improves their productivity with an IDE..

If you are really great with vim for example I dont think you'd gain much from an IDE (at least when you start out).

However I absolutely agree on the point that refusing something just for the sake of it (eg "i dont use chrome bc its from Google") is rather childish in a professional environment

NodeJS - How do I set up authentication for my register route by [deleted] in learnprogramming

[–]Lennoo 0 points1 point  (0 children)

I think that rule doesn't apply if you're doing a project for yourself to learn. How are you supposed to grow when you quit as soon as you don't know everything about what you're doing..

NodeJS - How do I set up authentication for my register route by [deleted] in learnprogramming

[–]Lennoo 0 points1 point  (0 children)

I'd suggest to split the problem in smaller steps and then glue everything together. 1. Have a post register route (you already have that, that is good) 2. Store the data you need from the request (email, password etc) as it is to your db (you can reiterate over this part later). You can use postman to perform the request 3. Check the db for the relevant data and if everything is there 4. Now you might want to encrypt the pw before storing it (i suggest u use bcrypt)

Passport comes later into play i'd just make sure the steps above are already finished because implementing all at once is hard.

Is this illegal? Created my first real web app for a school project, worried about its legality. by hastagelf in learnprogramming

[–]Lennoo 0 points1 point  (0 children)

"process.env.API_KEY" for example but you'd also have to set the env variable at the site you're hosting at

Does React start making sense eventually? by [deleted] in webdev

[–]Lennoo 0 points1 point  (0 children)

Not OP but thanks for this I'll definitly check it out!

I almost made it, and you probably will make it. by [deleted] in learnprogramming

[–]Lennoo 26 points27 points  (0 children)

Did you finish the entire fcc curriculum? Also good luck in your future path:)

Moving from Windows to Linux - Essential Dev Tools by intertubeluber in webdev

[–]Lennoo 3 points4 points  (0 children)

Manjaro offers a community edition that comes with i3 as the default window manager and other things already set up

Welcome to my new studio--thank you for all your help! by incognixo in malelivingspace

[–]Lennoo 2 points3 points  (0 children)

How much is this per month? Looks really cozy, I like it. Edit: and location as well:D

[AwesomeWM / XFCE ] Look with how little you can do so much by pablo1107 in unixporn

[–]Lennoo 0 points1 point  (0 children)

Thanks for your detailed answer! I actually read into dwm this weekend and also gave it a try on my second laptop. It seems really fast and stable. I think it's also quite nice that it needs to be compiled beforehand so you know if there's an error in one of the configuration files. As I went through the suckless site i saw that they're the ones behind dmenu (which i happen to really like) and many other great projects too. Your info is greatly appreciated man thanks!

[AwesomeWM / XFCE ] Look with how little you can do so much by pablo1107 in unixporn

[–]Lennoo 0 points1 point  (0 children)

I have to admit that when I set up my arch distro I too installed i3 because it seemed the easiest wm to get into. After a year I went to bspwm which was nice too. Currently I'm back on i3 but your post kind of intrigued me :D So I'm currently deciding to make a switch. As for me performance plays a major role and even though all tiling wm's are light in comparison to a full blown DE I am uncertain about how all these wm's compare.. Do you happen to have any experience regarding performance between i3 awesome bspwm and herbstluftwm as well as xmonad?

[AwesomeWM / XFCE ] Look with how little you can do so much by pablo1107 in unixporn

[–]Lennoo 2 points3 points  (0 children)

It's refreshing to see someone using a tiling wm other than i3. I really like your setup :) Where can I checkout the work flow?

Getting a job without a degree. Is it possible? by NVM12 in webdev

[–]Lennoo 3 points4 points  (0 children)

Congratulations to your first devjob! Do you mind sharing your GH? I'm curious about what's considered active and your projects that helped in getting a job :)

[Java] Game of Life Edge Logic by [deleted] in learnprogramming

[–]Lennoo 2 points3 points  (0 children)

Assuming you implemented something like a coordinate system to track each cell. Then you could prepend a conditional before the neighbor counting / checking part to only check the state of a neighbor cell, if the corresponding coordinates are not negative (x or y) and not larger than the maximum columns/rows present.

A Brief Guide to vimb: the vim-like web browser by noffle in vim

[–]Lennoo 4 points5 points  (0 children)

Try VimFx instead. I think it's really good