Questions tagged [linux]
For questions specific to the Linux operating system.
149 questions
0
votes
1
answer
63
views
Why does setting SESSION_MANAGER='' make Vim faster to load without breaking the clipboard?
I recently noticed that my Vim was loading slower than instantaneously, so I decided to benchmark it and noticed it was taking a full second:
time ex +q -u NONE
real 0m1.031s
user 0m0.020s
sys ...
1
vote
1
answer
93
views
Mapping does not work in "Press ENTER or type command to continue" screen only on macOS
Assume this setup:
Start Vim via command vim -u NONE -N.
Execute nnoremap <C-e> :!echo hello<CR> to create a mapping. This mapping means, when I press Ctrl-e, it runs the shell command ...
1
vote
1
answer
166
views
Trouble trying to compile Vim on Rocky Linux
I cloned the github Vim repository, cd'ed into the vim directory and ran make but got this error:
checking whether stack_t has an ss_base field... no
checking --with-tlib argument... empty: automatic ...
1
vote
0
answers
69
views
Does vim-gtk support stylistic sets and texture healing?
I've installed Monaspace on my Mint system (21.3, Cinnamon edition), and selected it for use in gvim (8.2.2121). However, texture healing isn't working and ligatures don't look right.
I have the ...
0
votes
1
answer
246
views
Vim visual block copy don't paste in KDE konsole
Selecting by visual line mode and copying (V and y) in vim in rxvt-unicode or in gnome-terminal and pasting in another tab of that terminal with Shift + Insert works well.
But trying to do the same ...
0
votes
1
answer
82
views
How do I highlight all words in a vi file via "*" with the cursor on that word?
I need to highlight all similar words in a file. I thought * did this by default, but it is not working on my new Linux setup.
0
votes
0
answers
186
views
Why is key binding for CTRL-L key messed up?
I have run into a Vim key binding issue at the office recently. On the Linux system where I do my development work, while running Vim the CTRL-L key no longer redraws the screen. The .exrc file in my ...
2
votes
2
answers
1k
views
See Last Commands Output from the Terminal Buffer
Lets say I run the external very_long_taking_command like this:
:!very_long_taking_command
and I get the output in this Vim Terminal where it says "Press ENTER or type command to continue".
...
1
vote
1
answer
131
views
How to configure my own highlight for Vim editor in Linux using ~/.vimrc and ~/.vim/colors/mycolors.vim files? [closed]
I want to configure and customize my own syntax highlight for Vim editor in Linux Ubuntu 20.04. In my home directory, I created two files, ~/.vimrc and ~/.vim/colors/mycolors.vim. Here is the full ...
1
vote
1
answer
285
views
Syncing x clipboard with yanks and put only?
I have discovered the joy of having :set clipboard^=unnamedplus.
One issue I often face however is having whatever was last copied or yanked be overwritten by what I just deleted.
I don't think ...
0
votes
1
answer
309
views
Compound alt-key mappings work in Vim but not NeoVim
I have a number of alt key re-mappings in my Vim .vimrc that I copied over to my Neovim init.vim file. The single alt key mappings work fine but any compound re-mappings are not working. It seems ...
0
votes
2
answers
453
views
Syntax highlighting with only some allowed colours
In my ubuntu gnome-terminal I have vims default syntax highlighting color scheme + some color-tuning made in my gnome-terminal to filter out most colors with green except red, purple and brown. ...
-1
votes
1
answer
236
views
Is there a grep-like command that can understand vim regex syntax?
ack, ag, grep, pgrep, ripgrep, ugrep are binary filter commands that understand various regex syntax flavors. Is there a binary filter command that can also understand vim regex syntax flavor? I'm so ...
1
vote
1
answer
3k
views
How to run current python file in floating terminal? Using neovim and NvChad
FYI noob here.
I want to run current file in floating terminal. I'm using NvChad and when I execute ALT+i I get the following:
I already played with some key binds, but I haven't achieved what I need....
1
vote
1
answer
1k
views
How to correctly set up :make for building Vim?
My question could fairly be a duplicate of this, but I hope I'm making it critically different by asking about :makeing Vim itself and having a meaningful quickfix window. (In reality, my use case is ...