all: remove tmux; ghci: remove lambda prompt
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,4 +1,4 @@
|
||||
all: bash cardinal e ghc git input python sbcli scripts tmux valgrind vim zepto zsh
|
||||
all: bash cardinal e ghc git input python sbcli scripts valgrind vim zepto zsh
|
||||
|
||||
bash:
|
||||
cp bash_profile ~/.bash_profile
|
||||
@@ -29,10 +29,6 @@ scripts:
|
||||
sbcli:
|
||||
cp -r sbclirc ~/
|
||||
|
||||
tmux:
|
||||
cp dev-tmux ~/dev-tmux
|
||||
cp tmux.conf ~/.tmux.conf
|
||||
|
||||
valgrind:
|
||||
cp valgrindrc ~/.valgrindrc
|
||||
|
||||
|
7
dev-tmux
7
dev-tmux
@@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
tmux new-session -d
|
||||
tmux split-window -h
|
||||
tmux split-window
|
||||
tmux new-window 'mutt'
|
||||
tmux -2 attach-session -d
|
||||
tmux select-pane -t 0
|
38
tmux.conf
38
tmux.conf
@@ -1,38 +0,0 @@
|
||||
bind-key Escape copy-mode
|
||||
set -g status-bg blue
|
||||
set -g status-fg white
|
||||
set -g status-interval 60
|
||||
set -g status-left-length 0
|
||||
set -g status-left ''
|
||||
set-window-option -g window-status-current-bg red
|
||||
set -g status-right '#[default]#[fg=green]#H #[fg=white]%m/%d %I:%M%p #[default]'
|
||||
|
||||
set-option -g default-command /bin/zsh
|
||||
set-option -g default-shell /bin/zsh
|
||||
set-window-option -g mouse on
|
||||
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
|
||||
|
||||
bind m \
|
||||
set -g mouse on \;\
|
||||
display 'Mouse: ON'
|
||||
|
||||
bind M \
|
||||
set -g mouse off \;\
|
||||
display 'Mouse: OFF'
|
||||
|
||||
# Copy-paste integration
|
||||
set-option -g default-command "reattach-to-user-namespace -l zsh"
|
||||
|
||||
# Use vim keybindings in copy mode
|
||||
setw -g mode-keys vi
|
||||
|
||||
# Setup 'v' to begin selection as in Vim
|
||||
bind-key -t vi-copy v begin-selection
|
||||
bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
|
||||
|
||||
# Update default binding of `Enter` to also use copy-pipe
|
||||
unbind -t vi-copy Enter
|
||||
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
|
||||
|
||||
# Bind ']' to use pbpaste
|
||||
bind ] run "reattach-to-user-namespace pbpaste | tmux load-buffer - && tmux paste-buffer"
|
5
zshrc
5
zshrc
@@ -63,10 +63,6 @@ alias loc="cloc --read-lang-def=/Users/veitheller/.scripts/cloc.txt *"
|
||||
alias ls="ls -a"
|
||||
alias quit="exit"
|
||||
alias clipboard_clear="echo lol | pbcopy"
|
||||
alias tmv="tmux split-window"
|
||||
alias tmh="tmux split-window -h"
|
||||
alias tms="tmux select-pane -t"
|
||||
alias tmk="killall tmux; tmux"
|
||||
PROMPT="%{$fg[red]%}%n%{$fg[white]%} at %{$fg[green]%}%m%{$fg[white]%}"$'\n'"=> "
|
||||
|
||||
expand-or-complete-with-dots(){
|
||||
@@ -197,7 +193,6 @@ save_dotfiles(){
|
||||
cp ~/.inputrc ${DOTPATH}inputrc
|
||||
cp ~/.pip-upgrade ${DOTPATH}pip-upgrade
|
||||
cp ~/.pythonrc ${DOTPATH}pythonrc
|
||||
cp ~/.tmux.conf ${DOTPATH}tmux.conf
|
||||
cp ~/.valgrindrc ${DOTPATH}valgrindrc
|
||||
cp ~/.vimrc ${DOTPATH}vimrc
|
||||
cp ~/.zeptorc ${DOTPATH}zeptorc
|
||||
|
Reference in New Issue
Block a user