Enfocado for Vim
Enfocado is more than a theme, it is a concept of "how themes should be", focusing on what is really important to developers: the code and nothing else.
What you won't have if you don't install Enfocado:
- CIELAB Colors: use of the well-founded Selenized black color scheme created with the magic of the CIELAB color space. Learn about its features and design in its official repository.
- Human Writing: human writing is simulated by using italic typeface for syntax groups (comments, methods, titles and more ...) that are generally named and written in human language, (feature available only with nvim-treesitter installed).
- Minimal Syntax: only three colors are used to highlight syntax, following the color guidelines for web design, which state that only three main colors should be used in interfaces, no more.
- Signal Alerts: the yellow, orange and red colors are reserved to be used only with important alerts, following the standards for the meanings of the signal colors in the industrial area.
- Styles: choose the style that best suits your personality:
nature
style if you are a minimalist developer who is always connected to nature.
Table of Contents
Installation
Install via your preferred package manager. Example using vim-plug:
Stable Version:
Plug 'wuelnerdotexe/vim-enfocado'
Development version:
Plug 'wuelnerdotexe/vim-enfocado', { 'branch': 'development' }
Usage
Statuslines
To use Lightline theme:
let g:lightline = { 'colorscheme': 'enfocado' }
To use Lualine theme:
require('lualine').setup { options = { theme = 'enfocado' } }
To use Airline theme:
let g:airline_theme = "enfocado"
Colorscheme
First, if you have true color support, enable it:
set termguicolors
Otherwise, enable 256 terminal color support:
set t_Co=256
Then choose your favorite Enfocado style (nature
or neon
), for example:
let g:enfocado_style = "neon"
And finally turn on the Enfocado theme and enjoy!
" IMPORTANT: this vim auto command ensures the
" activation of Enfocado in compatible plugins.
autocmd VimEnter * ++nested colorscheme enfocado
Customization
Like all colorschemes, Enfocado is easy to customize with autocmd
. Make use of the ColorScheme
event as in the following examples.
It would be a good idea to put all of your personal changes in an augroup
, which you can do with the following code:
augroup enfocado_customization
autocmd!
" autocmds...
augroup END
To make the background transparent (same as in the screenshots), you can use the following:
augroup enfocado_customization
autocmd!
autocmd ColorScheme enfocado highlight Normal ctermbg=NONE guibg=NONE
autocmd ColorScheme enfocado highlight TabLineSel ctermbg=NONE guibg=NONE
augroup END
Note: The usage codes must be written in your .vimrc
or init.vim
.
Recommendations
Fonts
In order for the human text simulation to work as it should (in addition to installing nvim-treesitter), I recommend that you use either of these three beautiful fonts, which align with the "Mankind and Machine" concept.
Configs
This vim configs comes with Enfocado for Vim already installed by default!
Extras
Maintainer
Hola 👋, soy Wuelner, un software developer de Guatemala, apasionado por crear soluciones minimalistas utilizando fundamentos sólidos enfocados en "cómo deben ser las cosas".
Contributing
All your ideas and suggestions are welcome! 🙌
Let me see your captures and let me know what you think with the hashtag #HowThemesShouldBe. 👀
And of course, if you want to motivate me to constantly improve this theme, your donations are welcome at PayPal. 👉👈
Plugins
The following plugins are supported:
- coc.nvim
- copilot.vim
- dashboard-nvim
- fzf.vim
- gitsigns.nvim
- nerdree
- nvim-cmp
- nvim-lspconfig
- nvim-notify
- nvim-tree.lua
- telescope.nvim
- todo-comments.nvim
- vim-floaterm
- vim-multiple-cursors
- vim-signify
- vim-visual-multi
Credits
- Theme colorscheme by Jan Warchol on Github.
- Enfocado Nature wallpaper by Josefin on Unsplash.
- Enfocado Neon wallpaper by Dilyara Garifullina on Unsplash.
License
¡Con 💖 de Latinoamérica para el mundo!