Skip to content

Commit

Permalink
Add TabDefault and TabKernel vim commands
Browse files Browse the repository at this point in the history
Add custom commands to vim, TabDefault and TabKernel. These commands reconfigure
the editor for kernel development, or back to defaults (probably for Ruby
development).
  • Loading branch information
madelinecr committed Jul 19, 2014
1 parent e652fd2 commit 1a62a89
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions config/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ set t_Co=256
set autoindent
set smartindent

set tabstop=2
set shiftwidth=2
set tabstop=2 softtabstop=2 shiftwidth=2 expandtab
" Might not need softtabstop=2 here
command TabDefault set tabstop=2 softtabstop=2 shiftwidth=2 expandtab
command TabKernel set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab

set showmatch
set guioptions-=T
Expand All @@ -36,7 +38,6 @@ hi ColorColumn ctermbg=234
set number

filetype plugin indent on
set expandtab

" Shortcuts

Expand Down

0 comments on commit 1a62a89

Please sign in to comment.