Hacker Newsnew | past | comments | ask | show | jobs | submit | yasser_kaddoura's commentslogin

You can configure both to use either.

List of emacs-like config in Qutebrowser:

https://github.com/qutebrowser/qutebrowser/blob/main/doc/hel...


Like always it's a second class citizen. I spend a stupid 6 months trying to use emacs like vim. Emacs isn't a text editor. If you need to edit text as a rectangle of characters then you can drop in evil mode. Expecting to use emacs control characters from evil mode it a bit like using Kanji to write English.


Evil (VIM emulation mode in Emacs) does not in any way behave like a second-class citizen. I use evil every single day and it's fantastic.

Emacs is a text editor, yes, among other things.

If anyone is reading this who hasn't tried Emacs, don't let takes like this spoil you giving Emacs a try. Doom Emacs is a fantastic experience to get started but there are more minimal starter kits that give you just evil-mode to start.


I literally said you can use evil mode to edit text.

But trying to use vim inspired motion and editing in other modes is a terrible idea. Just learn how Emacs does it and stop thinking of everything as text. There is usually deeper semantic meaning behind the syntax that an Emacs mode will let you edit directly.


If you want to write English using kanji I recommend starting here: https://www.zompist.com/yingzi/yingzi.htm


It was my experience too that it's better to commit to using Emacs like Emacs. `C-x SPC` is the Emacs way to select a rectangle of characters.


Doomemacs was everything I wanted Neovim to be for me personally. I know it’s a big war on the web, but for some of us evil mode emacs is the easy way to use vim motions.

The only real disadvantage for me is that it’s significantly easier to run Neovim on windows (work).


I have these aliases for various purposes:

# Different options to search for files

# da=36 cyan timestamps

alias ls="EZA_COLORS='da=36' eza --time-style=relative --color-scale=age"

alias lsa="ls --almost-all" # ignore . ..

alias l="ls --long --classify=always" # show file indicators

alias la="l --almost-all"

# Tree view

alias ltreea="ls --tree"

alias ltree="ltreea --level=2"

# Sort by time or size

alias lt="ls --long --sort=time"

alias lta="lt --almost-all"

# lsd is faster than eza

alias lss="lsd --long --total-size --sort=size --reverse"

alias lssa="lss --almost-all"

lla seems to go beyond what ls should do for some reason. Why show git and code complexity info? Just use tools dedicated for these things, otherwise, it will be an unmaintainable mess. If you can solve a problem easily with external tools, then there's no reason to add a feature for it.


That's a great list. I have a similar list and the aliases grow out of frequently used arguments. For example, I found myself often doing an ls -Altch and so lsth was born. I find that aliases that or born of frequently used arguments are easily remembered. Over time that one grew to include a pipe to head because most of the time I just want to see the top 20 or so most recently modified files in the directory.


I don't get the argument for using web technologies to complicate this process. What does this added complexity solve? If anything, it slows the process and remove much needed features like auto-completions, snippets, and extensions. Also, it makes collaboration harder, since, most likely, others aren't familiar with your setup.

You only need to setup one environment once and use it forever with minor incremental improvements as tech evolves.

If you are a n/vim user, you can accomplish this by:

1- Data exploration: text -> jupyter notebook via https://github.com/untitled-ai/jupyter_ascending that uses jupytext. This way, you can efficiently edit and run code from your text editor.

2- Writing: you can use https://github.com/lervag/vimtex for LaTeX

On top of these, you can use tmux with tmuxp to open projects instantly.

You can have a seamless process with Emacs using org mode [1] [2] and/or Auctex.

[1] https://sqrtminusone.xyz/posts/2021-05-01-org-python/

[2] https://martibosch.github.io/jupyter-emacs-universe/


When I fire up my jupyter notebook in my browser, what technologies am I using?

When I fire up OPs website, what technologies am I using?


All good points.

Except, I do not like Python that much, I would rather use non-Python-centric tools. (That is why I talk about Raku and Mathematica.)

BTW, thanks for pointing to https://github.com/imbue-ai/jupyter_ascending !


agreed, folks who want a reactive notebook should seriously consider emacs. there are many emacs users who use it for only a few things, and reactive notebooks is often one of them


I'm saying this as someone who lives in Emacs: it's all fine until you want to show the notebook to someone else.


As a primarily (neo)vim user, I can relate.


You can extend Qutebrowser with userscripts [1].

For the Lisp fans, Nyxt [2] is a decent choice as well.

[1] https://qutebrowser.org/doc/userscripts.html

[2] https://nyxt.atlas.engineer/


nyxt would be awesome when it has a decent browser engine. For now you cannot use nyxt on most regular websites (youtube is broken most of the time), They are working on moving it to chromium engine if I understood correctly. But yeah when it will be ready, it's the browser I waiting for the most.


I used to solely depend on Wayback machine to automate archiving pages. Now, I am archiving webpages using selenium python package on https://archive.ph/ and https://ghostarchive.org/.

This told me not to depend on 3rd party services. Might self-host https://archivebox.io/.


I was just fantasising earlier, daydreaming, about what a distributed warc or similar solution would look like, with peering and user or distributed server archiving. Either by browser plugin submission or passively sending the urls to servers to do the fetching and archiving (removes some of the privacy issues).

I think it's everyone's responsibility to make sure the web gets cached, not one org... and since Google has canned the Google cache.......


ArchiveBox v0.8 is adding the beginnings of a content addressable store for P2P sharing! Stay tuned :)



There should be more internet archives, for various reasons, but it doesn't seem like anyone is willing to put in the effort and money involved, let alone the legal headaches.


I agree. And I am dismayed that government and academic institutions like to dance around the legal issues of archiving (outsourcing the legal risk to Internet Archive), instead of pushing for legal protections/exemptions for the act of archiving.


The UK and Portugal are both doing it for domestically published websites.


Would you mind sharing your script?



Thank you. It says: "Sorry, this post was removed by Reddit’s filters."


That's very odd. I can see it on my end while logged in. I tested it without being logged in, and I am seeing it being removed. Gotta be a bug.

You can find it here: https://gist.github.com/YasserKa/9a02bc50e75e7239f6f0c8f04fe...


The keyboard keys are staggered for historical reasons [1]. I always found it awkward moving my fingers diagonally instead of vertically. My typing experience improved dramatically moving to an ortholinear keyboard [2]. It helped my pinky RSI as well with the modifiers being on the thumb clusters.

[1] https://ux.stackexchange.com/questions/40390/why-are-keyboar...

[2] https://kinesis-ergo.com/shop/adv360pro/


I stumbled upon Dodo while checking your starred repos, and I think it deserves more attention than it has; it is mature enough to be used by users who wants customizibility, vim-bindings, and easy configuration. It's one of my top options to migrate to as a mail client if I find any problems with neomutt, which I am using right now.


Just automate the process using tools that use https://en.wikipedia.org/wiki/Frecency like autojump and fasd. No need to put a cognitive load on maintaining something that change over time when it can be easily automated.



This with https://github.com/untitled-ai/jupyter_ascending + your Editor to have a supercharged notebook workflow.


On the one hand: cool, if you're an avid emacsen or a vimmer, yeah, ok. OTOH, gosh that is such a cluttered and cumbersome setup. Just bring in vim/emacs bindings to your jupyter: https://github.com/lambdalisue/jupyter-vim-binding. There's a handful of plugins, choose one.

Whatever the final solution everyone decides should be, I just hope it doesn't involve having two redundant windows open side-by-side like that. Ideally, it should probably be instantiating an emacs client within Jupyter as that seems the most logical.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: