Blog: 2023-07-20

From razwiki
Revision as of 22:52, 19 July 2023 by Razzi (talk | contribs)
Jump to navigation Jump to search

Sort bug is know, I guess: https://stackoverflow.com/questions/58852181/linux-whole-line-sort-does-not-sort-correctly

I was seeing it on lines like:

tnoremap <C-@>[ <C-@>N
tnoremap <C-[> <C-@>N
tnoremap <C-@>" <C-@>:terminal<cr>

where that was the sorted order. Weird... I'd expect from left to right to have the [ before or after the @, not between them...

Sigh... I'd like to be able to open vim with vim +help <topic> then have vim exit when I'm done. Instead it goes to the empty buffer like at the start of vim with no arguments. This is really turning into quite the yak shaving

That itself is just to help me figure out why vim is triggering visual mode when I press M-v in a nested vim session. I'd like to be able to paste in vim terminal.

Ok I'm sorta finding progress on the m-v. But now the swapfile issue is front and center once again. Why is it that only vim has such trouble with swapfiles? I should just turn em off.

Just now I discovered this terminal emulator st, but it runs on x and I'm trying to get that out of my config so it's a no-go for now. Though it does claim the suckless tag.


Also reminded of the Kakaoune editor, looks like vim with multiple cursors: http://kakoune.org/ - reminded of it by this other editor https://helix-editor.com/

But I think I'm going to just switch back to emacs, with my new knowledge of terminal window management done by an editor terminal emulator.

I keep seeing tree-sitter all over the place, looks cool but maybe so low level it just works and I don't need to learn it. All this great software for free, wow!

Making a vim plugin out of https://github.com/vim/vim/issues/2490#issuecomment-711439094


You can install from a sourcehut repo as a tar.gz if you publish a tag. cool. Did this for headlessvim, which doesn't work with the latest 3.11 python any more.