Misc .vimrc changes
This commit is contained in:
parent
39572c7691
commit
87231e63d9
13
.vimrc
13
.vimrc
|
@ -10,6 +10,7 @@ Plug 'tpope/vim-sensible'
|
||||||
Plug 'scrooloose/nerdtree'
|
Plug 'scrooloose/nerdtree'
|
||||||
Plug 'danilo-augusto/vim-afterglow'
|
Plug 'danilo-augusto/vim-afterglow'
|
||||||
Plug 'rakr/vim-one'
|
Plug 'rakr/vim-one'
|
||||||
|
Plug 'challenger-deep-theme/vim'
|
||||||
Plug '/usr/local/opt/fzf'
|
Plug '/usr/local/opt/fzf'
|
||||||
Plug 'junegunn/fzf.vim'
|
Plug 'junegunn/fzf.vim'
|
||||||
Plug 'elixir-editors/vim-elixir'
|
Plug 'elixir-editors/vim-elixir'
|
||||||
|
@ -28,13 +29,15 @@ Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
Plug 'posva/vim-vue'
|
Plug 'posva/vim-vue'
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
" Plug 'vim-airline/vim-airline'
|
" Plug 'vim-airline/vim-airline'
|
||||||
|
Plug 'rhysd/vim-crystal'
|
||||||
|
Plug 'dag/vim-fish'
|
||||||
|
|
||||||
" call vundle#end()
|
" call vundle#end()
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
map <C-n> :NERDTreeToggle<CR>
|
map <C-n> :NERDTreeToggle<CR>
|
||||||
nnoremap K :YcmCompleter GoTo<CR>
|
" nnoremap K :YcmCompleter GoTo<CR>
|
||||||
nnoremap <D-r> :YcmCompleter RefactorRename
|
" nnoremap <D-r> :YcmCompleter RefactorRename
|
||||||
|
|
||||||
nnoremap <D-o> :Files<CR>
|
nnoremap <D-o> :Files<CR>
|
||||||
nnoremap <D-O> :Files<CR>
|
nnoremap <D-O> :Files<CR>
|
||||||
|
@ -54,15 +57,19 @@ set scrolloff=5
|
||||||
set sidescrolloff=5
|
set sidescrolloff=5
|
||||||
set ignorecase
|
set ignorecase
|
||||||
set smartcase
|
set smartcase
|
||||||
|
set cursorline
|
||||||
|
|
||||||
let g:mapleader=","
|
let g:mapleader=","
|
||||||
let g:mix_format_on_save = 1
|
let g:mix_format_on_save = 1
|
||||||
let g:NERDDefaultAlign = 'left'
|
let g:NERDDefaultAlign = 'left'
|
||||||
let g:NERDCommentEmptyLines = 1
|
let g:NERDCommentEmptyLines = 1
|
||||||
|
|
||||||
autocmd BufNewFile,BufRead *.md setlocal ft=markdown
|
autocmd BufNewFile,BufRead *.md setlocal ft=markdown wrap linebreak
|
||||||
autocmd BufNewFile,BufRead *.html.ejs setlocal ft=html
|
autocmd BufNewFile,BufRead *.html.ejs setlocal ft=html
|
||||||
autocmd FileType elixir setlocal shiftwidth=2 tabstop=2
|
autocmd FileType elixir setlocal shiftwidth=2 tabstop=2
|
||||||
|
autocmd FileType asm setlocal shiftwidth=2 tabstop=2
|
||||||
|
autocmd FileType crystal setlocal shiftwidth=2 tabstop=2
|
||||||
|
autocmd FileType yaml setlocal shiftwidth=2 tabstop=2
|
||||||
|
|
||||||
" Add optional packages.
|
" Add optional packages.
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in New Issue