🍞 My personal dotfiles that have configurations for Vim, tmux, Alacritty, Git, etc.
My personal configurations for Vim, tmux, Alacritty, Git, etc.
Clone this repository to your home directory and run the init script.
cd ~
git clone [email protected]:shuhei/dotfiles.git
./dotfiles/init.sh
Check alacritty/base.yml
and install the fonts used in the configuration.
Use colorscheme
command to update color schemes of Alacritty, Vim and partially tmux together.
# Good for morning
colorscheme ayu-light
# Good for night
colorscheme nord
colorscheme pink-moon
The command generates .alacritty.yml
and .tmux.color.conf
.
At the bottom of ~/.bash_profile
:
source ~/dotfiles/.bash_profile
Install oh-my-zsh.
~/.zshrc
:
export ZSH="/Users/shuhei/.oh-my-zsh"
# Load before oh-my-zsh.sh because `plugins` are listed in this file.
source ~/dotfiles/.zshrc
# Set a custom directory for the custom prompt
ZSH_CUSTOM=~/dotfiles/.oh-my-zsh
ZSH_THEME="euro"
source $ZSH/oh-my-zsh.sh
Delete completion cache files when you add a new completion plugin.
.zshrc
including completion: reload_zsh
<C-t>
or **<TAB>
(read junegunn/fzf for more)At the top of ~/.gitconfig
:
[include]
path = ~/dotfiles/.gitconfig
Don't forget to set your user name and email address:
git config --global user.name "Shuhei Kagawa"
git config --global user.email "[email protected]"
This repo’s configuration should be compatible with both of Neovim and Vim 8. To switch between them, delete ~/.cache/dein
and install dein.vim
again because the cache directory built for Vim 8 doesn't work for Neovim and vice versa.
''
to ""
: cs'"
(vim-surround),f
?
m
<C-p>
<CR>
<C-v>
fzf
: <C-c>
or <ESC>
<C-a>
<C-g>
,b
gx
gf
<C-o>
or ``
<C-o>
: <C-i>
:bp
<C-s>h
/<C-s>l
(:help window-move-cursor
)<C-w>H
/<C-w>L
(:help window-moving
)<C-c>
(fzf) or ,gv
(gitv):call dein#update()
:echo dein#check_lazy_plugins()
<Esc>
or <C-[>
<C-o>
,<
, ,>
.vimrc
: :so $MYVIMRC
,<Space>
zg
(:help spell
for more information),hl
:OR
<C-s>s
<C-s><S-s>
<C-s><S-r>
<C-s>p
v
<C-v>
<C-s>I
<C-s><Space>
<C-s><Left>
, <C-s><Right>
<C-s><Up>
, <C-s><Down>
<C-s><C-g>
<C-s><C-d>
<C-s>=
<C-s>-
<C-s>I
<C-s>U