-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
118 lines (101 loc) · 2.86 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
106
107
108
109
110
111
112
113
114
115
116
117
set nocompatible " required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
Plugin 'vim-scripts/indentpython.vim'
Plugin 'vim-airline/vim-airline'
Plugin 'jiangmiao/auto-pairs'
Plugin 'rafi/awesome-vim-colorschemes'
Plugin 'webdevel/tabulous'
Plugin 'neoclide/coc.nvim'
Plugin 'chuling/equinusocio-material.vim'
Plugin 'vimsence/vimsence'
Plugin 'ghifarit53/tokyonight-vim'
Plugin 'sheerun/vim-polyglot'
Plugin 'pangloss/vim-javascript'
Plugin 'mattn/emmet-vim'
Plugin 'prabirshrestha/vim-lsp'
Plugin 'ap/vim-css-color'
Plugin 'Brettm12345/moonlight.vim'
Plugin 'alvan/vim-closetag'
Plugin 'vim-python/python-syntax'
"Plugin 'vim-syntastic/syntastic'
Plugin 'jelera/vim-javascript-syntax'
Plugin 'scrooloose/nerdtree'
Plugin 'jistr/vim-nerdtree-tabs'
Plugin 'junegunn/fzf'
Plugin 'rainglow/vim'
Plugin 'prettier/vim-prettier', { 'do': 'yarn install' }
Plugin 'junegunn/fzf.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'preservim/nerdcommenter'
Plugin 'ryanoasis/vim-devicons'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
let g:python_highlight_all = 1
set splitbelow
set splitright
set encoding=utf-8
au BufNewFile,BufRead *.py
\| set tabstop=4
\| set softtabstop=4
\| set shiftwidth=4
\| set textwidth=79
\| set expandtab
\| set autoindent
\| set fileformat=unix
""
au BufNewFile,BufRead *.js,*.html,*.css
set tabstop=2
set softtabstop=2
set shiftwidth=2
set autoindent
set smarttab
set cindent
set expandtab
let python_highlight_all=1
syntax on
set background=dark
set clipboard=unnamedplus
set t_Co=256 " Enable 256 colors
set t_ut=
set termguicolors
set term=xterm-256color
if exists('+termguicolors')
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
set termguicolors
endif
set laststatus=2
set nu
set mouse=a
set ai
set smartindent
set guioptions-=e
set showtabline=2
highlight Normal ctermbg=None
autocmd StdinReadPre * let s:std_in=1
syntax enable
let g:prettier#autoformat = 0
let g:prettier#autoformat_require_pragma = 0
let g:closetag_filenames = '*.html,*.xhtml,*.phtml,*.js'
let g:closetag_close_shortcut = '<leader>>'
set runtimepath^=~/.vim/bundle/tabulous
nnoremap <C-p> :NERDTreeToggle<CR>
"remaps
nnoremap <C-f> :NERDTreeFind<CR>
nnoremap <C-n> :NERDTree<CR>
map ; :Files<CR>
map <C-Left> <Esc>:tabprev<CR>
map <C-Right> <Esc>:tabnext<CR>
vnoremap <C-y> "+y<CR>
"colorscheme
let g:equinusocio_material_style = 'darker'
colorscheme equinusocio_material
let g:airline#extensions#tabline#enabled = 1