Giter Club home page Giter Club logo

falcon's Introduction

falcon logo

A colour scheme for terminals, vim and friends.

This is v2.0 - vastly improved, with more tweak, less cruft.

Falcon is a work horse of a colour scheme that will (hopefully) stand the test of time - with fewer gimmicks, a more restrained colour palette but with a splash just enough to distinguish everything semantically as well a touch of delight thrown in.

hero shot

Get started

Head to the wiki installation page to get going. Also have a look through what plugins and programs are covered, browse the screenshot gallery, the palette and if you need a little bit of help there is also the troubleshooting section and FAQ.

Contact

If you want to get in touch please drop me a line.

Big Thanks

  • Built with estilo, gracias!
  • Inspiration: gruvbox for not being quite right to my tastes and thus being the seed of this project
  • Everyone who Vims, f'yeah!

License

Falcon is released under the MIT license.

falcon's People

Contributors

dibusure avatar fenetikm avatar gegoune avatar timvisee avatar williamboman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

falcon's Issues

Inverted colors

Hi - It seems like in a recent update, the background colors were inverted for splits. Previously, the darker background would be on the split that I was currently editing and now it appears to be a gray color on the editing buffer and the black background on the other split. Is that intentional? I much preferred the dark background on the split that I was currently editing.

image

Always set background

Are there any reason to not always set the background color as default, but only within a gui?

" from falcon/plugin/falcon.vim  

" Put in a background colour for gui
if has("gui_running")
  hi Normal guifg=#d4d4d9 ctermfg=188 guibg=#0b0b1a ctermbg=233 gui=NONE cterm=NONE
  hi NonText guifg=#3e3e40 ctermfg=237 guibg=#0b0b1a ctermbg=233 gui=NONE cterm=NONE
endif

Inactive colors behaving weirdly

Hey @fenetikm, thank you so much for Falcon! I love the colors.

I've tried to move my setup to use Falcon all around (NeoVim + iTerm2 + TMUX) and something seems odd and I hope you can point me to a direction to see what I am doing wrong.

When I move to a pane that does not have NeoVim open, the color doesn't seem to change for the inactive one:

image

I've checked to see if the autocmd for the color change is working and it is. So I ran hi InactiveWindow guibg=yellow and then this happens:

image

And when I move focus out of NeoVim to another pane:

image
(See how the last focused window at the bottom right corner is not yellow?)

So, two things: Is there a way to make the InactiveWindow bg be applied to the whole window/buffer and not just to the size of the file?

And second: Shouldn't all NeoVim buffers be marked as "inactive" when I'm on another Tmux pane?

Thank you so much for your help!

Comments look off

Are comments intended to look like the screenshot below?

Screenshot 2019-04-17 at 20 47 46

This is using the latest version of Vim and iTerm2 using the Falcon colorscheme in both Vim and the terminal.

[v3] Pull in plugin settings to Lush

Want to pull in all the plugin syntax highlighting using Lush. Ideally place them in separate files in a plugins directory and iterate through them, loading them in.

Also, whilst we are here, set the NeoVim terminal colours.

red colour meaning

In my opinion, falcon is a lovely colour pallete.
I wonder however, about the use of red for mundane values in the syntax schemes.

To me red means "critical", "danger", maximum attention".
As such it should be reserved for errors and such.

What are your thoughts?

Add fzf colors

scrot_200625154839

Colorscheme for fzf, what do you think about it?

export FZF_DEFAULT_OPTS='
 --color=fg:#b4b4b9,hl:#ffc552
 --color=fg+:#f8f8ff,bg+:#2f2f3a,hl+:#ff761a
 --color=info:#bfdaff,prompt:#ff5fff,pointer:#cbccc6
 --color=marker:#ff3600,spinner:#bfdaff,header:#635196'

LS_COLORS settings

The colouring in the terminal for various commands is wanting. Need to create LS_COLORS settings.

https://github.com/sharkdp/vivid This looks like it could do the trick.

Create LS_COLORS using that and/or create a PR for that repo.

Better heading highlighting for markdown

Currently, only the primary heading (prefixed with a single #) gets an orange highlight; subsequent headings (with multiple #'s), are white, which in my opinion does not contrast enough of the light grey body text.

Could you tweak the heading highlighting so subheaders are more easy to identify? Maybe use the same orange as the primary heading does, or the purplish tint of variables.

Thanks in advance!

Error on load in Vim 8

Commit d9df1e4 introduces an error:

E518: Unknown option: winhighlight=Normal:ActiveWindow,NormalNC:InactiveWindow

When using vim instead of neovim.

VSCode app

Cool theme but I would like to use it also in Visual Studio Code.
Any chance ?

Terminal app theme

Hi!
I really like the theme and I would like to use it but unfortunately I'm not using iTerm. Any chance to provide the theme for Terminal.app as well?

Improve Neovim 0.5 support

Amazing colorscheme, can't find a better one currently! Great job. Only things I am missing which result in inconsistent highlighting are built in LSP support and TreeSitter support on Neovim.

Is there a chance those could be added? Thanks!

Concealed chars are looking weird (Enhancement Suggestion)

Hey Michael! Sorry to bother again!

I've been using Falcon for a few weeks now and I'm loving it. Could I make a small suggestion?

I currently use some concealed chars in my JavaScript code and they currently look like this:

image

As you can see, right below render, there's a backwards arrow that represents my return. The current colorscheme does not apply a style to conecealed characters, so I get the weird combination above. I currently have hi! link Conceal Keyword in my .vimrc so the result is something like this:

image

I just wanted to ask you to put a color for concealed chars in falcon.vim :) Not sure if the Keyword is the best color for this, is just the easiest highlight group I can remember :P

Pretty easy this time ๐Ÿ˜ฌ

Thank you!

Inverted highlighting in spellchecking

I recently discovered falcon and switched to it from Zenburn, which I have been using for a decade or so. I really like falcon!

However, I discovered a few issues, amongst which the inversion of highlighting of mis-spelled words with the vim spellcheck (for example in Markdown files). I'm used to words getting coloured orange when there's a mistake in them, but falcon makes the background some kind of salmon colour, and has the font in white. This results in an ugly and poorly readable highlight.

I would much prefer them to be highlighted in orange or something, with the background left alone.

Thanks for your consideration and let me know if I can help (with testing or something) or need to clarify further.

Cannot get the colorscheme working

When I try to install the colorscheme, it works fine for iterm2 and tmux, but the colors are off for me in vim:
(the background is black, not dark blue like in iterm2)
image

Readme / Wiki enhancments

Not sure if you care to add this to the readme or the wiki but I am using the following in my .bashrc to set my command prompt:

# falcon terminal colors
Black="\[\e[033;38;2;0;0;2m\]"                  # colour 0: black
Red="\[\e[033;38;2;255;64;0m\]"                 # colour 1: red
Green="\[\e[033;38;2;89;128;51m\]"              # colour 2: green
Yellow="\[\e[033;38;2;255;191;0m\]"             # colour 3: yellow
Blue="\[\e[033;38;2;48;108;191m\]"              # colour 4: blue
Orange="\[\e[033;38;2;255;128;0m\]"             # colour 5: orange (usually magenta)
Cyan="\[\e[033;38;2;48;191;167m\]"              # colour 6: cyan
Light_Gray="\[\e[033;38;2;212;212;217m\]"       # colour 7: light gray
BoldBlack="\[\e[033;38;2;11;11;26m\]"           # colour 8: bright black / bg colour
BoldRed="\[\e[033;38;2;255;121;76m\]"           # colour 9: bright red
BoldGreen="\[\e[033;38;2;133;166;99m\]"         # colour 10: bright green
BoldYellow="\[\e[033;38;2;255;217;102m\]"       # colour 11: bright yellow
BoldBlue="\[\e[033;38;2;143;163;191m\]"         # colour 12: bright blue / blue gray
BoldOrange="\[\e[033;38;2;255;172;89m\]"        # colour 13: bright orange (usually magenta)
BoldCyan="\[\e[033;38;2;133;204;192m\]"         # colour 14: bright cyan
BoldWhite="\[\e[033;38;2;253;253;255m\]"        # colour 15: white
rst="\[\e[m\]"

cwd="$BoldBlue[\w]$rst" # current working directory enclosed in brackets
hist="$Orange\!$rst" # history entry number
prompt="$Light_Gray โ””โ”€> $rst"
export PS1="$cwd\n$hist$prompt"

Also, using the below settings in .minttyrc to set the terminal colors:

ForegroundColour=253,253,255
BackgroundColour=11,11,26
CursorColour=212,212,217

Black=0,0,2
Red=255,64,0
Green=89,128,51
Yellow=255,191,0
Blue=48,108,191
Magenta=255,128,0
Cyan=48,191,167
White=212,212,217
BoldBlack=11,11,26
BoldRed=255,121,76
BoldGreen=133,166,99
BoldYellow=255,217,102
BoldBlue=143,163,191
BoldMagenta=255,172,89
BoldCyan=133,204,192
BoldWhite=253,253,255

Setting of g:terminal_ansi_colors to all zeros breaks coc.vim

Setting g:terminal_ansi_colors via the below in colors/falcon.vim causes coc.vim to throw an error on startup trying to use these values.

if exists('*term_setansicolors')
  let g:terminal_ansi_colors = repeat([0], 16)

endif
Error detected while processing function <SNR>71_AddAnsiGroups:
line   18:
E254: Cannot allocate color 0
E254: Cannot allocate color 0

I've had to comment out this code to remove the error on startup.

Vim version: 8.2 (2019 Dec 12, compiled Feb 3 2020 01:40:55)
Platform: OS/X Catelina

falcon overriding custom syntax files

As a recent falcon convert, I'm using it everywhere. I hit a snag though with a syntax highlighting file I created myself:

https://github.com/aquatix/dotfiles/blob/master/.vim/syntax/todo.vim

This has highlighting with a light blue and purple for some elements. This works fine in Zenburn and a lot of other themes, but with falcon somehow the colours get dropped, and the text is rendered in white.

Is this intentional? If so, how can I override it? :) If not, what I can I do to help you fix my issue?

Ubuntu Support

Seems like the tmux part of Falcon works on ubuntu, but I cannot get my shell or vim on my ubuntu machine to respect the colors set by falcon, is this not supported?

If not supported. what would it take to support this? More than happy to work on it but don't quite know where to start...

Fresh Install Error: Undefined g:colors_name

hey @fenetikm!

Just set-up a new ubuntu machine, installed my vim config and was getting this error:

Error detected while processing /home/filipekiss/.dotfiles/sidekicks/vim/plugged/falcon/plugin/falcon.vim:
line    2:
E121: Undefined variable: g:colors_name
E15: Invalid expression: g:colors_name != "falcon"
Press ENTER or type command to continue

Looking around repo issues I came across #23 and then found 1fff7b3.
Changin line 2 to the code below gets rid of the error:

" Guard
if exists('g:colors_name') && g:colors_name != "falcon"
  finish
endif

Hope this helps!

Terminal colors in Vim 8 are missing

Opening a new terminal in Vim using the :terminal command opens a new terminal window. Unfortunately, it does not have the Falcon colorscheme applied. In Neovim, it does.

Previously this was not possible in Vim, but it is now. See discussion over at vim/vim#2747 and see commit vim/vim@f59c6e8 for the actual implementation.

See :help g:terminal_ansi_colors for more information.

Change install instructions to `falcon.tmux.conf`

Just did a recent install on a new computer and found that using Plug to install the conf file will put it in the plugged directory like so:

source-file /path/to/falcon/tmux/falcon.tmux.conf

instead of

source-file /path/to/falcon/tmux/falcon.conf

Please change the install docs to reflect this!

Thank you :)

Falcon overrides colorscheme settings when installed via vim-plug

Summary

Falcon colorscheme settings bleed into current colorscheme when falcon is installed, even when not set as the current colorscheme.

To reproduce

  1. create a clean vim/neovim installation
  2. Install vim-plug
  3. Create configuration:
call plug#begin()                               
    Plug 'fenetikm/falcon'                      
    Plug 'dracula/vim', { 'as': 'dracula' }     
call plug#end()                                 
colorscheme dracula                             
  1. Run :PlugInstall and restart vim
  2. Run: :verbose hi Normal

Output:

Normal         xxx ctermfg=249 guifg=#b4b4b9
        Last set from ~/.config/nvim/plugged/falcon/plugin/falcon.vim

Even though falcon was never set as a colorscheme, it's settings are still applied. In particular, the background color appears to be overridden by falcon, whenever it is enabled.

To fix the issue, I can simply comment out the falcon Plug line in the vim config.

This issue does not occur for any of the twenty or so other themes tested. The order of the Plug entries does not have an impact either.

System Info

  • Arch Linux 4.18.16
  • TERM=xterm-termite
  • Neovim NVIM v0.3.2-402-ge30ccd56d
  • Falcon 0dbdbf5
  • Vim-plug 734d9a1

Lightline support

I use neovim gui in windows. I put Plug 'fenetikm/falcon' in init.vim and executed :PlugInstall in neovim so it was installed

Then I put let g:falcon_lightline = 1 and let g:lightline.colorscheme='falcon' in init.vim

image

But when I open neovim gui it gives me this error

image

What I am doing wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.