Comments (16)
did the swatch change it's color when you click on palette?
did yy
in the colov window copy 'xxxxxx'?
from colorv.vim.
and , do you have python support with vim
from colorv.vim.
No I can't get anything to happen in that window... it shows up properly, everything looks fine but clicking / yanking does nothing. None of the keys listed do anything.
+python -python3
from colorv.vim.
does :map yy
show something like '@:call<SNR>_28_copy()<CR>
'
from colorv.vim.
@:call <SNR>32_copy()<CR>
from colorv.vim.
well. then it should be working all right..
Does :function <SNR>32_copy
show it's content.
Can commands like :ColorVName
working?
I have no Mac currently and can not test through it.
from colorv.vim.
The output of :function <SNR>32_copy
:
function <SNR>32_copy(...)
let fmt = a:0 ? a:1 : "HEX"
let l:cliptext=s:hex2txt(g:colorv.HEX,fmt)
if a:0>1 && a:2=="\""
call s:echo("Copied to Clipboard(reg\"):".l:cliptext)
let @" = l:cliptext
elseif a:0>1 && a:2=="+"
call s:echo("Copied to Clipboard(reg+):".l:cliptext)
let @+ = l:cliptext
else
call s:echo("Copied to Clipboard(reg\"):".l:cliptext)
let @" = l:cliptext
endif
endfunction
Yes :ColorVName works fine... I get the list of colors along with hex values which have the background of the actual color.
So you haven't tested this on Mac at all..... but it "should be working all right"?
from colorv.vim.
... I had tested it on a Mac OS with a virtual Machine and works fine. But that disk was formatted now.
Does the window show colored palette and swatches?
If does.
put cursor on palette and use :call <SNR>32_set_in_pos()
if does not
put cursor in the window and use :call <SNR>32_draw_win('ff0000')
tell me if it works or not.
also set g:colorv_has_python
to 0 to disable python to see if it works fine.
from colorv.vim.
Doing :ColorVEdit on a color, going to a swatch in the pallete and doing :call <SNR>32_set_in_pos()
actually switches the color in the palette it seems...as well as the other command... it however does not switch the color in my main window (the color I executed the original command on).
Doing let g:colorv_has_python = 0
in my vimrc causes colors to lose their highlighting, and executing :ColorVEdit on them renders
[ColorV] no color-text under cursor.
from colorv.vim.
Well. :ColorVEdit will changes the color after you close the colorv window.
If it does. It's the mappings does not activated correctly in colorv window with some weird issues.
And you can try remap them with :call <SNR>32_set_map()
in colorv window to see if this works.
from colorv.vim.
No it doesn't. Even though the color appears to be swapped, closing the window does nothing (even if I do :call <SNR>32_set_in_pos()
)
from colorv.vim.
So the colors are showing in ColorV window, but nothing changed after you close it?
from colorv.vim.
Yeah the palette and everything shows... nothing changes after I close it, and I need to do that command to get the little asterisk to go to another color.
from colorv.vim.
well , I will try rewrite the call back function in next patch to see if it can be fixed.
from colorv.vim.
After some confusion about how to use ColorV, I found a workaround that works for me: I start with cursor over color, then I type :ColorVEdit or \ce. Now the window is up. I use space to select a new color. Then, I can hit Q or \cq to close the ColorV window, which updates the color in the document.
The color highlight doesn't update immediately for me (ref issue #13) but it's the right RGB code.
from colorv.vim.
that's ok. #13 is fixed
from colorv.vim.
Related Issues (20)
- ColorVview should check for # HOT 1
- call s:py_core_load() evan though no python environment HOT 1
- Invalid arguments for function has(*reltime) HOT 2
- Error: error with neocomplcache#get_context_filetype function. HOT 1
- Can the preview for an edited color update after leaving ColorV window? HOT 3
- Function to insert a color? HOT 3
- "[ColorV] Could not read cache.^@ Vim(let):E484: Kann die Datei /home/tom/.vim_colorv_cache nicht öffnen" error HOT 1
- Changing colon or semicolon references causes colorv to malfunction
- Incorrect color preview for #888888 in 256-color xterm HOT 7
- Feature request: better fg/bg contrast HOT 5
- Feature request: Unite integration HOT 2
- Silent mode HOT 3
- python error HOT 4
- Feature request: statusline integration HOT 1
- could not launch gvim with colorv plugin installed HOT 14
- Error while compiling colorpicker.c on macOS HOT 1
- Lowercase hex color HOT 1
- Error detected while processing function colorv#init[28]..<SNR>28_py_core_load: HOT 2
- Plugin breaks coc-snippets
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from colorv.vim.