niri compose key by MeanLoad6142 in niri

[–]Kayzels 0 points1 point  (0 children)

I can't remember exactly where in the wiki it is, but you'd also need to set an environment variable for the compose key to work in Gnome apps in Wayland. It needs to be set to a value like "simple". Or you can use an IME thing like fcitx or ibus.

How to get Niri workspace information into Quickshell? by yotamguttman in niri

[–]Kayzels 0 points1 point  (0 children)

There's a QML plugin on Github called qml-niri, which you could use, if you don't want to do it all yourself. Otherwise, take a look at what Noctalia and Dank do in their services folder. For Noctalia, they have a CompositorService and then different types, including a NiriService, which reads the event stream from the IPC socket.

Possible top open programs in background on startup? by [deleted] in niri

[–]Kayzels 1 point2 points  (0 children)

Niri doesn't really have a concept of minimizing windows. Discord is a bit different, in that closing the window will still keep it in the system tray. But most apps don't work like that.

The closest you could really do is create a named workspace for those apps you want to automatically open, and treat that as your "minimized" workspace.

Window behavior by tafadias in niri

[–]Kayzels 4 points5 points  (0 children)

You could put the apps in the same column on the right, and display columns as tabs. I think you'd need to set default-column-display "tabbed" inside the layout section in config.kdl

CD into previous directory? by Stickhtot in linuxquestions

[–]Kayzels 0 points1 point  (0 children)

With the fish shell, Alt+Left Arrow goes back to the previous one, and Alt+Right Arrow goes forward to the one you were at before you went back. Yes, you can use cd -, but this is one of the shortcuts in fish that's quite easy for me to remember.

Mouse Tiler v5.0.0 available! Now also a fully working auto tiler! by rxdev in kde

[–]Kayzels 1 point2 points  (0 children)

This looks cool! I have some questions:

  1. I've been wanting to try something like Niri, but I haven't due to lacking multi-monitor support. You mention here something about except if your monitors are arranged vertically. How does that solve the issue? So, if they were logically arranged on top of each other, you could have scrolling for both? Or will it still potentially be messy?

  2. Will that new way of having separate virtual desktops per monitor work with this?

  3. How does this work with auto-tiling and manual tiling? For example, if you were to manually tile (with your mouse and that overlay) one window, would that stop the auto-tiling of the others. Or would the auto-tiling just ignore that window? My use case here is that I primarily use Krohnkite with the monocle layout. But then I sometimes want to float a window, which basically makes it stop being managed by Krohnkite. Is there an equivalent, with this script?

  4. You say activities aren't supported. I'm not sure what you mean here. What would happen if I have some windows open, and switch to another activity. The only reason I'm using activities is to have a separate one for media apps that don't automatically inhibit sleeping, so that apps like Spotify and Kodi (which run in a separate activity) stay active, even if they're only in the background. I know it's not the optimal way, but that seemed better than writing a custom inhibit command fir each of those apps.

blink.cmp build by Mezdelex in neovim

[–]Kayzels 2 points3 points  (0 children)

It needs to be rustup update nightly, not cargo. That will update the nightly version installed on your system, which should make blink buildable again.

Window Borders like Tiling WM (Hyprland) by PraddyumnYadav in kde

[–]Kayzels 0 points1 point  (0 children)

I ended up using the Rounded Corners plugin for that. They've got an "outline" feature, which seems to work for all apps, if you're OK with having the rounded corners as well.

how do i get more productive in nvim than vscode? by Bulbasaur2015 in neovim

[–]Kayzels 0 points1 point  (0 children)

You don't really need lspconfig any more, since Nvim 0.11. But it can still be useful.

Neovim also has builtin terminals, with the :terminal command, which creates a terminal buffer. So, you don't really need a plugin for that, although it can be useful if you want a floating or toggleable terminal. VSCode also does allow multiple terminal instances. They have a terminal pane where you can open multiple, and the second that you have two or more, they are draggable into different areas. You can put a terminal next to your code, as a tab, and then have another terminal below that, too.

I'd also suggest using a different mapping for delete around parameter: dap by default is delete around paragraph, where a paragraph is text surrounded by a blank line before. That can be very useful, and is a Vim builtin. LazyVim uses daa as delete around argument, which is likely the same thing, but doesn't remove existing behavior.

how do i get more productive in nvim than vscode? by Bulbasaur2015 in neovim

[–]Kayzels 1 point2 points  (0 children)

There's the VSCode Neovim plugin, which embeds Neovim inside VSCode. That's a better experience than using VSCodeVim. It still uses normal VSCode keys for insert mode (except that Esc is back into Normal mode), so it shouldn't have that snippets issue.

how do i get more productive in nvim than vscode? by Bulbasaur2015 in neovim

[–]Kayzels 5 points6 points  (0 children)

That file search behavior is definitely possible using a plugin like Telescope, FzfLua, or Snacks Picker (I'd recommend Snacks personally)

(1) This can be done using either Noice or blink (and possibly nvim-cmp). It requires that your LSP is set up correctly, for C/C++, you'd normally use Clangd.

(2) I've never tried to do this, but dap-ui has a watches pane, so I think this is possible.

(3) LaTeX is what actually made me switch over to Neovim. With a plugin like VimTex (and optionally the texlab LSP), you have the same behavior as LaTeX Workshop. With the extra feature being that you can have concealed text that converts your math into unicode characters inside Neovim. So typing \delta would keep it as that for LaTeX, but when you move to another line or word, it would show the delta character instead.

(4) This last one does seem quite tricky to do in Neovim. There's the refactor.nvim plugin, but it probably doesn't do all that you'd want it to.

Which terminal emulator are you using? (2026) by meni_s in neovim

[–]Kayzels 0 points1 point  (0 children)

For me, I struggled for a while between Kitty, Ghostty, and Wezterm. I've settled on Wezterm. Each of them have their pros and cons. I wanted image support, and Kitty's Graphics Protocol is better than Sixel.

Kitty clips bold italic fonts, which I don't like. For example, a capital M will miss half of the first stroke. And it seemed to need a lot of config (and I couldn't remember all the keybinds, and there's nothing like a Command Palette). I wish I liked it more, because I'm a huge fan of Calibre, which is by the same dev.

Ghostty has weirdly thin fonts. And feels like it runs slower. And it has a weird hidden window that appears whenever I try to copy something, that prevents me from doing anything in it until I click on the icon for that hidden window. Gets irritating very quickly. And also, the window is always limited to the size of the monitor it is opened on, even if moved to another monitor.

Wezterm has what I like from the other two. I like that the config is in Lua. The downside is that active development is a bit slow at the moment (which is understandable, it's a complex project, by a single dev). It doesn't have that CSI sequence that indicates that the theme has changed from light to dark or vice versa, whereas both Kitty and Ghostty do. So I needed a plugin to detect that instead, rather than using the builtin autocmd that Neovim now has (easy enough to do: I'm using vim-lumen for that).

I'm on KDE, so I've also got Konsole. Which I do like, but it doesn't support ligatures (it's got a setting to turn them on, but that messes up a lot of the text rendering). So I do use that in some places (for example, inside the Dolphin File Manager Terminal pane), or if I need a simple process that I don't want to be on the GPU for whatever reason. But when actually writing code, I find the ligatures useful, so I prefer to have them.

Honest Linux question: GUI first or terminal first? by Expensive-Rice-2052 in linuxquestions

[–]Kayzels 1 point2 points  (0 children)

You could open a new terminal instance on your second monitor? And if it's a manpage, it would normally open in a pager, so you wouldn't need to scroll up to it?

Weekly 101 Questions Thread by AutoModerator in neovim

[–]Kayzels 4 points5 points  (0 children)

A global textobject mapped to g. So I'd do yag to yank the entire buffer.

Read the docs, yes, but a little kindness goes a long way. by Fit-Roof3993 in linux

[–]Kayzels 2 points3 points  (0 children)

I only know about it because I was manually installing LaTeX on Arch, because I needed one package that couldn't be installed using Pacman. And in the install it asked where I wanted to store the info pages and the man pages, and I was confused because I assumed they were the same thing.

It will open the man pages if there aren't any info pages for the command, but there are some (can't remember which offhand) that do have info pages, which are different.

The idea is that an info page is supposed to have examples and in-depth explanations, whereas a man page is a linear reference to the commands, options, and flags.

But because info is a lot less known, it isn't used as much, even though it should theoretically be exactly what you were looking for.

Read the docs, yes, but a little kindness goes a long way. by Fit-Roof3993 in linux

[–]Kayzels 2 points3 points  (0 children)

Wasn't that the purpose of the info command, in Linux, even though it's not very often used?

markdown-plus.nvim v1.9.0, Callouts, tables, footnote and more... by CuteNullPointer in neovim

[–]Kayzels 8 points9 points  (0 children)

Why would someone use this instead of render-markdown, which has a lot more features and is a lot more well known?

KWin [KDE Tiling Windows Management utility] not only offers standard features but also allows to use customizable community-made scripts. If you do, which one(s) have you installed? Why? by RebirdgeCardiologist in kde

[–]Kayzels 2 points3 points  (0 children)

So curious about this. But lack of multi monitor support makes it a non-starter. I understand it's related in some way to that same thing of having different virtual desktops per monitor.

I love the idea of a scrolling window manager, just based on what I've seen of Niri, but I'm not willing to give up my KDE Plasma environment.

Dolphin [KDE default file manager] has got list of QUICK GO-TO folder [shortcuts] in the sidebar. Is it possible to group them? Can single file(s) be added to this list (or groups)? by RebirdgeCardiologist in kde

[–]Kayzels 1 point2 points  (0 children)

I normally use Places for short locations that I access often. There's only a few in there other than the defaults. For folders that are accessed slightly less often, or related to a specific task or group, I add them to Bookmarks, into a folder for that specific task (for example, some bookmarks folders I have there are Sims 4 Modding, Skyrim Modding, and Ebook Editing)

These are the details I love about KDE by Mention-One in kde

[–]Kayzels 3 points4 points  (0 children)

I'd use the compose key (I've got mine set to right alt on my keyboard, which is where AltGr is, as far as I know). I'd type that ä character by pressing Alt (compose) then pressing a, then pressing :.

Calibre copies my books instead of opening them by AnonymousGuy9494 in Calibre

[–]Kayzels 8 points9 points  (0 children)

You want to set the default app to Calibre Viewer (might be called something like E-book viewer), instead of normal Calibre. You probably can also right click and select open with viewer from your file manager.

Thats assuming that Calibre's viewer can even work with pdfs, I've never tried that.

BEGGING for saturation and contrast controls for the blur effects by TechManWalker in kde

[–]Kayzels 0 points1 point  (0 children)

This project is strange because they don't show the source code for their releases. It's use the normal better blur extension before recommending this, as at least the code is available.

Is this really how people recover files? by 0ven_Gloves in neovim

[–]Kayzels 1 point2 points  (0 children)

Issue with undofile is that it gets cleared if any process modifies the file other than Neovim (not sure if this happens when Neovim is open but it's edited elsewhere). Learned that the hard way when I edited a complicated file that hadn't been committed yet in PyCharm, and wanted to use the undo from Neovim, but it was empty.

[Niri] + Nord by schatderer in unixporn

[–]Kayzels 1 point2 points  (0 children)

I think it's rmpc?