Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with vim colors #213

Closed
ghost opened this issue Jun 27, 2014 · 6 comments
Closed

Problems with vim colors #213

ghost opened this issue Jun 27, 2014 · 6 comments

Comments

@ghost
Copy link

ghost commented Jun 27, 2014

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

@MartiUK
Copy link
Member

MartiUK commented Jun 27, 2014

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

@MartiUK MartiUK closed this as completed Jun 27, 2014
@ghost
Copy link
Author

ghost commented Jun 27, 2014

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 notifications@github.com
wrote:

Closed #213 #213.


Reply to this email directly or view it on GitHub
#213 (comment).

@bmarwell
Copy link

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!

@MartiUK
Copy link
Member

MartiUK commented Nov 11, 2014

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

@rmorrin
Copy link
Contributor

rmorrin commented Nov 13, 2014

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

@bmarwell
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants