1
0
mirror of https://github.com/danbee/dotfiles-local synced 2025-03-04 08:49:07 +00:00
dotfiles-local/vimrc.local
Dan Barber edbff6109e Initial commit
This should be reasonably close to my original forked thoughtbot
dotfiles configuration. I'm sure there will be some tweaks required!
2015-11-25 18:06:42 +00:00

30 lines
644 B
Plaintext

" Color scheme
colorscheme Tomorrow-Night
" Map ctrl-hjkl for easy window movement
map <c-h> <c-w>h
map <c-j> <c-w>j
map <c-k> <c-w>k
map <c-l> <c-w>l
" Set backspace for consistent behaviour
set backspace=indent,eol
" Tell Vim we're on a 256 color terminal
if $TERM == "xterm-256color" || $TERM == "screen-256color" || $COLORTERM == "gnome-terminal"
set t_Co=256
endif
" Tell NERDCommenter to put spaces in
let NERDSpaceDelims=1
" Setup vim-pencil
augroup pencil
autocmd!
autocmd FileType markdown,mkd call pencil#init()
autocmd FileType text call pencil#init()
augroup END
" Extend plugins
source $HOME/.vim/vimrc.d.vim