-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.vim
More file actions
105 lines (82 loc) · 1.75 KB
/
init.vim
File metadata and controls
105 lines (82 loc) · 1.75 KB
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
call plug#begin()
"general
Plug 'arcticicestudio/nord-vim'
Plug 'bling/vim-airline'
Plug 'tpope/vim-endwise'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-fugitive'
" Plug 'neoclide/coc.nvim', { 'branch': 'release', 'do': ':CocUpdateSync' }
" Plug 'ludovicchabant/vim-gutentags'
Plug 'w0rp/ale'
"fzf
Plug 'junegunn/fzf.vim', { 'do': { -> fzf#install() } }
"tmux
Plug 'christoomey/vim-tmux-navigator'
Plug 'tmux-plugins/vim-tmux'
Plug 'tmux-plugins/vim-tmux-focus-events'
"ruby
Plug 'vim-ruby/vim-ruby'
Plug 'tpope/vim-rails'
Plug 'keith/rspec.vim'
"elixir
" Plug 'elixir-editors/vim-elixir'
"coffeescript
" Plug 'kchmck/vim-coffee-script'
"javascript
" Plug 'othree/yajs.vim'
" Plug 'mxw/vim-jsx'
call plug#end()
"colors
set background=dark
set termguicolors
colorscheme nord
"general
set mouse=""
set hidden
set nowrap
set cursorline
set switchbuf=useopen
set backspace=indent,eol,start
set timeout
set timeoutlen=450
set inccommand=nosplit
set clipboard+=unnamedplus
"tab settings
set ai
set et
set sta
set ts=2
set sw=2
set sts=2
"searching
set showmatch
set ignorecase
set smartcase
"line numbers
set number
set relativenumber
set ruler
set numberwidth=2
"listchars
set nolist
" necessary for language servers
" don't give |ins-completion-menu| messages.
set shortmess+=c
set updatetime=300
set nobackup
set nowritebackup
"setting python
let g:python_host_prog = '/usr/local/bin/python2'
let g:python3_host_prog = '/usr/local/bin/python3'
"setting tags directory
set tags="~/.nvim/tags"
"setting fzf directory
set rtp+=/usr/local/opt/fzf
for f in split(glob('~/.config/nvim/config/general/*.vim'), '\n')
exe 'source' f
endfor
for f in split(glob('~/.config/nvim/config/plugin/*.vim'), '\n')
exe 'source' f
endfor