Update
This commit is contained in:
parent
ceec0b8316
commit
2e9ebcd354
3 changed files with 20 additions and 0 deletions
|
@ -106,14 +106,23 @@ bind r source-file ~/.tmux.conf \; display "Config Reloaded!"
|
|||
# Capture a pane into file for uploading to Gist
|
||||
# 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
|
||||
###
|
||||
|
||||
# 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'
|
||||
|
||||
# Resurrect sessions
|
||||
# Save: <C-b> + <C-s>
|
||||
# Restore: <C-b> + <C-r>
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
|
||||
# Allow for scroll-wheel copy mode
|
||||
|
|
|
@ -32,6 +32,13 @@ set expandtab
|
|||
set smarttab
|
||||
set shiftwidth=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
|
||||
" Set width; word wrap; scroll mods
|
||||
|
|
|
@ -34,9 +34,13 @@ Plug 'tpope/vim-tbone'
|
|||
Plug 'tpope/vim-surround'
|
||||
Plug 'vimwiki/vimwiki'
|
||||
Plug 'tpope/vim-unimpaired'
|
||||
Plug 'tpope/vim-commentary'
|
||||
" Plug 'justinmk/vim-sneak'
|
||||
" Plug 'ap/vim-templates'
|
||||
|
||||
" Ruby Related
|
||||
Plug 'tpope/vim-endwise'
|
||||
Plug 'vim-ruby/vim-ruby'
|
||||
|
||||
" Appearance Related
|
||||
Plug 'mhinz/vim-startify'
|
||||
|
|
Loading…
Reference in a new issue