summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-04-22 22:41:44 +0200
committerGitHub <noreply@github.com>2021-04-22 22:41:44 +0200
commit1b8ffddf18cc6e95f432c24f6a5afc9a5deb3520 (patch)
treee57d4b24130c7eb0f793fa2c880016c822b8de6f
parent2a04c7f786998410b0afba88094d70ba0ec8bd22 (diff)
Update .vimrc
-rwxr-xr-xvim/.vimrc9
1 files changed, 8 insertions, 1 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index c284a44..a58230d 100755
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -19,6 +19,8 @@ Plugin 'editorconfig/editorconfig-vim'
Plugin 'ap/vim-css-color'
Plugin 'Yggdroot/indentLine'
+Plugin 'ryanoasis/vim-devicons'
+
call vundle#end() " required
set term=screen-256color
@@ -43,7 +45,7 @@ set expandtab " convert tabs in spaces
set ai " auto indent
set autoread
-set encoding=utf-8
+set encoding=UTF-8
set history=1000
set wildignore+=*.pyc
@@ -69,11 +71,14 @@ let g:fzf_preview_window = 'right:70%'
let g:ale_fix_on_save = 1
let g:airline_theme='onedark'
+let g:airline_powerline_fonts = 1
let g:indentLine_char = '¦'
let g:vue_pre_processors = ['pug', 'scss']
+let g:netrw_liststyle=1
+
filetype plugin indent on
set nocompatible
@@ -128,3 +133,5 @@ nnoremap :pa :set paste<CR>
nnoremap :npa :set nopaste<CR>
nmap <F2> <Plug>(coc-definition)
+nmap :cr :!command cargo r<CR>
+nmap <F6> :EditorConfigReload<CR>