Refactored and reformatted
This commit is contained in:
parent
2652ddcb9f
commit
3ce031be9f
4 changed files with 41 additions and 9 deletions
|
@ -102,3 +102,16 @@ 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
|
||||||
|
|
||||||
|
######
|
||||||
|
# Plugins
|
||||||
|
###
|
||||||
|
|
||||||
|
# TPM - Tmux Plugin Manager
|
||||||
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
|
||||||
|
# Session related
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||||
|
|
||||||
|
# Run TPM
|
||||||
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
|
@ -2,14 +2,18 @@
|
||||||
|
|
||||||
My vim configuration is relatively straight forward.
|
My vim configuration is relatively straight forward.
|
||||||
|
|
||||||
###RC File
|
##Config File
|
||||||
* Word-wrap is set to 80 characters
|
* Word-wrap is set to 80 characters
|
||||||
* Mappings to quickly edit dotfiles
|
* Mappings to quickly edit dotfiles
|
||||||
* Relative numbering, with mapping to quickly swap
|
* Relative numbering, with mapping to quickly swap
|
||||||
|
|
||||||
###Bundles File
|
##Bundles File
|
||||||
The vimrc.bundles file stores the plugin information for Vim-Plug. Currently, I
|
The vimrc.bundles file stores the plugin information for
|
||||||
use the following plugins:
|
[Vim-Plug](https://github.com/junegunn/vim-plug). Included in the file is a
|
||||||
|
command to check for and pull-down the vim-plug files, if not previously
|
||||||
|
installed.
|
||||||
|
|
||||||
|
####Notable Plugins
|
||||||
* [Fugitive](https://github.com/tpope/vim-fugitive) for nice Git integration.
|
* [Fugitive](https://github.com/tpope/vim-fugitive) for nice Git integration.
|
||||||
* [Airline](https://github.com/bling/vim-airline) to look nice, but not garish.
|
* [Airline](https://github.com/bling/vim-airline) to look nice, but not garish.
|
||||||
* [Sneak](https://github.com/justinmk/vim-sneak) for getting around.
|
* [Sneak](https://github.com/justinmk/vim-sneak) for getting around.
|
||||||
|
@ -17,14 +21,14 @@ use the following plugins:
|
||||||
browser.
|
browser.
|
||||||
* [Templates](https://github.com/ap/vim-templates.git) for easy templates.
|
* [Templates](https://github.com/ap/vim-templates.git) for easy templates.
|
||||||
* [vimwiki](https://github.com/vimwiki/vimwiki) for info, diary and notes.
|
* [vimwiki](https://github.com/vimwiki/vimwiki) for info, diary and notes.
|
||||||
|
* [Startify](https://github.com/mhinz/vim-startify) for a nice start-page
|
||||||
|
|
||||||
###Pending Plugins
|
####Pending Plugins
|
||||||
The following should be eventually installed and configured properly:
|
The following should be eventually installed and configured properly:
|
||||||
* Syntastic
|
* Syntastic
|
||||||
* vim-startify
|
|
||||||
* vim-dispatch
|
* vim-dispatch
|
||||||
|
|
||||||
####To-Do
|
##To-Do
|
||||||
* [ ] Customize Airline more (Optional)
|
* [ ] Customize Airline more (Optional)
|
||||||
* [ ] Consider adding [gist-vim](https://github.com/mattn/gist-vim) due to
|
* [ ] Consider adding [gist-vim](https://github.com/mattn/gist-vim) due to
|
||||||
prevalence of Gist at work
|
prevalence of Gist at work
|
||||||
|
|
|
@ -37,7 +37,7 @@ set softtabstop=5
|
||||||
" Set width; word wrap; scroll mods
|
" Set width; word wrap; scroll mods
|
||||||
set scrolloff=5
|
set scrolloff=5
|
||||||
set tw=80
|
set tw=80
|
||||||
set colorcolumn
|
set colorcolumn=80
|
||||||
set wrap
|
set wrap
|
||||||
|
|
||||||
" Enable auto-completion for vim commands
|
" Enable auto-completion for vim commands
|
||||||
|
|
|
@ -12,7 +12,17 @@
|
||||||
" ###
|
" ###
|
||||||
|
|
||||||
" ######
|
" ######
|
||||||
" # Fetch
|
" # Fetch & Install Self
|
||||||
|
" ###
|
||||||
|
|
||||||
|
if empty(glob('~/.vim/autoload/plug.vim'))
|
||||||
|
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
|
||||||
|
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
|
autocmd VimEnter * PlugInstall | source $MYVIMRC
|
||||||
|
endif
|
||||||
|
|
||||||
|
" ######
|
||||||
|
" # Fetch & Install Plugins
|
||||||
" ###
|
" ###
|
||||||
|
|
||||||
call plug#begin('~/.vim/bundle')
|
call plug#begin('~/.vim/bundle')
|
||||||
|
@ -35,3 +45,8 @@ call plug#end()
|
||||||
" Airline configuration
|
" Airline configuration
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
let g:airline_powerline_fonts = 1
|
let g:airline_powerline_fonts = 1
|
||||||
|
|
||||||
|
" Startify configs
|
||||||
|
let g:startify_files_number = 5
|
||||||
|
let g:startify_change_to_dir = 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue