Created
July 19, 2016 17:52
-
-
Save BorisKourt/36e92ef38faa3c132c90c70daf1187b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" init.vim | |
" Vundle Setup | |
filetype off | |
set rtp+=~/.config/nvim/bundle/Vundle.vim/ | |
call vundle#rc('~/.config/nvim/bundle') | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'JesseKPhillips/d.vim' | |
Plugin 'Shougo/unite.vim' | |
Plugin 'tpope/vim-sensible' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'tpope/vim-dispatch' | |
"Plugin 'tpope/vim-projectionist' | |
Plugin 'tpope/vim-surround' | |
Plugin 'jeetsukumaran/vim-buffergator' | |
Plugin 'tpope/vim-speeddating' | |
Plugin 'tpope/vim-repeat' | |
Plugin 'tpope/vim-commentary' | |
Plugin 'svermeulen/vim-easyclip' | |
Plugin 'scrooloose/syntastic' | |
Plugin 'vimwiki/vimwiki' | |
Plugin 'bling/vim-airline' | |
Plugin 'vim-airline/vim-airline-themes' | |
Plugin 'bling/vim-bufferline' | |
Plugin 'vim-ctrlspace/vim-ctrlspace' | |
Plugin 'edkolev/tmuxline.vim' | |
Plugin 'reedes/vim-colors-pencil' | |
Plugin 'othree/html5.vim' | |
Plugin 'tpope/vim-haml' | |
Plugin 'tpope/vim-markdown' | |
Plugin 'zyedidia/literate.vim' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'majutsushi/tagbar' | |
Plugin 'tpope/vim-fireplace' | |
Plugin 'guns/vim-clojure-static' | |
Plugin 'guns/vim-clojure-highlight' | |
Plugin 'tpope/vim-salve' | |
Plugin 'luochen1990/rainbow' | |
Plugin 'mhinz/vim-signify' | |
Plugin 'tpope/timl' | |
"Plugin 'venantius/vim-eastwood' | |
Plugin 'venantius/vim-cljfmt' | |
Plugin 'vim-scripts/paredit.vim' | |
Plugin 'typedclojure/vim-typedclojure' | |
Plugin 'SirVer/ultisnips' | |
Plugin 'honza/vim-snippets' | |
Plugin 'Shougo/deoplete.nvim' | |
call vundle#end() | |
" Fish | |
if &shell =~# 'fish$' | |
set shell=zsh | |
endif | |
" Airline | |
let g:airline_theme='pencil' | |
let g:airline_powerline_fonts = 1 | |
if !exists('g:airline_symbols') | |
let g:airline_symbols = {} | |
endif | |
" powerline symbols | |
let g:airline_left_sep = '' | |
let g:airline_left_alt_sep = '' | |
let g:airline_right_sep = '' | |
let g:airline_right_alt_sep = '' | |
let g:airline_symbols.branch = '' | |
let g:airline_symbols.readonly = '' | |
let g:airline_symbols.linenr = '' | |
let g:airline_inactive_collapse = 1 | |
let g:airline#extensions#tabline#switch_buffers_and_tabs = 0 | |
let g:airline#extensions#tabline#enabled = 1 | |
let g:airline#extensions#tabline#show_buffers = 1 | |
let g:airline#extensions#tabline#buffer_min_count = 2 | |
let g:airline#extensions#tabline#tab_min_count = 2 | |
let g:airline#extensions#tabline#close_symbol = '×' | |
let g:airline#extensions#tabline#buffers_label = 'b' | |
let g:airline#extensions#tabline#tabs_label = 't' | |
let g:airline#extensions#tabline#buffer_idx_mode = 1 | |
let g:airline#extensions#wordcount#enabled = 0 | |
let g:airline#extensions#whitespace#enabled = 0 | |
let g:airline_mode_map = { | |
\ '__' : '-', | |
\ 'n' : 'N', | |
\ 'i' : 'I', | |
\ 'R' : 'R', | |
\ 'c' : 'C', | |
\ 'v' : 'V', | |
\ 'V' : 'V', | |
\ '' : 'V', | |
\ 's' : 'S', | |
\ 'S' : 'S', | |
\ '' : 'S', | |
\ } | |
let g:airline#extensions#branch#format = 2 | |
let g:airline_section_c = '%t' | |
" NERDTree | |
map <C-n> :NERDTreeToggle<CR> | |
" Tagbar | |
nmap <F8> :TagbarToggle<CR> | |
" UtilSnips | |
let g:UltiSnipsExpandTrigger="<tab>" | |
let g:UltiSnipsJumpForwardTrigger="<c-b>" | |
let g:UltiSnipsJumpBackwardTrigger="<c-z>" | |
let g:UtilSnipsEditSplit="vertical" | |
" Settings | |
set background=light | |
set tabstop=4 | |
set shiftwidth=4 | |
filetype plugin indent on | |
set backspace=indent,eol,start | |
set undofile | |
set undodir=~/.vim/undo | |
set undolevels=1000 | |
set undoreload=10000 | |
set history=100 | |
set ruler | |
set showcmd | |
set incsearch | |
map Q gq | |
syntax on | |
set rnu | |
let &showbreak = '↳ ' | |
set wrap | |
"set cpo=n | |
set expandtab | |
set hlsearch | |
set autoindent " always set autoindenting on | |
set autowrite | |
set autoread | |
set backspace=2 | |
if exists('+macmeta') | |
set macmeta | |
endif | |
set pastetoggle=<F2> | |
set smartcase | |
set smarttab | |
set hidden | |
set t_Co=256 | |
let mapleader="," | |
" Colors | |
colorscheme pencil | |
let g:pencil_higher_contrast_ui = 1 | |
let g:pencil_gutter_color = 1 | |
let g:pencil_spell_undercurl = 1 | |
let g:pencil_terminal_italics = 1 | |
" Rainbow Parens | |
let g:rainbow_active = 1 | |
let g:rainbow_conf = { | |
\ 'guifgs': ['royalblue3', 'darkorange3', 'darkcyan', 'firebrick'], | |
\ 'ctermfgs': ['darkblue', 'darkyellow', 'darkcyan', 'darkmagenta', 'darkred', 'darkgreen'], | |
\ 'operators': '_,_', | |
\ 'parentheses': ['start=/(/ end=/)/ fold', 'start=/\[/ end=/\]/ fold', 'start=/{/ end=/}/ fold'] | |
\} | |
" Buffers | |
nmap <leader>nt :enew<cr> | |
nmap <leader>l :bnext<cr> | |
nmap <leader>h :bprevious<cr> | |
nmap <leader>bq :bp <BAR> bd #<CR> | |
" CtrlP | |
let g:ctrlp_custom_ignore = { | |
\ 'dir': '\v[\/](\.(idea|git|hg|svn)|\_site|target)$', | |
\ 'file': '\v\.(exe|so|dll|class|png|iml|jpg|jpeg)$', | |
\} | |
let g:ctrlp_working_path_mode = 'r' | |
nnoremap <leader>bb :CtrlPBuffer<cr> | |
nnoremap <leader>bm :CtrlPMixed<cr> | |
nnoremap <leader>bs :CtrlPMRU<cr> | |
" BufferGator | |
let g:buffergator_viewport_split_policy = 'L' | |
let g:buffergator_suppress_keymaps = 1 | |
nnoremap <leader>jj :BuffergatorMruCyclePrev<cr> | |
nnoremap <leader>kk :BuffergatorMruCycleNext<cr> | |
nnoremap <leader>bl :BuffergatorOpen<cr> | |
" Deoplete | |
let g:deoplete#enable_at_startup = 1 | |
" Literate Keymap | |
let g:literate_find_codeblock = "<leader>ln" | |
let g:literate_open_code = "<leader>lc" | |
let g:literate_open_html = "<leader>lh" | |
" Syntastic Settings | |
let g:syntastic_always_populate_loc_list = 1 | |
let g:syntastic_auto_loc_list = 1 | |
let g:syntastic_check_on_open = 1 | |
let g:syntastic_check_on_wq = 0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment