Created
February 1, 2021 04:40
-
-
Save dede999/138982999017cd20896f688512a1600b to your computer and use it in GitHub Desktop.
Advanced configuration file for SpaceVim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "============================================================================= | |
| " init.vim --- Entry file for neovim | |
| " Copyright (c) 2016-2020 Wang Shidong & Contributors | |
| " Author: Wang Shidong < wsdjeg@outlook.com > | |
| " URL: https://spacevim.org | |
| " License: GPLv3 | |
| "============================================================================= | |
| execute 'source' fnamemodify(expand('<sfile>'), ':h').'/main.vim' | |
| set wrap | |
| set hidden | |
| filetype on | |
| set mouse=a | |
| set autoindent | |
| set encoding=utf-8 | |
| set guifont=FiraCode | |
| " set guifont=Fira\ Code\ SemiBold\ Nerd\ Font\ Complete\ Mono\ 12 | |
| set tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab | |
| " Set default spell language | |
| set spelllang=pt | |
| " Enables 24-bit color on the terminal if supported. The colorscheme "gruvbox" | |
| " requires it | |
| set termguicolors | |
| " Toggle spellcheck | |
| noremap <F6> :set spell!<CR> | |
| " nnoremap <Ctrl> | |
| " let g:lightline = { 'colorscheme': 'solarized' } | |
| " airline config | |
| let g:airline_powerline_fonts = 1 | |
| " airline extentions | |
| let g:airline_theme = 'arclight' | |
| let g:airline#extensions#promptline#enabled = 1 | |
| let g:airline#extensions#fugitiveline#enabled = 1 | |
| let g:airline#extensions#tabline#enabled = 1 | |
| let g:airline#extensions#tabline#buffer_nr_show = 1 | |
| let g:airline#extensions#tabline#left_alt_sep = '' | |
| let g:airline#extensions#tabline#formatter = 'unique_tail_improved' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment