-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.vim
55 lines (46 loc) · 1.46 KB
/
init.vim
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
set nocompatible " be improved required
filetype off " required
call plug#begin('~/.cofing/nvim/plugged')
Plug 'morhetz/gruvbox'
Plug 'tpope/vim-fugitive'
Plug 'preservim/nerdtree'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'leafoftree/vim-vue-plugin'
Plug 'pangloss/vim-javascript'
Plug 'yggdroot/indentline' " shows the the indent levels
Plug 'omnisharp/omnisharp-vim'
Plug 'othree/javascript-libraries-syntax.vim'
Plug 'neoclide/coc-vetur'
Plug 'fatih/vim-go'
Plug 'sheerun/vim-polyglot'
Plug 'jiangmiao/auto-pairs'
Plug 'liuchengxu/vim-which-key'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'airblade/vim-rooter'
call plug#end()
colorscheme gruvbox " set the color schemet to the them we downloaded already
nnoremap <leader>n :NERDTreeFocus<CR>
nnoremap <C-n> :NERDTree<CR>
nnoremap <C-t> :NERDTreeToggle<CR>
nnoremap <C-f> :NERDTreeFind<CR>
filetype plugin indent on " required
syntax on
set colorcolumn=100
set background=dark
highlight ColorColumn ctermbg=0 guibg=lightgrey
set relativenumber
set nowrap
set smartcase
set hlsearch
set noerrorbells
set expandtab
set smartindent
set tabstop=2 softtabstop=2 shiftwidth=2
let g:javascript_plugin_ngdoc = 1 " enable syntax highlighing for javascript docs
let g:indentLine_enabled = 1
" sourcing the setttings file
source $HOME/.config/nvim/general/settings.vim
source $HOME/.config/nvim/keys/mapping.vim
source $HOME/.config/nvim/plug-config/fzf.vim