chore: update alacritty and neovim config

This commit is contained in:
Rekai Nyangadzayi Musuka 2020-10-22 13:16:44 -05:00
parent 3953945297
commit abe86d87a7
2 changed files with 33 additions and 11 deletions

View File

@ -1,19 +1,19 @@
# Set Default Font
font:
normal:
family: MesloLGS NF
family: CaskaydiaCove Nerd Font
style: Regular
bold:
family: MesloLGS NF
family: CaskaydiaCove Nerd Font
style: Bold
italic:
family: MesloLGS NF
family: CaskaydiaCove Nerd Font
style: Italic
bold_italic:
family: MesloLGS NF
family: CaskaydiaCove Nerd Font
style: Bold Italic
# Color Schemes

View File

@ -1,5 +1,21 @@
" Use 24-bit (true-color) mode in Vim/Neovim when outside tmux.
" If you're using tmux version 2.2 or later, you can remove the outermost $TMUX check and use tmux's 24-bit color support
" (see < http://sunaku.github.io/tmux-24bit-color.html#usage > for more information.)
if (empty($TMUX))
if (has("nvim"))
" For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
endif
" For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
" Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
" < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
if (has("termguicolors"))
set termguicolors
endif
endif
" Shortcuts
map <C-o> :NERDTreeToggle<CR>
nnoremap <silent><nowait> <space>o :NERDTreeToggle<CR>
nnoremap <silent><nowait> <space>s :TagbarToggle<CR>
" Remove Highlight
@ -29,7 +45,6 @@ inoremap <silent><expr> <c-space> coc#refresh()
" coc.nvim quick fix
nmap <leader>qf <Plug>(coc-fix-current)
" Use tab for trigger completion with characters ahead and navigate.
" Used by coc.nvim
inoremap <silent><expr> <TAB>
@ -66,7 +81,7 @@ endfunction
" CoC Status in LightLine
" Used by coc.nvim lightline.nvim
let g:lightline = {
\ 'colorscheme': 'molokai',
\ 'colorscheme': 'one',
\ 'active': {
\ 'left': [ [ 'mode', 'paste' ],
\ [ 'cocstatus', 'readonly', 'filename', 'modified' ] ]
@ -94,11 +109,18 @@ nnoremap <silent><nowait> <space>c :<C-u>CocList commands<cr>
" Plugged Plugins
call plug#begin(stdpath('data') . '/plugged')
" Activity Tracking
" Plug 'ActivityWatch/aw-watcher-vim'
" Blue Theme
Plug 'wadackel/vim-dogrun'
" Indent Detection
Plug 'tpope/vim-sleuth'
" One Dark Theme
Plug 'joshdick/onedark.vim'
Plug 'rakr/vim-one'
" Activity Tracking
" Plug 'ActivityWatch/aw-watcher-vim'
" Monokai Theme
Plug 'tomasr/molokai'
@ -146,4 +168,4 @@ let g:rustfmt_autosave = 1
" Configuration
set noshowmode " Not Needed because we have Lightline
colorscheme molokai
colorscheme one