Archived. Please see https://www.sainnhe.dev/post/status-line-config
First of all, install a nerd font, and apply it: nerd font
" Specify a directory for plugins | |
call plug#begin('~/.vim/plugged') | |
Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
Plug 'scrooloose/nerdtree' | |
"Plug 'tsony-tsonev/nerdtree-git-plugin' | |
Plug 'Xuyuanp/nerdtree-git-plugin' | |
Plug 'tiagofumo/vim-nerdtree-syntax-highlight' | |
Plug 'ryanoasis/vim-devicons' | |
Plug 'airblade/vim-gitgutter' |
First of all, install a nerd font, and apply it: nerd font
You don't want Xorg to use your NVIDIA gpu. Need to blacklist nouveau and nvidia-drm.
In the created file /etc/modprobe.d/blacklist-nouveau.conf
:
blacklist nouveau
options nouveau modeset=0
In the file /etc/modprobe.d/blacklist-nvidia-drm.conf
:
blacklist nvidia-drm
#!/usr/bin/env bash | |
LIBRARY="$HOME/Library" | |
function display() { | |
books=$(find $LIBRARY | grep '\.epub\|\.pdf') | |
books=${books//$LIBRARY/"~"} | |
line=$(echo "$books" | rofi -matcher fuzzy -dmenu -i -p "book> ") |