Skip to content

Instantly share code, notes, and snippets.

@automagicaly
Created January 31, 2018 01:35
Show Gist options
  • Save automagicaly/989060936878a2022fce25071a096482 to your computer and use it in GitHub Desktop.
Save automagicaly/989060936878a2022fce25071a096482 to your computer and use it in GitHub Desktop.
set nocompatible " be iMproved, required
syntax off
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'derekwyatt/vim-scala'
Plugin 'sickill/vim-monokai'
Plugin 'bling/vim-airline'
Plugin 'scrooloose/nerdtree.git'
Plugin 'Valloric/YouCompleteMe'
Plugin 'terryma/vim-multiple-cursors'
Plugin 'guns/vim-clojure-static'
Plugin 'kien/rainbow_parentheses.vim'
Plugin 'tpope/vim-fireplace'
" All of your Plugins must be added before the following line
call vundle#end() " required
syntax on
filetype plugin indent on " required
syntax enable
"set background=dark
colorscheme monokai
set backspace=2
set number
set relativenumber
set laststatus=2
set tabstop=4
set shiftwidth=4
set ic
let g:airline_powerline_fonts = 1
let g:airline_theme='lucius'
let g:NERDTreeDirArrowExpandable = '▸'
let g:NERDTreeDirArrowCollapsible = '▾'
" let g:NERDTreeDirArrowExpandable = '🔺'
" let g:NERDTreeDirArrowCollapsible = '📂'
" let g:airline_theme='papercolor'
" let g:airline_theme='luna'
" let g:airline_theme='murmur'
nnoremap <C-r> :so $MYVIMRC<CR>
nnoremap <S-Tab> :tabp<CR>
nnoremap <Tab> :tabn<CR>
" nnoremap ; :
" nnoremap : ;
nnoremap \ :NERDTreeToggle<CR>
nnoremap <S-Enter> O<Esc>
" nnoremap <CR> o<Esc>
nnoremap <C-s> :w<CR>
inoremap <C-s> <Esc>:w<CR>
nnoremap <C-q> :q<CR>
inoremap <C-q> <Esc>:q<CR>
" == reidenta a linha na posicao nova
nnoremap <C-j> :m+<CR>==
nnoremap <C-k> :m-2<CR>==
nnoremap <C-v> "*p
" nnoremap <F4> 0v$h"rx"_dd
" nnoremap <F5> :!<C-r>r<CR>
nnoremap <F5> :!scala %<CR>
au VimEnter *.clj RainbowParenthesesToggle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment