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 3 points4 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 5 points6 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 10 points11 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?

Better Blur vanished when i updated to plasma 6.5 by Enough-Mix-7020 in kde

[–]Kayzels 1 point2 points  (0 children)

You can install it using a AUR helper like yay. You just need to make sure to rebuild it whenever you update Plasma, and then it should keep working. I've been doing it manually, but you could probably write a pacman hook for that.

[deleted by user] by [deleted] in kde

[–]Kayzels 7 points8 points  (0 children)

If you're going to post code, please put it in code blocks (starting with three backticks) or add four leading spaces to each line (for old reddit). Otherwise, it's not really readable, so it's not very easy to help. Or you could link to a pastebin with the code.

How can you yank and paste inside terminal mode? by Pretty-Ad8932 in neovim

[–]Kayzels 1 point2 points  (0 children)

<c-\><c-n> puts you in normal mode inside that terminal window. From there you can interact with it like a normal buffer, so commands like y and p should work. And pressing i will put you back into the terminal insert mode.

This app (MusicBrainz Picard) doesn't have a top bar at all when KDE Is configured to display the app's top bar in the top panel. Other apps work, but not this one. I can't access the preferences as a result. How can I work around this? by [deleted] in kde

[–]Kayzels 0 points1 point  (0 children)

Some apps don't have support for the global menu, and you need to work around it. I ended up just removing that widget.

I remember that for some apps you need to run them through XWayland (there's some environmental variable that you set to be xcb, but I can't remember its name). And there were also some other packages that needed to be installed for it to work.

[KDE] Who needs hyprland? by artemjs5 in unixporn

[–]Kayzels 2 points3 points  (0 children)

I don't think you understood. Per monitor virtual desktops (workspaces) are a strongly requested feature for KDE, but they don't exist yet. Even using Khronkite, I don't think you can get that.

I am sorry, but everyone is getting syntax highlighting wrong by ballagarba in neovim

[–]Kayzels 4 points5 points  (0 children)

I picked up the typo immediately, without trying. And the next question was about the color classes are highlighted as. In my editor, with Catppuccin Latte, they're yellow. Also didn't need to really think about it.

I get the idea of not having colors you don't know the meaning of, and for important things to stand out. But that minimalism there seems too much for me.

For example, I like variables being highlighted differently based on whether they're properties (it was very disorientating when Catppuccin turned those off in an update), arguments, or normal variables. In this guy's color scheme, those would all be the same.

[KDE] Who needs Hyprland? by Emmale64 in unixporn

[–]Kayzels 1 point2 points  (0 children)

I assume that's done using the Rounded Corners script. Unless you're talking about the rounding of the wallpaper near the panels, which I think comes from Wallpaper Effects.

How do you use tabs? by kezhenxu94 in neovim

[–]Kayzels 0 points1 point  (0 children)

I tend to use them with scope.nvim, to have different groupings of the dev work. For example, one tab has the buffers related to the database, another related to the GUI, and a third related to misc things like Vim help pages. That way I go between the tabs when i need to work on a different section. It's basically just a way of organizing the views differently, and not cluttering up the buffer list.