summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-11-29 21:58:10 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2020-11-29 21:58:10 -0500
commit57ba6889fa16d05e2fe914d7b90c5ebd9e6b191d (patch)
treef550b3276a389e1c5f064161528dd37919912b7b /.config
parentb84a3cdbfe6ef145a7ba13d7c1a04f71e7efb55e (diff)
new fonts and colors
Diffstat (limited to '.config')
-rw-r--r--.config/fontconfig/fonts.conf2
-rwxr-xr-x.config/nvim/init.vim35
-rw-r--r--.config/vifm/colors/elly.vifm26
-rw-r--r--.config/vifm/vifmrc12
4 files changed, 60 insertions, 15 deletions
diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf
index a11d3ba..ee20220 100644
--- a/.config/fontconfig/fonts.conf
+++ b/.config/fontconfig/fonts.conf
@@ -28,7 +28,7 @@
<alias>
<family>monospace</family>
<prefer>
- <family>Brutalist Mono</family>
+ <family>Maison Mono</family>
<family>Liberation Mono</family>
</prefer>
</alias>
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 <leader>x :w! \| AsyncRun todotable <c-r>% TODO FIXME CHANGED XXX IDEA HACK NOTE REVIEW NB BUG QUESTION COMBAK TEMP<CR><CR>
" 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 <leader>p :! opout <c-r>%<CR><CR>
" Open corresponding .pdf/.html or preview
@@ -206,22 +212,22 @@ call matchadd('ColorColumn', '\%81v', 100)
map <C-j> <C-w>j
map <C-k> <C-w>k
map <C-l> <C-w>l
-" Figlet dotfile titles
-command RcTitle .!figlet -s -f big
" Easily escape terminal mode
tnoremap <Esc> <C-\><C-n>
-" Pressing shift semicolon was too long:
+" Space is my leader
nmap <Space> <Leader>
-" Fastest :w in the west
+" Fastest save in the west
nnoremap <leader>w :w<CR>
+
" #---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 <leader>gh :diffget //3<CR>
nmap <leader>gu :diffget //2<CR>
nmap <leader>gs :G<CR>
nmap <leader>gc :Gcommit<CR>
+" 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 ;; <Esc>/<++><CR>"_c4l
inoremap << «
inoremap >> »
" #---Filetype Specific Settings---# "
+set runtimepath^=~/.vim/bundle/todoist.nvim
diff --git a/.config/vifm/colors/elly.vifm b/.config/vifm/colors/elly.vifm
new file mode 100644
index 0000000..d6b0b95
--- /dev/null
+++ b/.config/vifm/colors/elly.vifm
@@ -0,0 +1,26 @@
+" colortheme
+highlight clear
+
+highlight Win cterm=none ctermfg=cyan ctermbg=none
+highlight Directory cterm=bold ctermfg=yellow ctermbg=default
+highlight Link cterm=bold ctermfg=green ctermbg=default
+highlight BrokenLink cterm=bold ctermfg=red ctermbg=default
+highlight Socket cterm=bold ctermfg=magenta ctermbg=default
+highlight Device cterm=bold ctermfg=red ctermbg=default
+highlight Fifo cterm=bold ctermfg=yellow ctermbg=default
+highlight Executable cterm=bold ctermfg=green ctermbg=default
+highlight Selected cterm=bold ctermfg=magenta ctermbg=default
+highlight CurrLine cterm=bold,reverse ctermfg=default ctermbg=default
+highlight TopLine cterm=none ctermfg=black ctermbg=none
+highlight TopLineSel cterm=bold ctermfg=black ctermbg=default
+highlight StatusLine cterm=bold ctermfg=black ctermbg=none
+highlight WildMenu cterm=underline,reverse ctermfg=cyan ctermbg=black
+highlight CmdLine cterm=none ctermfg=cyan ctermbg=none
+highlight ErrorMsg cterm=none ctermfg=red ctermbg=black
+highlight Border cterm=none ctermfg=black ctermbg=none
+highlight JobLine cterm=bold,reverse ctermfg=black ctermbg=cyan
+highlight SuggestBox cterm=bold ctermfg=default ctermbg=default
+highlight CmpMismatch cterm=bold ctermfg=cyan ctermbg=red
+highlight AuxWin cterm=bold,underline,reverse,standout,italic ctermfg=default ctermbg=default
+
+" vim: ft=vim
diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc
index 20dcdb9..4c15dca 100644
--- a/.config/vifm/vifmrc
+++ b/.config/vifm/vifmrc
@@ -38,7 +38,8 @@ set undolevels=100
set norunexec
" Selected color scheme
-colorscheme minimal
+colorscheme elly
+" colorscheme minimal
" Format for displaying time in file list. For example:
" TIME_STAMP_FORMAT=%m/%d-%H:%M
@@ -138,7 +139,7 @@ set rulerformat=
" CSV/Excel
" filetype *.xlsx libreoffice %c %i
-" fileviewer *.csv sed "s/,,,,/,,-,,/g;s/,,/ /g" %c | column -t | sed "s/ - / /g" | cut -c -%pw
+fileviewer *.csv sed "s/,,,,/,,-,,/g;s/,,/ /g" %c | column -t | sed "s/ - / /g" | cut -c -%pw
" HTMLs
fileviewer *.html w3m -dump %c
@@ -226,7 +227,7 @@ nmap q ZQ
nnoremap , :
" Set highlighted image as wallpaper
-nnoremap bg :!sh ~/.scripts/control/setbg %c &<cr>
+nnoremap bg :!sh $SCRIPTS/setbg %c &<cr>
" Upload highlighted file to 0x0.st and then save url to clipboard
nnoremap 0x0 :!curl -s -F'file=@%c' https://0x0.st > /dev/null | xclip -sel clip && notify-send "vifm" "File uploaded: $(xclip -o -selection clipboard)" &<cr>
@@ -241,10 +242,6 @@ source ~/.cache/vifm-shortcuts
" Easily go back home
nnoremap cd :cd<cr>
-
-" Start shell in current directory
-nnoremap s :shell<cr>
-
" Display sorting dialog
nnoremap S :sort<cr>
@@ -274,7 +271,6 @@ nnoremap x :!/home/siddharth/bin/utils/extract %f &<cr>
" Share Files with dropbox
nnoremap s :!dbshare %d/%b &<cr>
-nnoremap re :!tmpfunc %d/%b &<cr>
" Make a new directory
nnoremap mkd :mkdir<space>