Created
November 28, 2019 20:04
-
-
Save XiovV/bfcd2f7b9012af553d5d9375c96b62c0 to your computer and use it in GitHub Desktop.
init.vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set relativenumber | |
set tabstop=4 | |
set shiftwidth=4 | |
set softtabstop=4 | |
set expandtab | |
set laststatus=2 | |
inoremap " ""<left> | |
inoremap ' ''<left> | |
inoremap ( ()<left> | |
inoremap [ []<left> | |
inoremap { {}<left> | |
inoremap {<cr> {<cr>}<esc>o | |
inoremap {;<cr> {<cr>};<esc>o | |
autocmd FileType html inoremap ;i <em></em><Space><++><Esc>FeT>i | |
call plug#begin('~/.vim/plugged') | |
Plug 'elixir-editors/vim-elixir' | |
Plug 'Xuyuanp/nerdtree-git-plugin' | |
Plug 'tiagofumo/vim-nerdtree-syntax-highlight' | |
Plug 'scrooloose/nerdtree' | |
Plug 'dart-lang/dart-vim-plugin' | |
Plug 'thosakwe/vim-flutter' | |
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } | |
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } | |
Plug 'junegunn/fzf.vim' | |
Plug 'itchyny/lightline.vim' | |
Plug 'scrooloose/nerdcommenter' | |
Plug 'dense-analysis/ale' | |
call plug#end() | |
map <C-n> :NERDTreeToggle<CR> | |
noremap <C-d> :sh<cr> | |
map <C-p> :Files<CR> | |
map <C-b> :GoBuild<CR> | |
map <C-i> :GoImports<CR> | |
let g:ale_echo_msg_error_str = 'E' | |
let g:ale_echo_msg_warning_str = 'W' | |
let g:ale_echo_msg_format = '[%linter%] %s [%severity%]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment