preservim / vim-thematic Goto Github PK
View Code? Open in Web Editor NEWAlter Vim's appearance to suit your task & environ
License: Other
Alter Vim's appearance to suit your task & environ
License: Other
If you have a transparency of 0 in the defaults, as in
let g:thematic#defaults = {
\ 'transparency': 0,
\ }
and you have a theme that sets transparency to 1 or greater, then the default isn't applied for themes that don't specify a transparency.
At the command prompt, it should be possible to type 'Thematic ' and then tab through all the available themes.
\ 'pencil_lite' :{ 'colorscheme': 'pencil',
\ 'background': 'light',
\ 'columns': 30,
\ 'font-size': 20,
\ 'laststatus': 0,
\ 'linespace': 8,
\ 'typeface': 'Cousine',
:Thematic pencil_lite
...does not seem to be setting the columns in my config if starting out in fullscreen mode on my Mac running Yosemite Beta 2.
Works if not fullscreen.
OS: linux
vim: gvim8.1
when :ThematicRandom
the guifont will be set to '\ -1'. but it is not a correct font. in my gvim on Windows OS 10, this error do not appear. I doubt that it is involved in font name difference between linux and windows? because i find the same font has different name in Windows 10 and Linux.
Now i use this code to solve this problem temporaryly.
augroup init_ThematicRandom "{{{
autocmd!
autocmd VimEnter * let s:guifont = &guifont
\| ThematicRandom
\| let &guifont = s:guifont
\| unlet s:guifont
augroup END "}}}
Thank you!
My guifont is
guifont=Consolas:h9:cEASTEUROPE
which in vim-thematic comes down to
let g:thematic#themes = {
\'badwolf' : {'background' : 'dark',
\ 'colorscheme' : 'badwolf',
\ 'typeface' : 'Consolas',
\ 'font-size' : 9,
\ }
\}
or ...
guifont=Consolas:h9
Is vim-thematic missing the option to set encoding?
Thinking about uploading my custom themes, but can't find where Thematic looks for theme files, like if I do :ThematicFirst I get a theme I don't like, them I do :Thematic Next and get a theme I like to modify a little, but can't find the name of said theme nor where is it located so I can't use it!
Any help with this?
Specifically:
sign-column-color-fix
diff-color-fix
fold-column-color-mute
If there's a non-zero text width, provide an option to automatically set columns based on the current buffer's text width.
Switching to different buffers would automatically resize.
Hi. I've just begun testing your plugin, which seems convenient. However, I found that it "breaks" custom highlighting from my vimrc
file, since the colorschemes and syntax plugins are loaded later than usual.
I don't see an immediate fix for this. That is, one possibility would be to add a functionality to add customizations to Thematic. For instance, I have the following customized highlights:
highlight clear SpellBad SpellCap SpellRare SpellLocal
highlight SpellBad gui=bold guibg=#faa
highlight SpellCap gui=bold guibg=#faf
highlight SpellRare gui=bold guibg=#aff
highlight SpellLocal gui=bold guibg=#ffa
Perhaps you could implement something like this:
let g:thematic#custom_highlighting = {
'SpellBad' : 'gui=bold guibg=#faa',
...
}
Where the custom highlighting is activated after a theme has been loaded?
Hi there!
Thanks for making this. I wanted to use this plugin to change themes when I write markdown. Most importantly I wanted to have bigger font size. I tried putting this in my .vimrc
let g:thematic#themes = {
\ 'dark_matter' : {
\ },
\ 'pencil_lite' :{'colorscheme': 'pencil',
\ 'font-size': 28,
\ 'background': 'light',
\ 'ruler': 1,
\ },
\ }
The theme changes but font-size stays the same. I'm using MacVim on El Capitan.
Thanks
I propose that you add a vim documentation, even if it is only a parsed version of the README file.
It would be great to change the theme based on the file type. E.g. load the pencil theme for markdown, but use something else (e.g. solarized) as the default.
when use random colorscheme to find some good colorschemes, user must write them to the config of this plugin manually. can it provide some hotkey to save current theme to the config of this plugin?
thanks! it is a enhancement.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.