-
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.
feat: better file naming, improved consistency
- Loading branch information
1 parent
654f141
commit 0897376
Showing
6 changed files
with
20 additions
and
21 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
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,17 +1,15 @@ | ||
# Copy-paste integration | ||
set-option -g default-command "reattach-to-user-namespace -l zsh" | ||
|
||
bind-key -T copy-mode-vi y send-keys -X copy-pipe "reattach-to-user-namespace pbcopy" | ||
|
||
# Update default binding of `Enter` to also use copy-pipe | ||
unbind -T copy-mode-vi Enter | ||
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe "reattach-to-user-namespace pbcopy" | ||
bind -T copy-mode-vi Enter send-keys -X copy-pipe "reattach-to-user-namespace pbcopy" | ||
bind -T copy-mode-vi 'y' send-keys -X copy-pipe "reattach-to-user-namespace pbcopy" | ||
bind -T copy-mode-vi 'y' send-keys -X copy-selection | ||
|
||
# Bind ']' to use pbpaste | ||
bind ] run "reattach-to-user-namespace pbpaste | tmux load-buffer - && tmux paste-buffer" | ||
|
||
bind -T copy-mode-vi 'y' send-keys -X copy-selection | ||
|
||
#Buffers to/from Mac clipboard, yay tmux book from pragprog | ||
bind C-c run "tmux save-buffer - | reattach-to-user-namespace pbcopy" | ||
bind C-v run "tmux set-buffer $(reattach-to-user-namespace pbpaste); tmux paste-buffer" |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Copy-paste integration for WSLENV | ||
if-shell -b 'test -n "$WSLENV"' 'bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel clip.exe' | ||
if-shell -b 'test -n "$WSLENV"' 'bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel clip.exe' |
This file was deleted.
Oops, something went wrong.
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
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,3 +1,2 @@ | ||
let b:ale_fixers=['prettier'] | ||
let b:ale_linters=['prettier'] | ||
|