Skip to content

Commit 45ae94b

Browse files
author
smc
committed
Initial commit
1 parent 4c9ce7d commit 45ae94b

File tree

7 files changed

+88
-0
lines changed

7 files changed

+88
-0
lines changed

.gitmodules

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[submodule "dotbot"]
2+
path = dotbot
3+
url = https://github.com/anishathalye/dotbot
4+
[submodule "vim/bundle/Vundle.vim"]
5+
path = vim/bundle/Vundle.vim
6+
url = https://github.com/VundleVim/Vundle.vim.git

dotbot

Submodule dotbot added at b062aea

install

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
CONFIG="install.conf.yaml"
6+
DOTBOT_DIR="dotbot"
7+
8+
DOTBOT_BIN="bin/dotbot"
9+
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
10+
11+
cd "${BASEDIR}"
12+
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
13+
git submodule update --init --recursive "${DOTBOT_DIR}"
14+
15+
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"

install.conf.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
- defaults:
2+
link:
3+
relink: true
4+
5+
- clean: ['~']
6+
7+
- link:
8+
~/.tmux.conf: tmux.conf
9+
~/.vim: vim
10+
~/.vimrc: vimrc
11+
12+
- shell:
13+
- [git submodule update --init --recursive, Installing submodules]

tmux.conf

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# act like vim
2+
setw -g mode-keys vi
3+
bind h select-pane -L
4+
bind j select-pane -D
5+
bind k select-pane -U
6+
bind l select-pane -R
7+
8+
# increase scrollback lines
9+
set -g history-limit 65536

vim/bundle/Vundle.vim

Submodule Vundle.vim added at 9a38216

vimrc

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
set nocompatible " be iMproved, required
2+
filetype off " required
3+
4+
" set the runtime path to include Vundle and initialize
5+
set rtp+=~/.vim/bundle/Vundle.vim
6+
call vundle#begin()
7+
" alternatively, pass a path where Vundle should install plugins
8+
"call vundle#begin('~/some/path/here')
9+
10+
" let Vundle manage Vundle, required
11+
Plugin 'VundleVim/Vundle.vim'
12+
13+
" The following are examples of different formats supported.
14+
" Keep Plugin commands between vundle#begin/end.
15+
" plugin on GitHub repo
16+
Plugin 'tpope/vim-fugitive'
17+
" plugin from http://vim-scripts.org/vim/scripts.html
18+
" Plugin 'L9'
19+
" Git plugin not hosted on GitHub
20+
Plugin 'git://git.wincent.com/command-t.git'
21+
" git repos on your local machine (i.e. when working on your own plugin)
22+
"Plugin 'file:///home/gmarik/path/to/plugin'
23+
" The sparkup vim script is in a subdirectory of this repo called vim.
24+
" Pass the path to set the runtimepath properly.
25+
"Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
26+
" Install L9 and avoid a Naming conflict if you've already installed a
27+
" different version somewhere else.
28+
" Plugin 'ascenator/L9', {'name': 'newL9'}
29+
30+
" All of your Plugins must be added before the following line
31+
call vundle#end() " required
32+
filetype plugin indent on " required
33+
" To ignore plugin indent changes, instead use:
34+
"filetype plugin on
35+
"
36+
" Brief help
37+
" :PluginList - lists configured plugins
38+
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
39+
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
40+
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
41+
"
42+
" see :h vundle for more details or wiki for FAQ
43+
" Put your non-Plugin stuff after this line

0 commit comments

Comments
 (0)