Skip to content

Commit

Permalink
Update .vimrc
Browse files Browse the repository at this point in the history
  • Loading branch information
csswizardry committed May 17, 2016
1 parent 78500ee commit 72715a2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ colorscheme solarized



" CtrlP
set runtimepath^=~/.vim/bundle/ctrlp.vim



" NERDTree

" Run NERDTree as soon as we launch Vim...
Expand Down Expand Up @@ -159,13 +164,17 @@ nnoremap <Up> :echoe "Use k"<CR>
nnoremap <Down> :echoe "Use j"<CR>
" Make `Y` behave like `C` and `D`
map Y y$
" `vv` to highlight just the text (i.e. no indents) in a line
map vv ^vg_
" Switch to previous window
map <leader>` <C-w><C-p>
" Vim-like window navigation
map <C-h> <C-w>h
map <C-j> <C-w>j
map <C-k> <C-w>k
map <C-l> <C-w>l
" `G` skips to bottom of file and places line in middle of screen
nnoremap G :norm! Gzz<CR>
" Make keypad function correctly
map <Esc>Oq 1
Expand Down Expand Up @@ -202,4 +211,4 @@ map! <Esc>OS -
map! <Esc>OM <CR>
" Abbreviations and auto-completions
ab lipsum Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
iab lipsum Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.

0 comments on commit 72715a2

Please sign in to comment.