Coder Social home page Coder Social logo

accent.vim's Introduction

accent.vim

A vim colourscheme with a configurable accent colour. It can help you quickly tell apart different vim sessions at a glance.

It supports the GUI and 256 colour terminals.

installing

Using vim-plug:

Plug 'alligator/accent.vim'

Other package managers may vary.

options

" g:accent_color or g:accent_colour changes the accent colour.
" one of
let g:accent_colour = 'yellow' " the default
let g:accent_colour = 'orange'
let g:accent_colour = 'red'
let g:accent_colour = 'green'
let g:accent_colour = 'blue'
let g:accent_colour = 'magenta'
let g:accent_colour = 'cyan'

" g:accent_darken makes the background and some text colours darker.
let g:accent_darken = 0 " the default
let g:accent_darken = 1

" g:accent_invert_status inverts the colour of the status line text.
let g:accent_invert_status = 0 " the default
let g:accent_invert_status = 1

" g:accent_auto_cwd_colour sets the accent colour using a hash of the current directory.
let g:accent_auto_cwd_colour = 0 " the default
let g:accent_auto_cwd_colour = 1

" after changing settings, you'll need to re-apply the colorscheme
colorscheme accent

a neat thing to do is change the accent colour based on the working directory when vim starts:

if getcwd() =~ 'code/my-cool-project'
  let g:accent_colour = 'cyan'
  colo accent
endif

accent.vim's People

Contributors

alligator avatar

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.