5 ms·
I moved my Neovim config to fennel and haven't look back. https://github.com/Grazfather/dotfiles/blob/master/nvim/fnl/core/init.fnl https://github.com/Grazfath
by Graziano_M 3y ago
I moved my Neovim config to fennel and haven't look back.
https://github.com/Grazfather/dotfiles/blob/master/nvim/fnl/core/init.fnl https://github.com/Grazfather/dotfiles/blob/master/nvim/fnl/...
- ducktective 3y agoSo basically Emacs with Elisp replaced with Fennel and a more responsive UI...
- packetlost 3y agoEmacs is a whoooooole lot more than an editor and Lispy config language.
- thih9 3y agoWhat else is there apart from an editor and a lispy config language? I always thought of emacs as that, i.e. an editor that is extensible and dev friendly (in contrast to vimscript). I don’t know much about emacs though, so this got me curious.
- MassiveBonk51 3y agoWell the famous joke is "Emacs is an OS that lacks a decent text editor." (Yes Evil mode exists) Emacs can do basically anything you write an extension for it to do. It can be your calendar, your email client, your rss reader or even your git gui on top of being an editor. Emacs can do so much that it's daunting to start using.
- trenchgun 3y ago> Emacs can do basically anything you write an extension for it to do. It can be your calendar, your email client, your rss reader or even your git gui on top of being an editor. Emacs can do so much that it's daunting to start using. Vim can do all of those things.
- iLemming 3y ago> Vim can do all of those things. You can build a graphics editor in the browser, but it probably will never reach the level of Photoshop. Emacs can emulate Vim to a fairly good extent. However, I don't think Vim can ever surpass Emacs in terms of power and extensibility. It's simply the way Emacs is built. I love Vim, and I am a die-hard Vimmer. But I have to admit there are things that work in Emacs in a way that no other editor, whether it's Vim, VSCode, or anything else, does better.
- Tao3300 3y agoThough it looks and acts like that, and can be used in such a way with no problem, in a sense, you've got it inside out. From the GNU Emacs homepage: At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language with extensions to support text editing. It's not an editor with a lispy config language, it's a Lispy interpreter that comes with an editor that can configure it via said Lisp. It's kinda like one of those Smalltalk VMs where the line is blurred between the code you're writing and the environment that it runs in.
- forward-slashed 3y agoThe interactivity is one. It's easy to evaluate expressions from within the editor. I am not sure you can programmatically change aspects of nvim on the fly, and even if so, probably not a central component of nvim experience. M-x in Emacs is much more powerful than : in (n)vim.
- eddythompson80 3y agoWhat if I don’t want to run a daemon for my text editor?
- j16sdiz 3y agoNo, vim is not an OS
- dinkleberg 3y agoI’ve been thinking about doing this, but then reminding myself that this is not a wise use of my time lol. However, this looks pretty nice. I might have to do it. Thanks for sharing your setup, I’ll be stealing some ideas.
- Graziano_M 3y agoIt was definitely not a good use of my time lol.
- teruakohatu 3y agoCan nvim read it natively or do you need to transpile it?
- gorjusborg 3y agoYou don't need to transpile it if you use https://github.com/Olical/nfnl https://github.com/Olical/nfnl
- delboni 3y agoIf you want a sample nvim setup using nfnl you can check this out: https://github.com/rafaeldelboni/cajus-nfnl https://github.com/rafaeldelboni/cajus-nfnl
- Graziano_M 3y agoThis nerdsniped me. I've finally taken plunge and started converting my aniseed config to nfnl. It's pretty painful, not even sure if I will keep the changes, but I want to see.
- Graziano_M 3y agoLook what you've made me do! https://github.com/Grazfather/dotfiles/compare/nfnl https://github.com/Grazfather/dotfiles/compare/nfnl
- delboni 3y agoCool! I've been using for some weeks and really liking so far :)
- sullyj3 3y agowell, nfnl transpiles it for you
- nerdponx 3y agoThere's also Hotpot https://github.com/rktjmp/hotpot.nvim https://github.com/rktjmp/hotpot.nvim
- kbd 3y agoI moved my Hammerspoon config to Fennel and haven't looked back either. The code becomes much more concise vs Lua. https://github.com/kbd/setup/blob/master/HOME/.hammerspoon/init.fnl https://github.com/kbd/setup/blob/master/HOME/.hammerspoon/i...
- Graziano_M 3y agoMe too, actually. Maybe that would have been a more notable thing for me to mention. I use and contribute to Spacehammer. https://github.com/agzam/spacehammer https://github.com/agzam/spacehammer
- toastal 3y agoI have a goal to move my Neovim config to LunarML one of these days. I too would love better ergonomics over Lua.