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.

Filter by
Sorted by
Tagged with
1
vote
0answers
33 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 ...
2
votes
1answer
66 views

Obscure Vim feature: +footer?

Inspecting some of Vim's features listed by vim --version I have noticed some obscure ones, for example, balloon_eval, balloon_eval_term and footer. There is an example in the documentation to test ...
0
votes
0answers
25 views

Vim unknown function: validator#enable [closed]

After I removed the syntastic plugin I get this error everytime I start vim. My _vimrc: set langmenu=en_US cnoreabbrev Tree NERDTree nmap <F1> :NERDTreeToggle<CR> " Vim with ...
0
votes
0answers
22 views

Calculate winpos arguments depending on screen/font sizes & lines option?

I am using Cygwin's X-windows and Gvim. I have a command that docks a Gvim window to the right side of my Windows 10 desktop so that I can take notes during video meetings, which seem to be the norm ...
0
votes
0answers
20 views

Adding a nasm syntax file to vim runtime directory doesn't work

I am trying to learn a bit about x86 assembly and Vim didn't have a syntax highlighter installed for it. I downloaded this One from github and placed it in the ~/.vim/after/syntax/ directory but this ...
1
vote
0answers
26 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 ...
0
votes
0answers
72 views

Suppress warning pop-up

I'm on Windows using gVim, Vim version: 8.2.2003. I get a warning pop-up with the following error message: Some language features are not available. To access all features, enable [strictTemplates](...
0
votes
1answer
26 views

How to enable right click mouse in gvim?

I can use right click mouse in vim. It can't be used in my gvim. How to enable right click mouse in gvim?
0
votes
1answer
30 views

Gvim loads incorrect colorscheme unless I run the command again

In my ~/.vimrc file, I have my colors set up like this: " Access colors present in 256 colorspace let base16colorspace=256 " Vim colorscheme colorscheme default " Lightline ...
1
vote
1answer
54 views

grep in my specific dictionary

I often need to make a case-insensitive search of the current word (under cursor) in a dictionary file which has a simple txt format, one entry per line. One possible solution is to record a macro in ...
0
votes
0answers
70 views

What is the difference between signed vim and unsigned vim?

On the vim.org download page, there's an option to download a "signed" version of vim for windows (https://www.vim.org/download.php). What is the difference between using one of the "...
0
votes
1answer
25 views

Matlab syntax highlight: Avoid “reverse video” for “%%” at start of line

I am using gVim 8.2 from Cygwin. The synax highlighting recognizes code lines starting with "%%" at columns 1 and 2 show the text black characters on orange background. It is not ...
0
votes
0answers
20 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 ...
0
votes
1answer
33 views

Can't use the usual !!foo in vim // gvim on Windows 10 - missing tmp files

I'm running vim // gvim 8.2 (fresh off of vim.org, and was before---just re-installed to do so as administrator, per instructions I'd missed before). I've been getting this since getting this Windows ...
3
votes
1answer
44 views

GUI support will not compile in latest from github

I'm using CentOS 7.5. I just did a git pull in my clone of the vim repo to the latest: last tag v8.2.2340. I'm trying to compile. No matter what I do, it will not compile for the GUI (which it's ...
0
votes
1answer
53 views

Sometimes gvim doesn't show character typed immediately

I do not know what the reason is and the rhyme isn't predictable either. Occasionally, as I'm using gvim, the character I type doesn't show for "a bit" (when this occurs, maybe ~1-2 seconds)...
0
votes
0answers
54 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 ...
2
votes
3answers
52 views

GVim keeps opening on the wrong workspace

I'm using KDE 5 with multiple desktops (in a 3x4 grid) and I regularly open Vim from the command line, e.g. with gvim file.txt The problem is when I do this, GVim often appears on a different desktop ...
1
vote
1answer
55 views

vim-dadbod with Azure sql uses SQLCMD with quotes that break it

Greetings Vim Experts! I'm using gVim on windows 10, and installing the plugin vim-dadbod to work with Azure SQL (SQL Server). I believe the plugin is installed correctly as I see the connection ...
0
votes
0answers
59 views

Highlighting the matching pair of a character changes the foreground color of Cursor

I'm using Vim 8.2 on Fedora 32. I have the following lines in ~/.vimrc for highlighting the Cursor, lCursor, CursorLine, and MatchParen highlight groups: highlight Cursor guibg=Green guifg=Black ...
0
votes
1answer
260 views

Gvim E370: cannot load library python36.dll with installed Python 3.8

I get often error E370: cannot load library python36.dll while using different plugins like: Fugitive.vim. I have Python 3.8 install with proper PATH. Is it possible to force Gvim to use python38.dll ...
0
votes
0answers
15 views

Issue Launching Gvim on Windows

I installed the Windows distribution of GVim and then installed Python3.9. I now get the following error message when trying to launch GVim, and have no idea how to fix it. I've tried changing my ...
-1
votes
2answers
71 views

Get GUI name for different settings in neovim

I am deciding between using either goneovim vs neovide, both on windows, but each uses the font height differently, so I a wanted to make something like: if has(goneovim) "goneovim specific ...
0
votes
1answer
34 views

Unwanted cascading indentation [duplicate]

I am struggling to regain control of indentation for certain filetypes, particularly when pasting code. I end up with what I call "cascading indentation" which is nearly unreadable. I've run ...
1
vote
0answers
88 views

Building vim with GTK on ubuntu

I am interested in building vim from source. The configure script is not detecting that I have gtk3 (dev) installed, and the only gui vim it builds is Athena. The non-gui portion of vim builds OK. I ...
0
votes
0answers
39 views

Why session in Vim did not save buffer from other folder rather than ~?

I use gVim on windows and save my current working files to session. However, when openning old session, it did not load files from other folder except home folder ~ (where I store my _vimrc file). My ...
2
votes
1answer
62 views

How to have Gvim 8.2 work with windows files containing a Unicode colon

Gvim 8.2 displays "Can't open file for writing" with a windows files that have a Unicode colon in the file name. Notepad, Wordpad, LibreOffice all work.
2
votes
1answer
82 views

A problem when use ALE for syntax checking and gvim for vivado's editor

VIM version: VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 14 2020 22:03:16) OS information: Microsoft Windows 10 Professional version 2004 (OS Version: 10.0.19041) Problem Description: I use gvim ...
0
votes
1answer
364 views

How to make Vifm use Neovim to open files?

I have both GVim and Neovim installed. When I open a file in Vifm, it is opened in GVim and not in Neovim. How to make Neovim the default editor for Vifm?
1
vote
0answers
36 views

How to get gVim to respect the aero snap keyboard shortcuts, ie Win+Left, Win+Up, etc

Is there a way to get gVim on Windows 10 to respond to the Windows aero "snap" shortcuts that move the window the left, right, maximize, minimize? Ie, Win+Left, Win+Right, Win+Down, Win+Up. ...
3
votes
1answer
50 views

How can I make a new line in my _vimrc after using the normal i command?

I'm very new to Vim and I have some ASCII art in my _vimrc. I've inserted it there using normal i, but it doesn't display properly, because the normal i commands don't have a line break at the end. I'...
0
votes
2answers
93 views

How do I turn off specific listchars in my current file?

In my .vimrc file I have listchars set to showing tabs and trailing spaces. set listchars=trail:~,tab:>- How do I change my settings for the file I currently have open to stop showing the tabs?
-1
votes
1answer
21 views

How to use vi to batch match characters and paste after the matched characters

I want to use vi to quickly edit text. there is the format on lines m to n of the file. .lut_da_25, .abc_we23, ... .yy_ewe, I want to edit the above lines to the following ....
1
vote
1answer
40 views

GVim on Windows 7 - open file sets default suffix, want all suffixes

In GVim running on Windows 10, when I open a file, the displayed files are limited to the suffix of the file currently being editted, e.g., "C Source Files (*.c)". I can change the pull down ...
0
votes
1answer
65 views

Remove bottom and right borders (gaps) and customize scrollbar in Athena GVim

I found many webpages [1][2][3] explaining how to color the gaps from GTK GVim, but how can I do the same for Athena GVim? In the left picture, gap should also be black, not gray. What about the ...
1
vote
0answers
52 views

gvim remove menu and toolbar, but keep original geometry

I start gvim with this entry in .bashrc alias G='gvim -fg white -bg black -geom 80x45 ' and have in .vimrc set guioptions=aeik which works as expected and gives me a gvim that looks like vim in a tty, ...
0
votes
0answers
21 views

gVim on Windows not distinguishing Numpad Enter

Using gVim on Windows, I'm trying to add a mapping to <kEnter>, but it seems that it's not being treated seperately from <CR>. New to Windows, so I thought this may just be an OS thing, ...
2
votes
1answer
173 views

Gvim throws the error 'E285: Failed to create input context'

I'm running into a bothersome issue I can't seem to solve myself. When I open gvim I receive the error E285: Failed to create input context The error always comes twice, and looks to be related to ...
0
votes
1answer
68 views

gvim swaping between underline and normal visual text selection in visual mode

I'm having a weird issue running gvim 8.2.1081 on fedora 32 using kde. When selecting text in visual mode gvim keeps swapping between an underline and the expected visual text selection while moving ...
0
votes
0answers
38 views

gVim wont open skeleton code when creating new file

I am currently using gVim to code in C++. I've recently made a skeleton file that includes imports, macros, etc., so that every time I make a new .cpp file it automatically adds the skeleton to it. To ...
0
votes
0answers
27 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
1
vote
1answer
162 views

changing font size leaves white bars in gvim

I wanted an easy way to resize the font in gvim (GTK), so I found this post: Quickly switch between fonts at runtime I created the following bindings based on that post: let g:fc_list = [ \ ...
2
votes
2answers
93 views

Highlight Multiple Lines of Comments

I'm on Ubuntu 18.04, vim-gtk3 8.0. I'm trying to get gvim to highlight multiple lines of comment that starts with a particular word. For example, consider the word 'NOTE': // NOTE(Ryan): This would be ...
0
votes
1answer
177 views

Highlight Particular Words Within Comments

I'm on Ubuntu 18.04, vim-gtk3 8.0. I'm trying to get gvim to highlight particular words within a comment. For example, take the word 'NOTE'. In a '.c' file: // NOTE(Ryan): ... and a '.sh' file: # ...
0
votes
1answer
111 views

GVim Shows Python Support Error When Opening

Every time I open up gVim there is an error that says that Python is not supported. I have checked numerous websites and everything that I have tried does not seem to work. In my vimrc file, I have ...
1
vote
1answer
61 views

undercurl not visible to me in gvim on WIndows 10

I like to use undercurl to highlight spelling mistakes in Vim. I believe it does this by default. This works fine in MacOS and Linux but it isn't visible for gvim on Windows 10. Originally, I ...
0
votes
1answer
75 views

How to bind these keys to prevent recursive binding in Vim?

I have been trying to do :noremap j k and :noremap k j which works but instead of going up it goes slanted up and down. I want j to move up and k to move down which is opposite in vim. I also tried :...
1
vote
1answer
232 views

Tab does not work with vim for me [closed]

Problem statement :- Tab does not work with vim for me Description :- I am using vim-awesome for plugin in vim. Now the tab does not work. My expectation is pressing should result in tab being ...
4
votes
2answers
879 views

How can I change the colorscheme of the vim terminal buffer?

I use GVim with the gruvbox colorscheme. When I open a terminal inside vim with :term, the colors are different, it looks like another colorscheme is applied. The other terminals I use (urxvt and ...
0
votes
1answer
72 views

How to open pdf from local path with parameters using gf/gx like command?

I have a path name with page number in vim buffer and I want to open it using Sumatra PDF. d:\drivers\instruction.pdf -page 40 Instruction above works fine using command line - cmd.exe and it opens ...

1
2 3 4 5
7