Permalink
Browse files

scala and clojure plugins

  • Loading branch information...
1 parent c644b4c commit b7b6b93def3efdbb9276df9732a502abb1ee61ce @heim committed May 22, 2013
Showing with 23 additions and 3 deletions.
  1. +1 −0 bundle/ctrlp.vi
  2. +1 −0 bundle/rainbow_parentheses
  3. +1 −0 bundle/vim-classpath
  4. +1 −0 bundle/vim-clojure-static
  5. +1 −0 bundle/vim-fireplace
  6. +1 −0 bundle/vim-gitgutter
  7. +1 −0 bundle/vim-scala
  8. +16 −3 vimrc
Submodule ctrlp.vi added at 287b9c
Submodule rainbow_parentheses added at eb8baa
Submodule vim-classpath added at b9c1e0
Submodule vim-clojure-static added at 949adf
Submodule vim-fireplace added at 4f6b8e
Submodule vim-gitgutter added at 935184
Submodule vim-scala added at e5155e
View
19 vimrc
@@ -28,14 +28,17 @@ endfunction
inoremap <tab> <c-r>=InsertTabWrapper()<cr>
inoremap <s-tab> <c-r>
-" ,r returns to file explorer
-map ,r :Rexplore<CR>
" Source the vimrc file after saving it
if has("autocmd")
autocmd bufwritepost .vimrc source $MYVIMRC
endif
+autocmd VimEnter * RainbowParenthesesToggle
+autocmd Syntax * RainbowParenthesesLoadRound
+autocmd Syntax * RainbowParenthesesLoadSquare
+autocmd Syntax * RainbowParenthesesLoadBraces
+
set tabstop=2
set shiftwidth=2
set softtabstop=2
@@ -44,16 +47,26 @@ set expandtab
"set textwidth=72
"set formatoptions-=c
+" ,r returns to file explorer
+map ,r :Rexplore<CR>
+
" turn on and off search highlighting
map ,s :set hlsearch!<CR>
" go to next nd previous buffer
map ,b :bp<CR>
map ,n :bn<CR>
-set encoding=utf-8
+"move lines up and down
+map - ddp
+map _ ddkP
+"make current word uppercase
+imap <c-u> <esc>viwUea
+set encoding=utf-8
+"edit my vimrc-file
+nnoremap <leader>ev :vsplit $MYVIMRC<cr>
syntax enable
set t_Co=256
set background=dark

0 comments on commit b7b6b93

Please sign in to comment.