Skip to main content

Questions tagged [gvim]

gVim is the GUI version of Vim (opposed to Vim running in a terminal emulator). It behaves exactly the same, but has additional graphical features.

103 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9 votes
0 answers
18k views

Is there any similar way in vim to get standard path like neovim stdpath function

In neovim, we can get default standard path via stdpath() function. I wonder if there is any way to do that in vim. below is the help doc about stdpath() in neovim: stdpath({what}) *...
ZMJ's user avatar
  • 293
8 votes
0 answers
498 views

gVim - Use different fonts using :highlight

I want to set gVim font size for Comment highlight group. When I set it, it does not do anything (the font is still the same but color changes). My .gvimrc: se guifont=Fira\ Mono\ Regular\ 10 hi ...
jiwopene's user avatar
  • 181
5 votes
0 answers
101 views

gvim: Make the mouse follow CTRL-W_j and CTRL-W_k

I run a Linux/GNOME laptop where the focus follows the mouse, and I have vim's mousefocus feature turned on, so the selected viewport follows the mouse, too. But when I try to switch viewports using ...
Michael Scheper's user avatar
5 votes
0 answers
544 views

Why are Vim 8 :term colours with gvim different from those in plain vim :term or bash?

Vim 8 :term colours in gvim happen to be different from those seen in plain vim :term or bash. How come? How does one obtain the same bash colours in gvim? EDIT: I have been reading a bit more about ...
Serge Stroobandt's user avatar
5 votes
0 answers
3k views

Unable to map ctrl-l

My _vimrc contains the following lines: set nocompatible source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/mswin.vim behave mswin nmap <c-l> :w<CR> nmap <c-m> :w<CR> ...
Gqqnbig's user avatar
  • 151
4 votes
0 answers
755 views

Why does Gvim not see my X11 fonts?

After going blind from using Gvim with non-bitmapped fonts, I tried to narrow my question from the previous attempts (1) and (2) (with older attempts going back years). Specifically, I wanted to find ...
user2153235's user avatar
4 votes
0 answers
261 views

Directory symlink browsing moves me to new location when autochdir is set

I have a symlinked directory as such: ~/nested Which points to this directory: ~/whatever/yetanother/andanother/nested When I launch gvim or command line vim (7.4, with the standard, built-in ...
user62177541's user avatar
4 votes
0 answers
1k views

How to resolve gVim startup error "No D-BUS daemon running"

Stating gnome-vim from the terminal on Linux Mint 17.3 I am getting the following error: An error occurred while loading or saving configuration information for gvim. Some of your configuration ...
cmcginty's user avatar
  • 170
4 votes
0 answers
3k views

How to Make gVim Transparent

I am using Vim on Arch Linux. One thing I like to do is using my transparent terminal I can be editing a latex file and have it automatically compiling and showing behind what I am writing. Is there a ...
carloabelli's user avatar
4 votes
1 answer
458 views

Stray characters when scrolling in gvim

When scrolling with the mouse wheel, characters will often duplicate themselves on subsequent lines. For instance, if I'm scrolling down, I can sometimes see an open brace on its line and on the ...
Vim Questioner's user avatar
3 votes
0 answers
792 views

What Neovim GUIs have GUI scrollbars as described in vim under :h gui-scrollbars?

TL;DR I am looking for a Neovim GUI with GUI scrollbars as described in vim under :h gui-scrollbars (accessed on 2021-08-21). What GUI Vim scrollbars are like 2. Scrollbars *gui-...
Hotschke's user avatar
  • 4,830
3 votes
0 answers
258 views

How to make gvim always confirm quit when pressing the X button on the window

Using set confirm or the confirm-quit plugin makes it so that vim always confirms quit. But in gvim, if you just press the X at the top, it always quits -- no confirmation (unless the file is unsaved) ...
101010's user avatar
  • 131
3 votes
0 answers
435 views

How to load vim-javascript using Vim 8 native package manager?

I am long time Vim (Windows 10, gVim 8.1) user, happy as a clam with Vim 7. I have not used any of the plugin managers, just the one-off plugin from vim.org. I went looking for plugins to help with ...
partlycloudy's user avatar
2 votes
0 answers
83 views

gvim can be really slow to display the last typed character in VirtualBox. How do I fix that issue?

While working in an Ubuntu VirtualBox (host is also Ubuntu), gvim is being really slow at showing the last character I just typed, or, when I move the cursor up/down/left/right, it also takes 1 to 2 ...
Alexis Wilke's user avatar
2 votes
0 answers
235 views

Cannot set guifont or guifontwide to installed font

OS and desktop environment info: uname -a Linux debian 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux sudo dpkg -s lxde | grep Version Version: 11 sudo dpkg -s lxappearance | ...
newview's user avatar
  • 301
2 votes
0 answers
148 views

Eye torturing colors in Vim/GVim terminal

I am using GVim but this happens in terminal Vim too. I use the Gruvbox theme. Whenever I start the terminal using :term, I see too blue colors when I change the directory within the shell. The ...
LordRishav's user avatar
2 votes
0 answers
2k views

How to find and edit the setting of vim in windows

I have installed vim in windows. I am struggling hard to find the setting of vim where I can do the changes and importing packages in vim. Any help would be really appreciated. Regards, Pankaj
Pratik's user avatar
  • 21
2 votes
0 answers
253 views

"Edit with existing Vim" - how does it work?

I have Vim 8.1.1 on Windows 7. I can click on the file with right mouse button, and there will be an option "Edit with Vim". Then, if I click another file, there will be two options: "Edit with Vim" ...
john c. j.'s user avatar
2 votes
0 answers
298 views

gVim very slow start with guioptions-=T

I'm experiencing the problem with gvim taking ~20 secs to start when I have guioptions-=T in my .vimrc. Tried both version 8.1.0875 and 8.2.0121 I found this bug report which is now closed, but the ...
Matteo Riva's user avatar
2 votes
1 answer
2k views

Where does gVim find font options for its `guifont` pick list?

In gvim, :set guifont=* brings up a GUI panel from which one can choose a font family, weight, slant, and size. Where does gVim find these fonts? I'm using Cygwin's X-windows. While the scheme for ...
user2153235's user avatar
2 votes
0 answers
136 views

gvim adds one extra pixel spacing after each character?

For some reason, gvim is adding one extra pixel of spacing after each character. It almost seems similar to this question, but in my case gvim does use the correct font. I compared the same font in ...
Bart's user avatar
  • 143
2 votes
0 answers
173 views

Cursor change when GVIM lost focus

In GVIM I use vertical thin line as my cursor by adding following line to my .gvimrc set guicursor=a:ver13-Cursor This works perfectly as long as window remained focused. As soon as GVIM window lost ...
pazel1374's user avatar
  • 121
2 votes
0 answers
45 views

gvim gnome hides command prompt

This is not firmly reproducible but when I run ctrl+wv to create a vertical split window, I sometimes lose visibility to the colon command prompt. Command prompt still works invisibly. Sometimes I can ...
John's user avatar
  • 121
2 votes
0 answers
102 views

Does Windows GUI Vim perform font substitution for glyphs unavailable in current font?

MacVim's documentation specifically (if obliquely) mentions font substitution, and I've found evidence online that GTK2 gVim does it too. But does Windows gvim? N.B. I'm already aware of the '...
Rich's user avatar
  • 32.4k
2 votes
0 answers
96 views

How to properly use the MDI window pop-in (-P parameter)

I've never in 5+ years of vim usage and writing all kinds of custom plugins been able to properly figure out how to use the gvim -P windowname command line option. According to vim's own ...
Tim's user avatar
  • 436
2 votes
0 answers
106 views

Syntastic checking for embedded handlebars code?

I'm editing some HTML, which has embedded handlebars templates. For example: <script id="rowTemplate" type="text/x-handlebars-template"> <tr> <td>{{ id }}</td> <td&...
Roger Lipscombe's user avatar
2 votes
0 answers
95 views

:!make is at least 10times slower compared to terminal on MacOS X

I am using MacVim version 7.4. I am authoring a large LaTeX file and I use a GNU Makefile to compile the documents along with lots of figures and other targets. The command make generates lots of ...
Bichoy's user avatar
  • 193
2 votes
0 answers
428 views

gvim on windows - compiled ycm plugin now crashing on start

I installed the YouCompleteMe(YCM) plugin and compiled it using the provided instructions, one after the other for all options excluding rust. Below is a reproduction of the commands I ran, the reason ...
vimLover's user avatar
2 votes
0 answers
153 views

escaping a character included in a conceal command vimscript

I'm playing with conceal in help files to highlight / colour specific text strings which was working fine until I added the :print: example below. Using this concealed all the : as expected so I ...
Steve's user avatar
  • 276
2 votes
0 answers
994 views

Gvim rendering artifacts?

I'm running Gvim 704 on Windows 7 Ultimate x64. Sometimes for some unapparent reason I get these blue dot artifacts: I'm very minimalist when it comes to plugins, I only use pathogen, ctrlp, ...
vexe's user avatar
  • 281
1 vote
0 answers
28 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 ...
Michael Scheper's user avatar
1 vote
0 answers
71 views

Is there any "minimalist" GVim (or any GUI-based Vim) distribution for Windows?

I'm currently working on a simple WPF (Windows) application that employs GVim as an embedded text editor. The application is supposed to embed GVim into itself as follows (although it's mostly ...
Sad Lame Developer's user avatar
1 vote
2 answers
63 views

In gVim 9.1 how to have different backgrounds for text and the empty area to the right of <EOL>, with hlsearch ans syntax highlight still working?

I would like to use two different backgrounds colors bg1 and bg2 with: bg1 for all text on a line (possibly nothing if line is empty) up to the end-of-line, bg2 for the empty area after the end-of-...
gilgron31's user avatar
1 vote
1 answer
48 views

Move between buffers of a certain filetype

scenario: I have a bunch of programs that generate output, the programs and output are open in buffers and the programs are one filetype eg .r and the output is another filetype eg .txt I want to ...
neverdimed's user avatar
1 vote
0 answers
57 views

How to solve vim editing data files on multiple locations (eg: different devices)?

Sorry for my lousy title, feel free to improve it because i am not good at describing my issue. I don't know how to use 1 sentence to describe my problem, hence lengthy text below. sorry. I uses vim ...
andrew_ysk's user avatar
1 vote
0 answers
139 views

Set fallback font in gvim

gVim provides an option, :h guifont, to set the font of the gui window. Although it accepts a comma-separated list of fonts, it selects the first available font. If a symbol doesn't exist in the ...
3N4N's user avatar
  • 5,864
1 vote
0 answers
72 views

How to change Vim's unsaved change symbol + to *?

By default, the unsaved change symbol is + shown ahead of the file name on tab-bar or on title-bar. Is it possible to change this symbol? For example, to *.
user257122's user avatar
1 vote
0 answers
19 views

I am developing my own python package, but Omnicomplete won't recognize it

I have my package in a local folder (say C:/Users/Myself/PythonStuff/MyPackage). Next, I created a new file in C:/Users/Myself/PythonStuff where I import my package, i.e. on top of my new file I have ...
Barzi2001's user avatar
  • 748
1 vote
1 answer
110 views

Inserting digraphs but unintentionally holding down CTRL key

In insert mode, I insert digraphs using CTRL-k. For example, I get é by pressing CTRL-k ' e. However, when typing fast, I am often still holding down the CTRL key when I hit the ' key which cause Vim ...
John Samadaranche's user avatar
1 vote
0 answers
107 views

font size for specific file type

this guy explains how to make a slide presentation in vim: "Giving a Text Based Slide Presentation in Vim without Plugins" https://invidious.osi.kr/watch?v=7fIR55kkTwc he defines file type ....
neverdimed's user avatar
1 vote
0 answers
89 views

gVim ':terminal' accents don't work

I am using gVim in Xubuntu 20.04. My version is vim 8.2.4295. If I use a regular terminal, like xterm, and open Vim and then type ':terminal', I can use accents, e.g., íàê, etc. while in the vim-...
Carlos's user avatar
  • 11
1 vote
0 answers
110 views

Accessing python dataframe columns in vim editor upon pressure of a key

I have the following situation import pandas as pd T = read_csv("MyFile") I would like to have a list of the dataframe T columns when I type T[" and then I hit a key like <tab> ...
Barzi2001's user avatar
  • 748
1 vote
0 answers
197 views

Vimwiki: My vimwiki index file was deleted by accident. Is there a way to recreate it?

My vimwiki index file was deleted by accident. Is there a way to recreate it? I have all the *.wiki files that have the content. I was hoping there was a command to generate an index from capturing ...
David's user avatar
  • 11
1 vote
0 answers
39 views

Open file with path over 260 signs length in WIndows

Is there any way to open file with Gvim under Windows 10 from path over 260 signs length with out mapping the path to network drive?
gradzikb's user avatar
1 vote
0 answers
14 views

What is gVim render stack?

I would like to know which technology/ies are used to display gVim windows and fonts on graphical environments (Windows, Mac, Linux and BSD). Thanks in advance
ppbitb's user avatar
  • 111
1 vote
0 answers
80 views

colorcheme in vim is partially working. how can I apply the theme successfully?

Thank you for all yours advise that for help to improve my question. I'm not find yet how to resolve this problem in here. I'm really appreciate If you left the link about answer of this problem. ...
hibernation's user avatar
1 vote
0 answers
116 views

Getting the half of a glyph

while trying to add a unicode font, I am getting the half of the font, like in line 239 and 240 in the screenshot: I have, in my vimrc: set history=700 " How many line Vim ...
BaRud's user avatar
  • 491
1 vote
0 answers
282 views

gvim vs. xterm: what's wrong with my guifont?

The 10x20 is the (alias for) font I use with xterm -- and I like it. Both for shell-commands and vi/vim. Yet, when I use the :set guifont=10x20, I get "w i d e l y" spaced characters for ...
Mikhail T.'s user avatar
1 vote
0 answers
2k views

gvim 8.2 windows10 _gvimrc location

I am using gvim. I have checked the location of the RUNTIMEFILE with :echo $RUNTIMEFILE and found that is is located in c:\Programme\vim\vim82. The file _gvimrc is there indeed. However, I do not have ...
RJandl's user avatar
  • 11
1 vote
0 answers
29 views

Passing command to shell with "&" operator fails to open app, ubuntu 20.04

Hi I open files in the same folder the current file in the buffer in a couple of GUI apps (inkscape and libreoffice calc) on a regular basis from within Gvim as part of my workflow . Inkscape is the ...
ajr_chm's user avatar
  • 11