Skip to content

Instantly share code, notes, and snippets.

View tsuyoshicho's full-sized avatar

Tsuyoshi CHO tsuyoshicho

View GitHub Profile
" 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
" 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
@tsuyoshicho
tsuyoshicho / starship.bash
Created April 1, 2020 13:59
starship bash code (starship init bash --full-code-print) sample - dump 20200401
# We use PROMPT_COMMAND and the DEBUG trap to generate timing information. We try
# to avoid clobbering what we can, and try to give the user ways around our
# clobbers, if it's unavoidable. For example, PROMPT_COMMAND is appended to,
# and the DEBUG trap is layered with other traps, if it exists.
# A bash quirk is that the DEBUG trap is fired every time a command runs, even
# if it's later on in the pipeline. If uncorrected, this could cause bad timing
# data for commands like `slow | slow | fast`, since the timer starts at the start
# of the "fast" command.
@tsuyoshicho
tsuyoshicho / note.md
Created March 20, 2020 04:08
Vim Idea note : color manager

Color Manager

Abstract

This config set keep

  • Term 16/256/true, GUI
  • background
  • airline/lightline
  • some variant name
grep test code
to gist
let s:Grep = s:V.import('App.Grep')
" top grep util
let module_list = s:Grep.modules()
let module_list = s:Grep.modules(prio_list) " prio list sorted
let module = s:Grep.module('name')
[dein] #: not sourced, X: not installed
empty-prompt.vim
vim-anzu
emmet-vim
vim-operator-convert-case
lightline-buffer
jasegment.vim
rfc-syntax
# vimodoro
sarahck.vim
languages:
vim:
lint-command: 'vint -'
lint-stdin: true
markdown:
lint-command: 'markdownlint -s'
lint-stdin: true
lint-formats:
- '%f:%l %m'