Add neovim

This commit is contained in:
Fabian Ising
2018-07-29 16:26:51 +02:00
parent 022fb330d5
commit 1a47a9f316
8 changed files with 43 additions and 8 deletions

4
tmux/.mac_config Normal file
View 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"

View File

@@ -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'

View 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
View 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

View File

@@ -0,0 +1 @@
/Users/fabian/Masterarbeit/thesis 40