From f5c392b9aa790fec565b78626da4bd6ba3faac0a Mon Sep 17 00:00:00 2001 From: hellerve Date: Tue, 6 Feb 2018 12:13:37 +0100 Subject: [PATCH] all: remove tmux; ghci: remove lambda prompt --- Makefile | 6 +----- dev-tmux | 7 ------- ghci | 2 -- tmux.conf | 38 -------------------------------------- zshrc | 5 ----- 5 files changed, 1 insertion(+), 57 deletions(-) delete mode 100755 dev-tmux delete mode 100644 tmux.conf diff --git a/Makefile b/Makefile index 099b6e5..2f74154 100644 --- a/Makefile +++ b/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 diff --git a/dev-tmux b/dev-tmux deleted file mode 100755 index e3c2a34..0000000 --- a/dev-tmux +++ /dev/null @@ -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 diff --git a/ghci b/ghci index 57083d7..63f7dc9 100644 --- a/ghci +++ b/ghci @@ -1,5 +1,3 @@ -:set prompt "λ > " -:set prompt2 "λ² > " {- :set -Wall -} :set +m diff --git a/tmux.conf b/tmux.conf deleted file mode 100644 index 528e72c..0000000 --- a/tmux.conf +++ /dev/null @@ -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" diff --git a/zshrc b/zshrc index 9efdf4f..29a000e 100644 --- a/zshrc +++ b/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