Skip to content

Commit

Permalink
update dotfiles profile for tmux
Browse files Browse the repository at this point in the history
  • Loading branch information
btoone committed Aug 11, 2015
1 parent 45583e3 commit ae34844
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 5 deletions.
5 changes: 3 additions & 2 deletions tmuxinator/dotfiles.yml
Expand Up @@ -7,5 +7,6 @@ windows:
- editor:
layout: 1667,202x53,0,0[202x39,0,0,24,202x13,0,40,25]
panes:
- vim
- #empty, will just run plain bash
- vim -O vim/vimrc tmux.conf
- # open a bash prompt

31 changes: 28 additions & 3 deletions vim/vimrc
@@ -1,9 +1,15 @@
" Vim configuration
" Copy or symlink to ~/.vimrc or ~/_vimrc

" Must come first because it changes other options
set nocompatible

" Make it obvious where 80 characters is
set textwidth=80
set colorcolumn=+1

" Autocomplete with dictionary words when spell check is on
set complete+=kspell


" Plugins
" =================================
Expand Down Expand Up @@ -43,8 +49,19 @@ nnoremap L $
" Markdown
" =================================

set colorcolumn=100
set textwidth=100
" Enable spellchecking for Markdown
autocmd FileType markdown setlocal spell

" Automatically wrap at 80 characters for Markdown
autocmd BufRead,BufNewFile *.md setlocal textwidth=80


" Git
" =================================

" Automatically wrap at 72 characters and spell check git commit messages
autocmd FileType gitcommit setlocal textwidth=72
autocmd FileType gitcommit setlocal spell


" Prevent backup behavior
Expand Down Expand Up @@ -156,11 +173,19 @@ autocmd FileType ruby setlocal foldmethod=syntax

" Show line numbers
set number
set numberwidth=5

" Change line numberings for ease with writing commands
" set relativenumber


" Split panes
" =================================

set splitbelow
set splitright


" Buffer handling
" =================================

Expand Down

0 comments on commit ae34844

Please sign in to comment.