Hacker Newsnew | past | comments | ask | show | jobs | submit | dim-an's commentslogin

I made a similar switch and now use CLion instead of pure vim.

For a long time I thought I would miss vim editing experience but IdeaVim is the best vim emulation plugin I've ever seen and I hardly can remember a vim feature that is missing in IdeaVim.

Though I have to accept occasional UI freezes and huge memory consumption of CLion.


On my Christmas holidays I built a little tool that does similar things.

Features I wanted to include originally were

   1 shell completion autogeneration from `--help` texts;
   2 support bash/zsh/fish;
   3 support toml-like description of command arguments.
At the moment I have a tool that generates completions from `--help` messages and supports bash/zsh. I use it daily and it makes me little bit happier.

[1] https://github.com/dim-an/cod


It's called "cod" and doesn't support fish? :(


Why would I need a fish if I already have cod? ;)

Actually when I started this project I used fish as my main shell on laptop and first versions of cod did support fish, but then I decided to focus bash/zsh as they look more popular.

I still want to add fish support when I have some time though. It doesn't look complicated.


Thanks. Hope you find it helpful.

Regarding homebrew, I haven't thought about it yet. It's first public release and I wanted to get some feedback about project idea.


It's an amazing idea! Homebrew may help drive adoption even if it's just a beta.


Hope it will work for you. I tested it on a bunch of machines, but it is full of shell magic and I can't be sure enough :)

Also if you decide to continue to use it you might want to make some configuration so cod doesn't annoy you to learn system commands like `git` (which probably have good completion by your shell already).


I've been using my own orgmode plugin for SublimeText [1] for a several years.

It doesn't have all the features emacs has, but I'm quite happy with it for personal notes and simple TODOs.

There is another plugin for SublimeText [2] but apparently I like it less :)

[1] https://github.com/dim-an/Zorgmode

[2] https://github.com/danielmagnussons/orgmode


Is there a way to install nix into home folder (suppose I don't have sudo on server). I spend some time recently trying to setup nix in such environment and failed. I ended up compiling recent versions of neovim and tmux myself.


Yes and no (mostly yes). Ideally, you have /nix/ where everything gets installed, then folders with symlinks in your homedir (one that builds your workspaces and another that versions them) with an environment variable in your bash_rc to hook you in.

You can put that /nix folder anywhere, but you can no longer use their binary package caches and it will recompile everything. This is because they hard-code paths for dependencies during build time.


If you can use it, https://github.com/lethalman/nix-user-chroot is the best way.

But, it depends on user namespaces being enabled on your system. That may not be the case.


Your best bet is proot or a user+mnt namespace.


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

Search: