Cmder: Problems with vim colors

Created on 27 Jun 2014  Â·  6Comments  Â·  Source: cmderdev/cmder

Would someone mind telling me where the proper place to put a custom vim colors file on a Windows file system?
My current _vimrc file is in C:\Users\eyandow with the following contents:
cmap w!! w !sudo tee > /dev/null %
set nocompatible "This fixes the problem where arrow keys do not function properly on some systems.
syntax on "Enables syntax highlighting for programming languages
"set mouse=a "Allows you to click around the text editor with your mouse to move the cursor
set showmatch "Highlights matching brackets in programming languages
set autoindent "If you're indented, new lines will also be indented
set smartindent "Automatically indents lines after opening a bracket in programming languages
set backspace=2 "This makes the backspace key function like it does in other programs.
set tabstop=4 "How much space Vim gives to a tab
"set number "Enables line numbering
set smarttab "Improves tabbing
set shiftwidth=4 "Assists code formatting
colorscheme molokai "Changes the color scheme. Change this to your liking.
"setlocal spell "Enables spell checking (CURRENTLY DISABLED because it's kinda annoying). Make sure to uncomment the next line if you use this.
"set spellfile=~/.vimwords.add "The location of the spellcheck dictionary. Uncomment this line if you uncomment the previous line.
set foldmethod=manual "Lets you hide sections of code
"--- The following commands make the navigation keys work like standard editors
imap gj
imap gk
nmap gj
nmap gk
"--- Ends navigation commands
"--- The following adds a sweet menu, press F4 to use it.
source $VIMRUNTIME/menu.vim
set wildmenu
set cpo-=<
set wcm=
map :emenu
"--- End sweet menu

Also, whenever I vim a file, I get this prompt:
image

Thanks for the help! I love your application!

Ethan Yandow

Most helpful comment

This needs to be reopend. Try it yourself, use a colorscheme like xoria256. It works flawlessly with console2, xterm, or any other term. Just not with cmder using cygwin and vim.

Can you please take a look into it?
Thanks!

All 6 comments

This isn't the place to ask about VIM customisation issues.

Try Google next time: http://vim.wikia.com/wiki/Avoiding_the_%22Hit_ENTER_to_continue%22_prompts

I have tried google and read that article, and I didn't mean to upset you
man. I was mostly just wondering why vimcolors does not work. I was just
trying to see if anyone else had a similar problem. I don't really care
about the 'hit Enter to continue' problem. I have just tried so damn much
to get that custom color to work and it doesn't work no matter what I do,
so I thought it might have been a bug so I pointed it out.

On Fri, Jun 27, 2014 at 10:43 AM, Martin Kemp [email protected]
wrote:

Closed #213 https://github.com/bliker/cmder/issues/213.

—
Reply to this email directly or view it on GitHub
https://github.com/bliker/cmder/issues/213#event-135923659.

This needs to be reopend. Try it yourself, use a colorscheme like xoria256. It works flawlessly with console2, xterm, or any other term. Just not with cmder using cygwin and vim.

Can you please take a look into it?
Thanks!

Another thing to try is to add <CR> at the end of your vimrc file.

@flibitboat Try putting your colorscheme files in C:\Users\<NAME>\vimfiles\colors

@MartiUK <CR> had no effect, I did find .vim/ -exec dos2unix '{}' + which didn't help either.

@rmorrin I got my stuff inside my home folder, which is

$ cygpath -w `pwd`
C:\Daten\username\Programme\cygwin64\home\username
Was this page helpful?
0 / 5 - 0 ratings

Related issues

luisrudge picture luisrudge  Â·  3Comments

danwellman picture danwellman  Â·  3Comments

GlassGruber picture GlassGruber  Â·  3Comments

zsedcbm picture zsedcbm  Â·  3Comments

sathishsoundharajan picture sathishsoundharajan  Â·  3Comments