Skip to content

Commit

Permalink
Switching maps to abbreviations based of LVTHW, as well as adding map…
Browse files Browse the repository at this point in the history
…pings for editting your vimrc.
  • Loading branch information
rroslund committed Feb 17, 2012
1 parent 4fa6200 commit 7d22901
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .vimrc_default
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

echo "Loading vimrc_default!"
set nocompatible
filetype plugin indent on
syntax on
Expand All @@ -17,8 +17,12 @@ set softtabstop=2 "Number of spaces a tab counts for
set shiftwidth=2 "AudoIndent spaces
set smarttab "Uses shiftwidth. BS will delete the full tab.
set showmatch "Shows matching braces
nnoremap <leader>ev :vsplit $MYVIMRC<cr>
nnoremap <leader>sv :vsplit $MYVIMRC<cr>
"}}}


"KeyMappings {{{
inoremap <c-d> <esc>yypi
"}}}

"Tab/Window Management{{{
Expand Down Expand Up @@ -53,6 +57,6 @@ autocmd BufRead,BufNewFile *.py
"}}}

"Vimrc {{{
autocmd BufRead,BufNewFile *vimrc inoremap nno nnoremap
autocmd BufRead,BufNewFile *vimrc inoremap ino inoremap
autocmd BufRead,BufNewFile *vimrc* iabbrev nno nnoremap
autocmd BufRead,BufNewFile *vimrc* iabbrev ino inoremap
"}}}

0 comments on commit 7d22901

Please sign in to comment.