Skip to content

Commit f3b42a8

Browse files
committed
update
1 parent 152643e commit f3b42a8

File tree

3 files changed

+91
-266
lines changed

3 files changed

+91
-266
lines changed

.tmux.conf

+2-5
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ set-option -g prefix C-k
55
set -s escape-time 0
66

77
# set default shell
8-
set-option -g default-shell /bin/zsh
8+
set-option -g default-shell /usr/local/bin/zsh
99

10-
set-option -g default-command "reattach-to-user-namespace -l zsh"
10+
#set-option -g default-command "reattach-to-user-namespace -l zsh"
1111

1212

1313

@@ -29,7 +29,6 @@ set-option -g default-terminal "xterm-256color"
2929
set-window-option -g window-status-current-format "#[fg=colour236, bg=colour136]#[fg=colour255, bg=colour168] #I #W #[fg=colour124, bg=colour136]"
3030
set-option -g status on
3131
set-option -g status-interval 2
32-
set-option -g status-utf8 on
3332
set-option -g status-justify "left"
3433
set -g status-bg colour236
3534
set -g status-fg colour255
@@ -47,8 +46,6 @@ bind v split-window -h
4746

4847
# vi-style controls for copy mode
4948
setw -g mode-keys vi
50-
bind -t vi-copy 'v' begin-selection
51-
bind -t vi-copy 'y' copy-selection
5249
# move x clipboard into tmux paste buffer
5350
bind C-p run "xclip -o | tmux load-buffer -"
5451
# # move tmux copy buffer into x clipboard

.vimrc

-261
This file was deleted.

installer.sh

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
#!/bin/sh
2+
# Standalone installer for Unixs
3+
# Original version is created by shoma2da
4+
# https://github.com/shoma2da/neobundle_installer
5+
6+
if [ $# -ne 1 ]; then
7+
echo "You must specify the installation directory!"
8+
exit 1
9+
fi
10+
11+
# Convert the installation directory to absolute path
12+
case $1 in
13+
/*) PLUGIN_DIR=$1;;
14+
*) PLUGIN_DIR=$PWD/$1;;
15+
esac
16+
INSTALL_DIR="${PLUGIN_DIR}/repos/github.com/Shougo/dein.vim"
17+
echo "Install to \"$INSTALL_DIR\"..."
18+
if [ -e "$INSTALL_DIR" ]; then
19+
echo "\"$INSTALL_DIR\" already exists!"
20+
fi
21+
22+
echo ""
23+
24+
# check git command
25+
type git || {
26+
echo 'Please install git or update your path to include the git executable!'
27+
exit 1
28+
}
29+
echo ""
30+
31+
# make plugin dir and fetch dein
32+
if ! [ -e "$INSTALL_DIR" ]; then
33+
echo "Begin fetching dein..."
34+
mkdir -p "$PLUGIN_DIR"
35+
git clone https://github.com/Shougo/dein.vim "$INSTALL_DIR"
36+
echo "Done."
37+
echo ""
38+
fi
39+
40+
# write initial setting for .vimrc
41+
echo "Please add the following settings for dein to the top of your vimrc (Vim) or init.vim (NeoVim) file:"
42+
{
43+
echo ""
44+
echo ""
45+
echo "\"dein Scripts-----------------------------"
46+
echo "if &compatible"
47+
echo " set nocompatible \" Be iMproved"
48+
echo "endif"
49+
echo ""
50+
echo "\" Required:"
51+
echo "set runtimepath+=$INSTALL_DIR"
52+
echo ""
53+
echo "\" Required:"
54+
echo "if dein#load_state('$PLUGIN_DIR')"
55+
echo " call dein#begin('$PLUGIN_DIR')"
56+
echo ""
57+
echo " \" Let dein manage dein"
58+
echo " \" Required:"
59+
echo " call dein#add('$INSTALL_DIR')"
60+
echo ""
61+
echo " \" Add or remove your plugins here:"
62+
echo " call dein#add('Shougo/neosnippet.vim')"
63+
echo " call dein#add('Shougo/neosnippet-snippets')"
64+
echo ""
65+
echo " \" You can specify revision/branch/tag."
66+
echo " call dein#add('Shougo/deol.nvim', { 'rev': 'a1b5108fd' })"
67+
echo ""
68+
echo " \" Required:"
69+
echo " call dein#end()"
70+
echo " call dein#save_state()"
71+
echo "endif"
72+
echo ""
73+
echo "\" Required:"
74+
echo "filetype plugin indent on"
75+
echo "syntax enable"
76+
echo ""
77+
echo "\" If you want to install not installed plugins on startup."
78+
echo "\"if dein#check_install()"
79+
echo "\" call dein#install()"
80+
echo "\"endif"
81+
echo ""
82+
echo "\"End dein Scripts-------------------------"
83+
echo ""
84+
echo ""
85+
}
86+
87+
echo "Done."
88+
89+
echo "Complete setup dein!"

0 commit comments

Comments
 (0)