This commit is contained in:
Klesh Wong 2020-09-19 18:17:28 +08:00
parent 6e1004b7df
commit 17c510b88c
3 changed files with 8 additions and 6 deletions

View File

@ -8,11 +8,10 @@ case "$PM" in
apt)
# fonts
sudo apt install \
fonts-wqy-microhei \
fonts-droid-fallback \
fonts-cascadia-code \
ttf-dejavu \
fonts-urw-base35 \
fonts-noto-cjk \
gucharmap
# network manager
sudo apt install \
@ -29,11 +28,10 @@ case "$PM" in
# fonts
sudo pacman -S --needed \
terminus-font \
ttf-droid \
freetype2 \
ttf-cascadia-code \
ttf-dejavu \
wqy-microhei-lite \
noto-fonts-cjk \
gucharmap
# clipboard
sudo pacman -S --needed \

View File

@ -3,7 +3,7 @@
<fontconfig>
<match target="pattern">
<test qual="any" name="family"><string>serif</string></test>
<edit name="family" mode="assign" binding="same"><string>Droid Serif</string></edit>
<edit name="family" mode="assign" binding="same"><string>Noto Serif</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>sans-serif</string></test>

View File

@ -103,6 +103,7 @@ Plug 'ctrlpvim/ctrlp.vim'
Plug 'mhinz/vim-grepper', { 'on': ['Grepper', '<plug>(GrepperOperator)'] }
Plug 'morhetz/gruvbox'
Plug 'dag/vim-fish'
Plug 'Vimjas/vim-python-pep8-indent'
call plug#end()
@ -126,9 +127,12 @@ call plug#end()
"nmap <silent> <leader>ss :syntax sync fromstart<CR>
"nmap <silent> <leader>ol <Plug>(coc-openlink)
" ==== auto-pairs configuration ====
nmap <silent> <leader>ap :call AutoPairsToggle()<CR>
let g:AutoPairsShortcutToggle = ''
" ==== grepper configuration ====
nmap <silent> <leader>ap :call AutoPairsToggle()<CR>
nnoremap <leader>sg :Grepper -tool git<CR>
nnoremap <leader>sc :Grepper -tool grep<CR>