0
votes
2answers
46 views

SSH'd (via Cygwin) vim to write to local file

Okay, so I'm trying to solve the problem of getting the contents of a yanked register from a SSH'd session in Vim, to go to the Windows clipboard. Here's the scenario: SSH into development ...
0
votes
1answer
75 views

Cygwin vim doesn't load files in runtimepath

I created a custom syntax file, and but none of the files in $VIMRUNTIME seem to load. I followed these pieces of the documentation: http://vimdoc.sourceforge.net/htmldoc/filetype.html#new-filetype ...
0
votes
1answer
54 views

Windows Vim symlink config file persistent error

I'm trying to configure the native Windows Vim/gVim and the Cygwin Vim/gVim to behave nicely together. To this end, I created symlinks, ~/.vimrc and C:\Users\<myusername>\_vimrc, that both point ...
3
votes
1answer
79 views

What does Shift+Enter do in a terminal, and can I disable it in Vim?

Everyone once in a while while in insert mode in Vim, I'd be happily typing along, when all of a sudden I'd be thrown out of insert mode and my last edit undone after hitting a certain key ...
0
votes
1answer
50 views

How to enable vim spellcheck on windows and cygwin

How to enable vim spellcheck on windows and cygwin? I have tried with: set spell spelllang=en but it doesnt work. Edit: As it turns out it has to do something with the syntax enabled. I'm using ...
0
votes
1answer
573 views

Cygwin vim doesnt show 256 colors under ConEMu

When using cygwin vim under ConEmu, the default vim theme doesnt display correctly after I set t_Co=256. This is how ConEmu looks after the command: http://postimg.org/image/g6g98exbx/ My .vimrc: ...
2
votes
1answer
111 views

reuse an already established connection with win32 gvim

How can I reuse an ssh connection on windows? Ive been using these settings in my _vimrc for sftp and noticed that each time I browse or try to edit a file with netrw, a new connection is created ...
0
votes
1answer
399 views

Git fails to launch Vim in Cygwin

I have Git working with Vim in a Powershell environment on my work laptop (Windows 7). It pops up Vim when I commit or use my git vimdiff alias. I have attempted the same setup under Cygwin (being a ...
3
votes
2answers
1k views

How can I get a block cursor in Vim in the Cygwin terminal?

I am used to having a block cursor in normal mode in Vim. This makes sense with the Vim paradigm; when you press x, it is clear which character will be deleted. I've installed Cygwin on a Windows ...
1
vote
1answer
213 views

How can I change Vim SuperTab plugin highlight color?

The highligthed match is basically invisible. Is there any way I can change the color SuperTab uses to highlight matches? Is this perhaps a compatibility issue with my theme (molokai) or with my ...
0
votes
1answer
350 views

Highlight the character the cursor is on in vim

How can I highlight the cursor in vim? I am interested in highlighting only the letter that the cursor is in. Using: set cursorcolumn highlight CursorColumn guibg=lightblue ctermbg=lightgray ...
0
votes
1answer
79 views

Error when trying to add visible marks in vim

I am trying to use visible markers in vim. I have the following in my .vimrc file: sign define information text=!> linehl=Warning texthl=Error exe ":sign place 123 line=" . line(.) ...
1
vote
2answers
61 views

How do I run Windows vim from a function within my .bashrc?

I have installed windows vim and added the following function to my .bashrc: function winvim() { local win_vim_path='/cygdrive/c/Program\ Files\ \(x86\)/Vim/vim73/vim.exe' #local ...
0
votes
0answers
317 views

How do I get correct arrow key behaviour for cygwin vim in Console2?

I've set the shell variable in Console2 to: C:\cygwin\bin\bash.exe --login -i I then launch vim. When I do so two problems happen While in normal mode if I press an arrow key once nothing happens. ...
2
votes
1answer
102 views

Suppress (or quiet) the output of bash: “Hit any key to close this window…”

Typically when I invoke an GUI application in vim, I get a command prompt that awaits for my response: shell returned 1 Hit any key to close this window... How can I not make this prompt to show ...
2
votes
4answers
189 views

In vim, what keystrokes (did I accidentally hit to) bring up :'<,'> and how do you set those marks?

I fumbled in vi and briefly saw this at the bottom of the screen, just as I was hitting ESC: :'<,'> Like it was ready for me to type an arbitrary ed command over a range spanned by the marks ...
1
vote
2answers
104 views

Screen: Grouping all vim invokation under one window

In screen, would it possible to open up all instances of vim in one window? (e.g. window 2) Initially, the window will switch to the designated window and open up the file in the buffer. And ...
1
vote
0answers
325 views

Home and End keys doesn't work in vim inside tmux

I can't use home and end keys in vim, when in Tmux. I've got this strange stuff: H F H sample text my .tmux.conf: set-option -g mode-mouse on set-option -g mouse-select-pane on set-option -g ...
2
votes
1answer
432 views

Clearing screen after quit in Windows vim with ConEmu/Cygwin

I'm trying to bring to work together 3 things: ConEmu, Cygwin and vim. The vim in question is not Cygwin vim, but the native Windows vim from gvim package (chosen because Cygwin vim does not support ...
0
votes
0answers
29 views

How can I install vim-full in cygwin? [duplicate]

Possible Duplicate: Install VIM in Cygwin I have installed cygwin's vim package, but it is only vim basic, and I can't find vim-full in the package list when running cygwin's setup. How ...
1
vote
1answer
58 views

Odd behavior on Shift-{Esc,Fx}

Sometimes, when changing between the modes in Vim, I forget to take my finger off the Shift key. This innocent mistake is probably part of the luggage carried over from other terminals, but I have ...
2
votes
2answers
420 views

How can I remap CAPSLOCK key to ESC in Cygwin?

How can I remap the Capslock key to ESC in a Windows Cygwin shell? Ideally I would only remap the value in Cygwin shells instead of everywhere, preserving behavior in other apps (although admittedly ...
2
votes
1answer
171 views

Opening PHP files in vim gives me error: E108: No such variable: “b:current_syntax”

I'm running cygwin on my Windows box, and everytime I open up a php file using vim, i get this error: sendgrid-test.php" 7L, 46C Error detected while processing /usr/share/vim/syntax/php.vim: line ...
1
vote
1answer
182 views

Is there a --remote option for vim (not gVim) in cygwin?

I am trying to open a file in a new tab in an already running console Vim session. This functionality is available in gVim via the --remote-tab-silent option. If this is not possible, I was wondering ...
0
votes
2answers
745 views

vimdiff in cygwin is not working properly

When I was comparing two files with vimdiff in my cygwin, vimdiff a.c b.c all lines were folded (as below) Then I used zR to open all folders, but no difference was showed. Another weird ...
0
votes
1answer
172 views

Passing the an argument to Windows shortcut

I was successful in opening vim via shortcut in Windows. It is simple as creating a target with C:\cygwin\bin\mintty.exe /bin/vim Now when I open a file with this shortcut, it seems as though ...
4
votes
1answer
437 views

Is it possible to get gVim to execute external commands in cygwin by default?

Is it possible to get gVim (on windows) to execute external commands in cygwin by default? i.e. !ps will open a cygwin terminal showing the currenty running processes?
0
votes
3answers
2k views

Open a text file in cygwin's VIM

Is there any way to configure Windows to open text files in Cygwin's VIM instance? I am currently using GVIM but I find it limiting for many reasons. Unfortunately, I can't just install Debian on this ...
1
vote
1answer
188 views

Enable wheel in mintty (cygwin) for vim [duplicate]

Possible Duplicate: Enable wheel in mintty for cygwin comands: less and man How to enable the mouse wheel inside vim? I'm using mintty and cygwin.
1
vote
2answers
852 views

Building VIM with python support in Cygwin?

I'm trying to build VIM with Python/Perl support under Cygwin. Has anyone done this and can shed some light how this is achieved?
0
votes
1answer
193 views

calling cygwin svn from vim

I am trying to shell to get 'svn log %'. In order to get this into a different buffer, it seems the best way is to call: :new | set buftype=nowrite | r !svn log # Where r puts output from the ...
5
votes
3answers
264 views

How Can Vim and Windows See Two Different Files that Have the Same Name in the Program Files Directory

I'm seeing a strange interaction between vim, the Cygwin tools, and Windows7. I don't think that it is a bug, but at the same time, I have no idea how to explain what I'm seeing. I installed Vim ...
7
votes
2answers
18k views

Install Vim in Cygwin

I have installed Cygwin on my Windows machine and I have also selected some additional packages as part of my installation (like GCC etc). Now I want to add Vim also to my existing Cygwin setup. What ...
3
votes
1answer
871 views

vim in Console2 on Windows doesn't colour code?

I'm using Console2 on Windows with Cygwin. Using Windows vim (on my PATH), the colour coding doesn't seem to display in Console2? Using vim from cmd does colour code.
0
votes
1answer
278 views

map function keys like <CR> in vim on cygwin

Step 1 in vim: :map o iinsert<CR>some<CR>lines<ESC> In a normal setup such as debian, pressing o now will insert this as desired: insert some lines But in vim on cygwin, the ...
1
vote
1answer
915 views

How to get Vim in cygwin/Windows to underline the CursorLine properly?

Here is a portion of my .vimrc : set background=dark set cul hi CursorLine term=underline cterm=underline gui=underline On Linux, vim displays fine and the cursor line is underlined with a thin ...
1
vote
1answer
461 views

How to use cyg-wrapper to fork a new tab in win32 gvim

I would like to set up an alias in my cygwin .bashrc that translates pathnames unix-to-dos and passes them to windows gvim in a new tab of an existing instance. I am trying to use Luc Hermitte's ...
4
votes
3answers
803 views

Cygwin prevent clearing of scrollback buffers

When running Cygwin in the default cmd.exe window or similar terminal emulators such as Console I've noticed that after quitting programs that replace the entire screen (such as Vim and man), only the ...
1
vote
2answers
3k views

How do I get color while editing file trough a ssh session?

I use cygwin on Windows7 to open a ssh session to my linux box. When I edit a file with vim, I don't have color, only kind of gray bold. I have colors when I do a ls into my ssh session. I have also ...
1
vote
3answers
1k views

Alias to open gVim (Cream version) from Cygwin shell

I'm using the Cream version of gVim, and i'd like to make an alias to open files from a Cygwin shell in Cream. Running the gVim executable from Cygwin gives the following error (in a Windows cmd ...
3
votes
2answers
281 views

Vim/Cygwin: No linebreaks in :! output

I'm using Vim via MinTTY under Cygwin. When I issue a command like :!ls -la the displayed output doesn't show newlines correctly. It rather just jumps to the virtual column of the next line, where ...
2
votes
2answers
2k views

Append after last character in line in vim editor

I am using vim in the cygwin terminal right now. I am looking for a way to go behind the last character of a line to append words. When I use $i all I type is inserted before the last character.
1
vote
1answer
1k views

How to change key mappings in Cygwin's Vim

I'm using Vim under Debian, Win Vista and WinXP (the latter two with Cygwin). To handle tabs more easily, I mapped <C-Left> and <C-Right> to :tab(prev|next). This mapping works like a ...
10
votes
2answers
4k views

cygwin + mintty + vim backspace problem

I have installed vim, mintty via cywin on XP. The problem is when I try to hit backspace in VIM edit mode, the cursor move back a character instead of wiping the previous char. How can I tweak this ...