From 57ba6889fa16d05e2fe914d7b90c5ebd9e6b191d Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sun, 29 Nov 2020 21:58:10 -0500 Subject: new fonts and colors --- .config/nvim/init.vim | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) (limited to '.config/nvim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index a06a92c..cc72393 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -39,6 +39,8 @@ Plug 'romgrk/todoist.nvim', { 'do': ':TodoistInstall' } Plug 'hisaknown/deoplete-latex' " Turning vim into an R IDE Plug 'jalvesaq/Nvim-R' +" Vim Clap +Plug 'liuchengxu/vim-clap', { 'do': ':Clap install-binary!' } " Vim Sensible Plug 'tpope/vim-sensible' " Kite copilot @@ -79,6 +81,8 @@ Plug 'dylanaraps/wal.vim' Plug 'arcticicestudio/nord-vim' " My personal colorscheme Plug 'ChausseBenjamin/friffle-vim' +" Retro, yet relaxed colorscheme +Plug 'ryuta69/elly.vim' " Vim Fugitive Plug 'tpope/vim-fugitive' " Vim-Surround @@ -118,6 +122,7 @@ call plug#end() syntax on filetype plugin on set termguicolors +set lazyredraw set t_Co=256 set encoding=utf-8 set path+=** " Provides tab-completion for all file related tasks @@ -178,6 +183,7 @@ autocmd InsertLeave,TextChanged *.gd,*.ms,*.mom :w! | :execute 'silent AsyncRun map x :w! \| AsyncRun todotable % TODO FIXME CHANGED XXX IDEA HACK NOTE REVIEW NB BUG QUESTION COMBAK TEMP " Have dwmblocks automatically recompile and run when you edit this file in autocmd BufWritePost ~/Compilation/dwmblocks/config.h !cd ~/Compilation/dwmblocks/; make && sudo make install && { killall -q dwmblocks;setsid dwmblocks & } +autocmd BufWritePost ~/.Xresources !xrdb -load % " Open corresponding .pdf/.html or preview map p :! opout % " Open corresponding .pdf/.html or preview @@ -206,22 +212,22 @@ call matchadd('ColorColumn', '\%81v', 100) map j map k map l -" Figlet dotfile titles -command RcTitle .!figlet -s -f big " Easily escape terminal mode tnoremap -" Pressing shift semicolon was too long: +" Space is my leader nmap -" Fastest :w in the west +" Fastest save in the west nnoremap w :w + " #---Visual Enhancements---# " -colorscheme friffle +colorscheme elly +" colorscheme friffle " Remove latex underscore errors let g:tex_no_error=1 " let g:airline_powerline_fonts = 1 " Lightline config let g:lightline = { - \ 'colorscheme': 'friffle', + \ 'colorscheme': 'elly', \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ] @@ -257,6 +263,22 @@ nmap gh :diffget //3 nmap gu :diffget //2 nmap gs :G nmap gc :Gcommit +" Todoist icons + let todoist = { + \ 'icons': { + \ 'unchecked': ' ', + \ 'checked': ' ', + \ 'loading': ' ', + \ 'error': ' ', + \ }, + \} +" Todoist with vim Clap +let clap_provider_todoist = { +\ 'source': {-> Todoist__listProjects()}, +\ 'sink': 'Todoist', +\} + + " #---Universal Macros---# " @@ -266,3 +288,4 @@ inoremap ;; /<++>"_c4l inoremap << « inoremap >> » " #---Filetype Specific Settings---# " +set runtimepath^=~/.vim/bundle/todoist.nvim -- cgit v1.2.3