Skip to content

Instantly share code, notes, and snippets.

@matsuu
Last active June 20, 2023 12:19
Show Gist options
  • Save matsuu/0024be3e3ff03eaff315d7240bbef4c4 to your computer and use it in GitHub Desktop.
Save matsuu/0024be3e3ff03eaff315d7240bbef4c4 to your computer and use it in GitHub Desktop.
xxh configuration
# ~/.xxh/.xxh/plugins/xxh-plugin-prerun-dotfiles/home/.tmux.conf
set-window-option -g mode-keys vi
set-window-option -g automatic-rename off
set-option -g default-terminal "screen-256color"
set-option -g pane-active-border-style fg=red
" ~/.xxh/.xxh/plugins/xxh-plugin-prerun-dotfiles/home/.vimrc
set modeline
set laststatus=2
set noshowmode
syntax on
filetype plugin indent on
let g:lsp_diagnostics_echo_cursor=1
set background=dark
colorscheme gruvbox
let g:gruvbox_contrast_dark="hard"
highlight Normal ctermbg=none ctermfg=none
# ~/.config/xxh/config.xxhc
hosts:
".*":
+s: bash
+hh: "~/.xxh.matsuu"
+e:
- COLORFGBG="15;0"
- EDITOR="vim"
+i:
#!/bin/sh
xxh +I xxh-plugin-prerun-dotfiles
cd ~/.xxh/.xxh/plugins/xxh-plugin-prerun-dotfiles/home
rm -r .config .selected_editor .sudo_as_admin_successful .xonshrc
mkdir -p .vim/pack/plugins/start
cd .vim/pack/plugins/start
for repo in \
git://repo.or.cz/vcscommand \
https://github.com/jreybert/vimagit \
https://github.com/prabirshrestha/async.vim \
https://github.com/prabirshrestha/asyncomplete.vim \
https://github.com/prabirshrestha/asyncomplete-lsp.vim \
https://github.com/prabirshrestha/vim-lsp \
https://github.com/mattn/vim-lsp-settings \
https://github.com/mattn/vim-goimports \
https://github.com/morhetz/gruvbox \
https://github.com/itchyny/lightline.vim \
https://github.com/cespare/vim-toml
do
basename="`basename ${repo}`"
git clone --depth=1 --recursive ${repo} "${basename}"
done
cd ~/.xxh/.xxh/plugins/xxh-plugin-prerun-dotfiles
./build.sh
#!/bin/sh
apt-get update
apt-get install graphviz
go install golang.org/x/tools/cmd/goimports@latest
ssh-keygen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment