Neovim command/codes to select visually the pasted text
How is neovim command/setting to select visually selection of the pasted data that has just been pasted as gv
can’t do so?
Highliting the cursor line in vim
I would like to have the line with the cursor in it, known as cursorline to be highlighted as heavily as possible. The 15-years-old topic was informative for me: How to correctly highlight cursor line in VIM? as :set cursorline
works for me mostly, but I was unable to get any visible result from :hi cursorline
and :hi specialkey
using Vim 9.0 on Linux laptop. The most desirable highlighting for me is changing the font size, but changing any font characteristics or line margins is interesting for me. Where can I read the list of possible styles for the cursor line?
syn match exclusively within a region
I’m trying to add syntax highlighting for arguments with patterns similar to this:
When I create a new file in nvim why doesn’t the language server or treesitter work with that file?
every time I create a new file in nvim I have to write some code then close and reopen the file to get syntax highlighting, snippets or lsp. Not sure why, I thought it could be connected to lazy loading but looking at examples there are a lot of people who lazy load most things and there seems to be vary few people saying they’re having this issue so I’m at a loss with it.
Setting highlight for ColorColumn in neovim using Lua
In vim, I can do:
setting ColorColumn in neovim
In vim, I can do:
Copying from Neovim to System Clipboard causes a newline character at the end of line
I want to copy the line from neovim to the system clipboard (using “+yy command) but it adds a newline character to the end (two lines are seen in gedit).
How to :set keymap=language in init.lua?
I’m new to NeoVim and vim in general, and I’m trying to set it up. I’m going to use it to write text in my native language and in order to execute vim commands I constantly have to switch the language. I want to avoid this by leaving my native language for the insert mod, and executing commands in English.
Get an exact copy of the buffer as it appears in the window
For a plugin I’m developing, I want to show a floating window somewhere within the buffer view, but want to work out exactly which rows and columns in the window are already taken up by content in the buffer so that I can place the floating window in a location where it does not obscure the code.
Get the breakindent indent size for a specific line
For a plugin I’m building I need an exact copy of the buffer as it’s visible. For this I have written a function that unwraps the lines in the buffer as if they were their own lines.