Created
November 4, 2018 20:31
-
-
Save themaxhero/04b9ddcaeb1a8ccd999c8a6062d94db5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
call plug#begin ("~/.config/nvim/plugged") | |
Plug 'editorconfig/editorconfig-vim' | |
Plug 'ryanoasis/vim-devicons' | |
Plug 'jiangmiao/auto-pairs' | |
Plug 'mileszs/ack.vim' | |
Plug 'vim-scripts/todo.vim' | |
Plug 'vim-ruby/vim-ruby' | |
Plug 'rust-lang/rust.vim' | |
Plug 'sickill/vim-monokai' | |
Plug 'w0rp/ale' | |
Plug 'mattn/webapi-vim' | |
Plug 'mattn/gist-vim', {'depends': 'mattn/webapi-vim'} | |
Plug 'Shougo/deoplete.nvim', {'do': ':UpdateRemotePlugins' } | |
Plug 'scrooloose/nerdcommenter' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'plasticboy/vim-markdown' | |
Plug 'hail2u/vim-css3-syntax' | |
Plug 'elixir-lang/vim-elixir' | |
Plug 'ctrlpvim/ctrlp.vim' | |
Plug 'junegunn/rainbow_parentheses.vim' | |
Plug 'ap/vim-css-color' | |
Plug 'ryanoasis/vim-devicons' | |
Plug 'itchyny/lightline.vim' | |
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } | |
Plug 'w0rp/ale' | |
Plug 'Xuyuanp/nerdtree-git-plugin' | |
Plug 'Shougo/neosnippet.vim' | |
Plug 'terryma/vim-multiple-cursors' | |
call plug#end() | |
" Settings Theme | |
colorscheme monokai | |
" Settings | |
set encoding=UTF-8 | |
set clipboard+=unnamedplus | |
set colorcolumn=80 | |
set nowrap | |
set number | |
set rnu | |
set incsearch | |
set showmatch | |
set formatoptions+=o | |
set splitbelow | |
set splitright | |
set autochdir | |
set tabstop=4 | |
set shiftwidth=4 | |
set laststatus=2 | |
" Remember cursor from last vim section | |
autocmd BufReadPost * | |
\ if line("'\"") > 0 && line ("'\"") <= line("$") | | |
\ exe "normal! g'\"" | | |
\ endif | |
autocmd BufRead * normal zz | |
if !has('gui_running') | |
set t_Co=256 | |
endif | |
let g:lightline = { | |
\ 'colorscheme': 'wombat', | |
\ } | |
augroup rainbow_lisp | |
autocmd! | |
autocmd FileType lisp,clojure,scheme RainbowParentheses | |
augroup END | |
" Rainbow Pairs Configuration | |
let g:rainbow#max_level = 16 | |
let g:rainbow#pairs = [['(', ')'], ['[', ']'], ['{', '}']] | |
" Settings clipboard | |
let g:gist_clip_command = 'xclip -selection clipboard' | |
let g:rust_clip_command = 'xclip -selection clipboard' | |
" Multicursor Settings | |
let g:multi_cursor_next_key='<C-d>' | |
let g:multi_cursor_prev_key='<C-S-d>' | |
let g:multi_cursor_skip_key='<C-S-A-d>' | |
let g:multi_cursor_quit_key='<Esc>' | |
vnoremap <C-/> :TComment<cr> | |
" NERDTree --------------------------------------------------------------------- | |
map <C-\> :NERDTreeToggle<CR> | |
autocmd StdinReadPre * let s:std_in=1 | |
autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | | |
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif | |
let NERDTreeShowHidden=1 | |
let g:NERDTreeDirArrowExpandable = '▸' | |
let g:NERDTreeDirArrowCollapsible = '▾' | |
function! UseTabs() | |
set noexpandtab | |
set autoindent | |
endfunction | |
function! UseSpaces() | |
set expandtab | |
set softtabstop=0 | |
set autoindent | |
set smarttab | |
:%retab | |
endfunction | |
set guicursor= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment