Questions tagged [cygwin]

Question about the usage of Vim in a cygwin environment.

Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

/0000/0000 search present when starting NeoVim in Mintty

When I start the Windows-native NeoVim (with an empty init.vim) in a Mintty terminal for Cygwin (which sadly doesn't have its own NeoVim), a search is already present: Otherwise it works. And the ...
Amaterasu's user avatar
  • 101
3 votes
1 answer
1k views

Using the execute shell command (:!) on Windows and MSYS2

I'm new to neovim (and vim in general), and I'm trying to use it on Windows with MSYS2. I noticed they have a package for vim, but not for neovim. I used the neovim installed through chocolatey ...
Bodhi Daruma's user avatar
1 vote
1 answer
37 views

Why does this pattern make :global work only on the first line of the highligted match?

\/\*.*\(\n\s\*.*\)*\n\s\*\/ is a pattern which I cooked up to match some multi-line C comments, i.e., in the format of: /* Comment Text * Comment Text * Comment Text */ Searching for the pattern ...
Monke's user avatar
  • 13
1 vote
0 answers
318 views

Vim syntax highlighting becomes crazy

Some overview and history. Environment: OS: Windows 8.1 Emulator: cygwin (mintty) Terminal: xterm-256 Vim: v8.0 (Cygwin edition) Vim setup: Plugin manager: VimPlug Enabled plugins: Plug 'scrooloose/...
Фёдор Лапшин's user avatar
4 votes
0 answers
682 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
0 votes
1 answer
93 views

Vim Looks Very Weird When Using chcp 65001

I've needed to switch to chcp 65001 to properly display some Unicode characters. However, I've noticed that my Vim isn't displaying characters properly when chcp is set to 65001 as opposed to 437. ...
Gnosis's user avatar
  • 21
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
3 votes
1 answer
96 views

How do I pick a line and write it to an external file?

I'm searching through a big text file and want to copy certain lines to another file - there is no specific pattern, I need to visually inspect and copy those lines to an external file. The command :...
mljm's user avatar
  • 31
1 vote
1 answer
258 views

Windows context menu "open with vim" symlink error

New install of Vim 8.1.1 on Windows 10 64bit. Also running cygwin. From a Windows Explorer r-click context menu for a file, the "Edit with Vim" produces a cmd.exe window with: C:\WINDOWS\system32\...
kmarx's user avatar
  • 21
1 vote
0 answers
133 views

Latest Vim on Cygwin

Why can I not get Vim 8.1 on Cygwin? The latest version I can find is 8.0.1567-1. I found out that patch 8.1.0372 fixes the slow scrolling when 'cursorline' is set.
Spiffidimus's user avatar
1 vote
1 answer
137 views

Why is this particular keystroke (shown inline) highlighted in VIM version 8.0 under Cygwin, and how to remove it?

Whenever I write ];, in VIM-80 under Cygwin, these symbols get highlighted in yellow. This is a bit annoying and I want it removed. Following the on-line help I found the file "usr_44.txt", regarding ...
drC1Ron's user avatar
  • 113
0 votes
1 answer
2k views

Why Backspace key do not work in insert mode in shell file by default in Cygwin?

I am using cygwin to run "linux command line" on windows 10. But here, backspace key doesn't work in insert mode. I had to edit my .vimrc file by setting "nocompatible and "bs=2" to make it work (by ...
Hariom kushwaha's user avatar
0 votes
1 answer
616 views

Scroll wheel inserts seemingly-random characters in cygwin vim, depending on where on the screen the mouse cursor is

I have the following options set to non-default values, as reported by :redir @+ | :set | @redir end: --- Options --- autochdir cscopetag foldcolumn=7 hlsearch lazyredraw relativenumber sidescroll=1 ...
PrincessRTFM's user avatar
0 votes
1 answer
194 views

Unable to link ycm_core.dll when compiling YCM

i am trying to compile the YouCompleteMe (YCM) plugin on cygwin on windows 10, and every time the compiler fails when linking the ycm_core.dll shared library. I will paste my output in this post, ...
BelgishChoko's user avatar
0 votes
2 answers
79 views

Explanation of command :'<, '>

(I'm really not sure how I would google this. Sorry if this has already been asked and please just link me in the right direction in that case) I'm using Vim in cygwin environment and marked a line ...
lucidbrot's user avatar
  • 103
2 votes
0 answers
1k views

YouCompleteMe with cygwin

I installed YouCompleteMe (--clang-completer), but cannot use it. On start I see a message The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected exit code -11. Use the ':...
Loom's user avatar
  • 261
1 vote
0 answers
239 views

GVim Cygwin Ballooneval color scheme

Currently I am using GVim on Cygwin 64-Bit Windows 7 with Pyclewn plugin for debugging C/C++ Application. Whenever the balloon eval tooltip pops-up the Color difference between the balloon background ...
AmeyaVS's user avatar
  • 111
1 vote
2 answers
569 views

Why syncolor.vim is sourced at the end of cygwin vim started and replaced the specifed colorscheme

To make the usage of vim in cygwin convenient, I've added the color scheme in my cygwin .vimrc. But I found the color scheme doesn't work when vim is started. So I did some investigations: My ...
Marslo's user avatar
  • 133
3 votes
1 answer
822 views

Using the same plugin folders for gvim and with vim in cygwin

I have a cygwin shell in my windows computer and it has a Vim installation of its own in it. And, so the plugins I have for Gvim are not available for the Cygwin vim. I tried symlinking the plugins ...
Durga Swaroop's user avatar
0 votes
1 answer
1k views

Getting Error while opening files through vim

I am trying to use unicode characters in vim. Since msdos prompt didnt support unicode, I downloaded cygwin. I added some commands in .vimrc through cygwin. Basic commands like setting encoding, ...
SibiCoder's user avatar
  • 3,312
5 votes
1 answer
3k views

Can't Move to End of Line With Vim on Cygwin

I'm using Vim on Cygwin. Basically, Vim won't allow me to move past the last character on a line when I'm in normal/command mode. It will let me move right before the last character but not after it. ...
Joel's user avatar
  • 51
2 votes
0 answers
789 views

what is the correct codepage to use with vim airline?

Ok so I have setup my .vimrc as followed but I'm still experiencing a few problems with it: let $VIM=/usr/share/vim/vim74 let $VIMRUNTIME=/usr/share/vim/vim74 execute pathogen#infect() " air-line" ...
SimbaClaws's user avatar
3 votes
1 answer
730 views

Windows gvim with &shell set to Cygwin bash broken by Windows 10

A recent upgrade appears to have broken the ability of Windows-native gvim (7.4) to run :!-like commands using Cygwin's bash as the shell. (No doubt it's something that's been configured for my ...
user avatar
2 votes
0 answers
301 views

VIM under Cygwin some characters missing

Just installed vim and vimified plugin set under cygwin. Everything works like a charm except one annoying issue - i can see some special symbols (like new line) and it seems that some characters are ...
smallquestion's user avatar
5 votes
0 answers
218 views

How to utilize the Cygwin ack tool from Vim 7.4?

I used Cygwin perl and cpan to download, compile and test a working ack, struggling with a clean working model. Primarily using win32 Vim, it seems like I can only utilize the Cygwin ack if I change ...
Yekoof's user avatar
  • 49
15 votes
2 answers
8k views

Cursor shape under vim + tmux

How can I have different cursor shapes when running vim inside tmux under cygwin? WITHOUT tmux these lines would be enough to achieve what I want: let &t_SI = "\e[5 q" let &t_EI = "\e[2 q" ...
Kossak's user avatar
  • 1,638
1 vote
1 answer
292 views

Unite file_rec search misses a file [closed]

I just started using Unite and I noticed that searching with file_rec doesn't return my vimrc. I've tried reinstalling Unite, clearing its cache with and a few other things but nothing makes this ...
Chad Paradis's user avatar