linuxusers.in is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
If you'd like to prank a fellow Vim user, send them a text file with `vim: revins` at the bottom and ask them to type some text in it... https://vimhelp.org/options.txt.html#%27revins%27
Unless they've turned off their `modeline` setting, something like this should happen:
TIL: #vim #neovim has a built in command "TOhtml" which exports your code to a webpage you can share or print. https://neovim.io/doc/user/lua.html#vim.tohtml
Show HN: Searchable Vim Cheat Sheet with Favorites (Open-Source)
Link: https://nvim-cheatsheet.vercel.app/
Discussion: https://news.ycombinator.com/item?id=43307745
Also this is incredibly useful info:
https://github.com/lacygoill/wiki/blob/main/vim/vim9.md
#vim
Normally I do all filtering in external scripts, even things like comments or snippets, mostly Python or awk, but repeated regexp in place makes more sense as vim9script.
You: I need emacs to process this file!
Me: We have emacs ^[dba vim at home.
vim9script
# Changes all leading '\t' to ' '
def g:Detab()
while 1
try
execute ":%s/\\v^( *)\t/\\1 /g"
catch /Pattern not found/
break
endtry
endwhile
echo "Detabbed!"
enddef
nnoremap <F6> :call Detab()<CR>
(put this in your .vimrc, reload, or in a file and :so FILE )
Well, if you know very well, in case you missed it ...then
Augment.vim: AI Chat and completion in Vim and Neovim
Link: https://github.com/augmentcode/augment.vim
Discussion: https://news.ycombinator.com/item?id=43097814
Vim after Bram: a core maintainer on how they've kept it going
Link: https://thenewstack.io/vim-after-bram-a-core-maintainer-on-how-theyve-kept-it-going/
Discussion: https://news.ycombinator.com/item?id=43068884
~/.vim/vimrc
using vim-plug for plugin support.https://codeberg.org/JustineSmithies/qtile-x-dotfiles/src/branch/master/.config/nvim/init.vim
Show HN: VimLM – A Local, Offline Coding Assistant for Vim
Link: https://github.com/JosefAlbers/VimLM
Discussion: https://news.ycombinator.com/item?id=43054244
In the age of GenAI and privacy abuse, open-source software and everyone who is contributing to building, maintaining, and supporting FLOSS are real heroes. Today, I thank all of them on this #ilovefs day.
I appreciate keeping software free so everyone can afford and use it. I love #Vim, #Linux, and #FreeBSD very much.
Thank you.
PS: Please share your gratitude with the #ilovefs tag.
Automating the Vim Workplace (2020)
Link: https://sharats.me/posts/automating-the-vim-workplace/
Discussion: https://news.ycombinator.com/item?id=42990801
@dougmerritt
I completely lost the scheme article I was planning to talk about after tagging all the schemers x_x I found and wrote another #vim/#emacs personal at least x_x
in eshell, issuing vi drops you into this interesting fantasy mode. It’s quite funny to use !! within vi within emacs. Consider using it instead of #vim or #doom.
@screwtape I never thought to try that! So I checked it out, Eshell actually has a vi
aliased to the command eshell-exec-visual
, which goes through the trouble of creating a Term-mode buffer running a terminal process of whatever command you specify (e.g. “vi”) and titling it the name of the process (e.g. “*vi*
“) for you. You can do the same thing with less
, or top
, probably also fish
shell, though I haven’t tried it.
You know what would be really funny? If you modified the find-file
command to open every file in a Vi process via eshell-exec-visual
!
But ultimately, it is like running the man
command in Emacs, which runs Less in a similar way. I usually prefer my applications to be written in Emacs Lisp (like viper
or woman
), and not run a compiled C program in a separate process controlling Emacs with ANSI terminal control codes.
Instead of working on my parser I wrote a silly #vi #emacs #eshell useage #medium post.
#development #environment #lisp #programming
https://medium.com/@screwlisp/executing-common-lisp-in-vi-in-emacs-shell-023177e0fb13
The gist is that in eshell, issuing vi drops you into this interesting fantasy mode. It's quite funny to use !! within vi within emacs. Consider using it instead of #vim or #doom.
Trying out Zed after more than a decade of Vim/Neovim
Link: https://sgoel.dev/posts/trying-out-zed-after-more-than-a-decade-of-vim-neovim/
Discussion: https://news.ycombinator.com/item?id=42817277
The State of Vim
Link: https://lwn.net/Articles/1002342/
Discussion: https://news.ycombinator.com/item?id=42810176
Llama.vim – Local LLM-assisted text completion
Link: https://github.com/ggml-org/llama.vim
Discussion: https://news.ycombinator.com/item?id=42806328
Bad Apple but it's 6,500 regexes that I search for in Vim
Link: https://eieio.games/blog/bad-apple-with-regex-in-vim/
Discussion: https://news.ycombinator.com/item?id=42674116
The State of Vim
Link: https://lwn.net/SubscriberLink/1002342/a8d8a17f30968b93/
Discussion: https://news.ycombinator.com/item?id=42665222
here's a #vim theme based on this one frame of the Nostromo UI from Alien.
here’s the theme https://github.com/dhrm1k/nostromo.vim. feel free to use it. fork it. edit it.
do let me know how it is. #vim #neovim #texteditor #nvim