Add neovim
This commit is contained in:
4
tmux/.mac_config
Normal file
4
tmux/.mac_config
Normal file
@@ -0,0 +1,4 @@
|
||||
set-option -g default-shell /bin/zsh
|
||||
bind -Tcopy-mode-vi y send -X copy-pipe "pbcopy" \; display-message "copied to system clipboard"
|
||||
bind C-p run "tmux set-buffer \"$pbpaste\"; tmux paste-buffer"
|
||||
bind C-y run "tmux save-buffer - | pbcopy"
|
||||
@@ -54,18 +54,25 @@ bind -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R"
|
||||
# move x clipboard into tmux paste buffer
|
||||
bind C-p run "tmux set-buffer \"$(xclip -o)\"; tmux paste-buffer"
|
||||
# move tmux copy buffer into x clipboard
|
||||
bind C-y run "tmux save-buffer - | xclip -i"
|
||||
set-option -s set-clipboard off
|
||||
|
||||
if '[ `uname` == Darwin ]' \
|
||||
'source-file ~/.tmux/.mac_config'
|
||||
source-file ~/.tmux/.tmux_config_powerline
|
||||
|
||||
|
||||
# Escape timeout for nvim
|
||||
set -sg escape-time 10
|
||||
|
||||
|
||||
# List of plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
#set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/tmux-sidebar'
|
||||
set -g @plugin 'tmux-plugins/tmux-open'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
# set -g @open-editor 'C-b'
|
||||
set -g @plugin 'jimeh/tmux-themepack'
|
||||
set -g @themepack 'powerline/double/red'
|
||||
|
||||
# Other examples:
|
||||
# set -g @plugin 'github_username/plugin_name'
|
||||
@@ -73,4 +80,5 @@ set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
# set -g @plugin 'git@bitbucket.com/user/plugin'
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
run "echo 'New run' > /tmp/tpm_out"
|
||||
run '~/.tmux/plugins/tpm/tpm >> /tmp/tpm_out 2>&1 >> /tmp/tpm_out'
|
||||
|
||||
1
tmux/.tmux_config_powerline_mac.example
Normal file
1
tmux/.tmux_config_powerline_mac.example
Normal file
@@ -0,0 +1 @@
|
||||
source '/usr/local/lib/python3.6/site-packages/powerline/bindings/tmux/powerline.conf'
|
||||
11
tmux/mac_tmux_wrapper.sh
Executable file
11
tmux/mac_tmux_wrapper.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# test.sh
|
||||
# Copyright (C) 2018 fabian <fabian@FordPrefect.local>
|
||||
#
|
||||
# Distributed under terms of the MIT license.
|
||||
#
|
||||
|
||||
|
||||
export PATH=$PATH:/usr/local/bin
|
||||
tmux
|
||||
Submodule tmux/plugins/tpm updated: 51ff07a729...95f78336c3
1
tmux/sidebar/directory_widths.txt
Normal file
1
tmux/sidebar/directory_widths.txt
Normal file
@@ -0,0 +1 @@
|
||||
/Users/fabian/Masterarbeit/thesis 40
|
||||
15
zsh/.zshrc
15
zsh/.zshrc
@@ -1,7 +1,13 @@
|
||||
# Set path to work with pycharm ...
|
||||
[[ "$PATH" =~ /usr/local/bin ]] || export PATH=$PATH:/usr/local/bin
|
||||
|
||||
[[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config
|
||||
[[ -f ~/.zsh/.user_config ]] && source ~/.zsh/.user_config
|
||||
[[ -f ~/.zsh/.virtual_env_config.zsh ]] && source ~/.zsh/.virtual_env_config.zsh
|
||||
[[ -f /usr/share/doc/find-the-command/ftc.zsh ]] && source /usr/share/doc/find-the-command/ftc.zsh
|
||||
[[ -f ~/.zsh/.mac_config ]] && source ~/.zsh/.mac_config
|
||||
|
||||
POWERLEVEL9K_INSTALLATION_PATH=$ANTIGEN_BUNDLES/bhilburn/powerlevel9k
|
||||
# Load Antigen
|
||||
source ~/.zsh/antigen/antigen.zsh
|
||||
|
||||
@@ -14,8 +20,7 @@ antigen use oh-my-zsh
|
||||
#
|
||||
# Antigen Theme
|
||||
#
|
||||
|
||||
antigen theme agnoster
|
||||
antigen theme bhilburn/powerlevel9k powerlevel9k
|
||||
|
||||
#
|
||||
# Antigen Bundles
|
||||
@@ -28,6 +33,7 @@ antigen bundle go
|
||||
|
||||
# antigen bundle tmuxinator
|
||||
antigen bundle zsh-users/zsh-syntax-highlighting
|
||||
antigen bundle zsh-users/zsh-autosuggestions
|
||||
|
||||
# For SSH, starting ssh-agent is annoying
|
||||
antigen bundle ssh-agent
|
||||
@@ -37,5 +43,8 @@ antigen bundle pip
|
||||
antigen bundle python
|
||||
antigen bundle virtualenv
|
||||
|
||||
antigen bundle virtualenv
|
||||
|
||||
antigen apply
|
||||
export EDITOR='vim'
|
||||
alias vim=nvim
|
||||
export EDITOR='nvim'
|
||||
|
||||
Reference in New Issue
Block a user