-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
105 lines (92 loc) · 3.08 KB
/
vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
scriptencoding utf-8
set encoding=utf-8
set nocompatible " Don't force vi compatibility
filetype off
filetype plugin on
filetype plugin indent on
call plug#begin('~/.vim/plugged')
"Plug 'lifepillar/vim-solarized8'
Plug 'christoomey/vim-tmux-navigator'
Plug 'benmills/vimux'
Plug 'itchyny/lightline.vim'
Plug 'scrooloose/nerdtree', { 'on': ['NERDTreeToggle', 'NERDTreeFind']}
Plug 'mileszs/ack.vim', { 'on': ['Ack', 'Ack!'] }
Plug 'jlanzarotta/bufexplorer', { 'on': ['BufExplorer'] }
Plug 'junegunn/fzf'
Plug 'junegunn/fzf.vim'
Plug 'tpope/vim-rails'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-rhubarb'
Plug 'ervandew/supertab'
Plug 'airblade/vim-gitgutter'
Plug 'qpkorr/vim-bufkill'
Plug 'w0rp/ale'
Plug 'sheerun/vim-polyglot'
"Plug 'Alok/notational-fzf-vim'
"Plug 'trevordmiller/nova-vim'
"Plug 'dermusikman/sonicpi.vim'
Plug 'lilyinstarlight/vim-sonic-pi'
Plug 'MarcWeber/vim-addon-mw-utils'
Plug 'tomtom/tlib_vim'
"Plug 'garbas/vim-snipmate'
Plug 'dracula/vim'
" Intellisense-style autocomplete
"Plug 'Shougo/deoplete.nvim'
"Plug 'roxma/nvim-yarp'
"Plug 'roxma/vim-hug-neovim-rpc'
"Plug 'mhartington/nvim-typescript', {'do': './install.sh'}
"Plug 'garbas/vim-snipmate'
"Plug 'jiangmiao/auto-pairs'
"Plug 'tpope/vim-endwise'
"Plug 'sunaku/vim-ruby-minitest'
"Plug 'benjmin-r/vim-i18n'
call plug#end()
" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
" color scheme
" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"behave xterm
"set term=screen-256color
let g:solarized_termcolors=256
let g:solarized_termtrans=1
set background=dark
"colorscheme solarized8
colorscheme dracula
" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
" Keymappings and complex plugins
" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
let mapleader = "\<Space>"
source ~/.dotfiles/vim/functions-commands.vim
source ~/.dotfiles/vim/keymappings.conf
source ~/.dotfiles/vim/nerdtree.conf
source ~/.dotfiles/vim/lightline.conf
source ~/.dotfiles/vim/plugins.conf
source ~/.dotfiles/vim/filetypes.vim
source ~/.dotfiles/vim/settings.vim
"function! Solar_light()
" set background=light
" colorscheme solarized8
" " tell iterm to switch to light color profile
" "silent !osascript -e 'tell app "System Events" to keystroke "l" using {shift down, option down, control down}'
"endfunction
"
"function! Solar_dark()
" set background=dark
" colorscheme solarized8
" " tell iterm to switch to dark color profile
" "silent !osascript -e 'tell app "System Events" to keystroke "d" using {shift down, option down, control down}'
"endfunction
"
"function! Solar_swap()
" if &background ==? 'dark'
" call Solar_light()
" else
" call Solar_dark()
" endif
"endfunction
"
"command! SolarDark call Solar_dark()
"command! SolarLight call Solar_light()
"command! SolarSwap call Solar_swap()
"
"nnoremap <leader>sd :SolarDark<CR>
"nnoremap <leader>sl :SolarLight<CR>