jdhao / jdhao.github.io

My personal blog: https://jdhao.github.io/
25 stars 6 forks source link

2020/01/01/firenvim_nvim_inside_browser/ #38

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Firenvim: Neovim inside Your Browser - jdhao's blog

Introduction Last year, I have written a post on how to edit texts inside the browser using Vim/Nvim or browser extensions which have Vim emulations. But none of them is satisfactory enough since they are either not convenient to use or lacking features compared to real Neovim empowered by various plugins.

https://jdhao.github.io/2020/01/01/firenvim_nvim_inside_browser/

evadeflow commented 2 years ago

Thanks for the tip about g:started_by_firenvim (a.k.a., vim.g.started_by_firenvim in Lua) to conditionally switch on/off certain behaviors. That really seems to be the key to making firenvim work without messing up your 'normal' config.

It's soooooo nice to be able to enter/edit markdown with nvim in the browser—with (almost) all of my plugins and keymaps active, no less. It seems we can have nice things after all! :-)

jdhao commented 2 years ago

Apart from some key bindings such as ctrl-w hijacked by the browser, the experience is the same as normal nvim. The nvim core dev have done a great job in implementing key features that enables all sorts of plugins. ❤️❤️❤️