-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add tmux settings * change fish key-bindings
- Loading branch information
Showing
2 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
function fish_user_key_bindings | ||
|
||
# Ctrl+c : Zのディレクトリ移動履歴をfzfで表示 | ||
bind \cc zi | ||
# Ctrl+z : Zのディレクトリ移動履歴をfzfで表示 | ||
bind \cz zi | ||
# fzf.fishのキーバインド | ||
# Ctrl+r : コマンド履歴検索, Ctrl+s : ファイル、ディレクトリパス検索, Ctrl+v : 変数検索, Ctrl+g : git log検索 | ||
fzf_configure_bindings --history=\cr --directory=\cs --variables=\cv --git_log=\cg --git_status --processes | ||
# Ctrl+r : コマンド履歴検索, Ctrl+f : ファイル、ディレクトリパス検索, Ctrl+v : 変数検索, Ctrl+l : git log検索 | ||
fzf_configure_bindings --history=\cr --directory=\cf --variables=\cv --git_log=\cl --git_status --processes | ||
|
||
# Ctrl+g : gituiを起動 | ||
bind \cg gitui | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
set-option -g allow-passthrough on | ||
set -g allow-passthrough on | ||
setw -g mouse on | ||
|
||
# プレフィックスキーをCtrl-bからCtrl-sに変更する | ||
unbind C-b | ||
set -g prefix C-s | ||
|
||
# C-d でデタッチする | ||
bind C-d detach-client | ||
|
||
# | でペインを縦分割する | ||
bind | split-window -h | ||
|
||
# - でペインを縦分割する | ||
bind - split-window -v | ||
|
||
# ウィンドウとペインのインデックスを1から始める | ||
set -g base-index 1 | ||
setw -g pane-base-index 1 |