Skip to content

Instantly share code, notes, and snippets.

View tsuyoshicho's full-sized avatar

Tsuyoshi CHO tsuyoshicho

View GitHub Profile
# prompt-wide option
# Disable the newline at the start of the prompt
add_newline = false
# format
# Wait 10 milliseconds for starship to check files under the current directory.
scan_timeout = 10
[username]
function! s:popup_select(rawchar, ...) abort " {{{
let result = ''
call s:plugin_status_update()
if g:user.plugin.asyncomplete
let result = result . asyncomplete#close_popup()
if a:0
let result = result . a:1
endif
else
let result = result . a:rawchar
mapped = [
'snowtrek',
'kalisi',
'one',
'PaperColor',
'vadelma',
'defminus',
'solarized',
'fogbell_light',
@tsuyoshicho
tsuyoshicho / .gitconfig
Created September 18, 2020 09:21
delta config for git (temp tuning)
[delta]
features = base-style color-line-numbers decorations
whitespace-error-style = reverse 93
inspect-raw-lines = false
[delta "base-style"]
minus-style = normal 169
minus-non-emph-style = normal 169
minus-emph-style = normal ul 169
minus-empty-line-marker-style = normal ul 169
[dein] #: not sourced, X: not installed
vimtweak
foldballoon.vim
palenight.vim
# es.next.syntax.vim
LeaderF
vim-anzu
vim-afterglow
emmet-vim
vim-operator-convert-case
colorscheme.toml|2 col 3| # repo a-z(username) sorted.
colorscheme.toml|6 col 1| repo = 'AlessandroYorba/Alduin'
colorscheme.toml|17 col 1| repo = 'AlessandroYorba/Arcadia'
colorscheme.toml|37 col 1| repo = 'AlessandroYorba/Breve'
colorscheme.toml|48 col 1| repo = 'AlessandroYorba/Despacio'
colorscheme.toml|68 col 1| repo = 'AlessandroYorba/Sierra'
colorscheme.toml|88 col 1| repo = 'Haron-Prime/Antares'
colorscheme.toml|99 col 1| repo = 'KKPMW/moonshine-vim'
colorscheme.toml|112 col 1| repo = 'KabbAmine/yowish.vim'
colorscheme.toml|127 col 1| repo = 'NLKNguyen/papercolor-theme'
result = [
{'airline': 'yowish', 'background': 'dark', 'clap': '', 'lightline': 'yowish', 'mode': ['256', 'termguicolors', 'gui'], 'name': 'yowish'},
{'airline': 'yowishU', 'background': 'dark', 'clap': '', 'lightline': 'yowish', 'mode': ['256', 'termguicolors', 'gui'], 'name': 'yowish'},
{'airline': 'papercolor', 'background': 'dark', 'clap': '', 'lightline': 'PaperColor', 'mode': ['16', '256', 'termguicolors', 'gui'], 'name': 'PaperColor' },
{'airline': 'rigel', 'background': 'dark', 'clap': '', 'lightline': 'rigel', 'mode': ['256', 'termguicolors', 'gui'], 'name': 'rigel'},
{'airline': 'shades_of_purple', 'background': 'dark', 'clap': '', 'lightline': 'shades_of_purple', 'mode': ['termguicolor
set runtimepath^=~/.cache/dein/repos/github.com/Shougo/dein.vim
if dein#load_state('~/.cache/dein')
call dein#begin('~/.cache/dein', [$MYVIMRC, '~/.vim/rc/test.toml'])
call dein#load_toml('~/.vim/rc/test.toml', {'lazy': 0})
call dein#end()
call dein#save_state()
endif
let List = g:V.import('Data.List')
function! s:color_filter(item) abort
return !empty(a:item.lightline) && (a:item.background ==? 'dark')
endfunction
let result = List.filter(g:user.colorscheme,{ item -> s:color_filter(item) })
PP result
" install vim-pulg
if has('vim_starting')
set rtp+=~/.vim/plugged/vim-plug
if !isdirectory(expand('~/.vim/plugged/vim-plug'))
echo 'install vim-plug...'
call mkdir(expand('~/.vim/plugged/vim-plug'), 'p')
call system('git clone https://github.com/junegunn/vim-plug.git ' . expand('~/.vim/plugged/vim-plug/autoload'))
end
endif
" setup