-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
43 lines (39 loc) · 962 Bytes
/
Copy pathvimrc
File metadata and controls
43 lines (39 loc) · 962 Bytes
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
call plug#begin()
Plug 'rakr/vim-one'
Plug 'preservim/nerdtree'
Plug 'elixir-editors/vim-elixir'
Plug 'ryanoasis/vim-devicons'
Plug 'sheerun/vim-polyglot'
Plug 'jiangmiao/auto-pairs'
Plug 'tpope/vim-fugitive'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'PhilRunninger/nerdtree-visual-selection'
Plug 'junegunn/vim-easy-align'
Plug 'dense-analysis/ale'
call plug#end()
" Theme
let g:airline_theme='one'
colorscheme one
set background=dark
set cc=100
" Function
set tabstop=4
set shiftwidth=4
set expandtab
set syntax=on
set nowrap
set number
set title
set wildmenu
set autoindent
" Mapping
set pastetoggle=<F2>
map <F3> :NERDTreeToggle<CR>
noremap H gT
noremap L gt
"autocmd FileType python setlocal shiftwidth=2 tabstop=2 expandtab
"filetype plugin indent on
" Elixir integration
au BufRead,BufNewFile *.ex,*.exs set filetype=elixir
au BufRead,BufNewFile *.eex,*.heex,*.leex,*.sface,*.lexs set filetype=eelixir
au BufRead,BufNewFile mix.lock set filetype=elixir