This commit is contained in:
Bill Niblock 2016-10-08 20:02:14 -04:00
parent ceec0b8316
commit 2e9ebcd354
3 changed files with 20 additions and 0 deletions

View file

@ -106,14 +106,23 @@ bind r source-file ~/.tmux.conf \; display "Config Reloaded!"
# Capture a pane into file for uploading to Gist # Capture a pane into file for uploading to Gist
# bind-key u capture-pane \; save-buffer /tmp/tmux-buffer # bind-key u capture-pane \; save-buffer /tmp/tmux-buffer
# Captur selection, create a gist from it
#bind-key -tvi-copy u copy-pipe "~/Workbench/dotfiles/tmux/copy_selected.sh"
bind-key -tvi-copy u copy-pipe "ruby ~/gist_gem.rb -"
###### ######
# Plugins # Plugins
### ###
# TPM - Tmux Plugin Manager # TPM - Tmux Plugin Manager
# Install Plugins: <C-b> + I
# Uninstall Plugins: <C-b> + <Alt-u>
# Update Plugins: <C-b> + U
set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tpm'
# Resurrect sessions # Resurrect sessions
# Save: <C-b> + <C-s>
# Restore: <C-b> + <C-r>
set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-resurrect'
# Allow for scroll-wheel copy mode # Allow for scroll-wheel copy mode

View file

@ -32,6 +32,13 @@ set expandtab
set smarttab set smarttab
set shiftwidth=5 set shiftwidth=5
set softtabstop=5 set softtabstop=5
" Ruby-specific
augroup rubyfiletypes
" Clear old autocmds in group
autocmd!
" Set auto-indent to two spaces, always expand tabs
autocmd FileType ruby,eruby,yaml set ai sw=2 sts=2 et
augroup END
" Spacing " Spacing
" Set width; word wrap; scroll mods " Set width; word wrap; scroll mods

View file

@ -34,9 +34,13 @@ Plug 'tpope/vim-tbone'
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'
Plug 'vimwiki/vimwiki' Plug 'vimwiki/vimwiki'
Plug 'tpope/vim-unimpaired' Plug 'tpope/vim-unimpaired'
Plug 'tpope/vim-commentary'
" Plug 'justinmk/vim-sneak' " Plug 'justinmk/vim-sneak'
" Plug 'ap/vim-templates' " Plug 'ap/vim-templates'
" Ruby Related
Plug 'tpope/vim-endwise'
Plug 'vim-ruby/vim-ruby'
" Appearance Related " Appearance Related
Plug 'mhinz/vim-startify' Plug 'mhinz/vim-startify'