Questions tagged [cygwin]
Question about the usage of Vim in a cygwin environment.
25
questions
1
vote
1answer
19 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 ...
0
votes
0answers
82 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/...
3
votes
0answers
251 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 ...
0
votes
1answer
50 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.
...
1
vote
1answer
470 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 ...
3
votes
1answer
58 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 :...
1
vote
1answer
134 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\...
1
vote
0answers
126 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.
1
vote
1answer
72 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
422 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
...
0
votes
1answer
148 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, ...
0
votes
2answers
74 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 ...
1
vote
0answers
895 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 ':...
1
vote
0answers
212 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 ...
1
vote
2answers
372 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 ...
3
votes
1answer
682 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 ...
0
votes
1answer
839 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, ...
3
votes
1answer
2k 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. ...
2
votes
0answers
668 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"
...
3
votes
1answer
642 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 ...
2
votes
0answers
222 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 ...
4
votes
0answers
178 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 ...
15
votes
2answers
5k 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"
...
1
vote
1answer
289 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 ...