X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/c87eeb577b5e1e1d9e8c396dec098f4cc3df6717..3f0234c4889f308d38bccf228c0ca7a14a6a4b6f:/vimrc?ds=inline diff --git a/vimrc b/vimrc index 1eefa87..a9bf0d5 100755 --- a/vimrc +++ b/vimrc @@ -79,6 +79,7 @@ set backspace=indent,eol,start " load the plugin and indent settings for the detected filetype filetype plugin indent on filetype plugin on +set omnifunc=syntaxcomplete#Complete " Opens an edit command with the path of the currently edited file filled in " Normal mode: e @@ -110,8 +111,8 @@ set modeline set modelines=10 " Default color scheme -set t_Co=256 -color molokai +set termguicolors +color rbdr " Directories for swp files set backupdir=~/.vim/.backup @@ -171,14 +172,6 @@ endfunction nnoremap :call NumberToggle() -" Syntastic stuff -let g:syntastic_javascript_checkers = ['eslint'] -let g:syntastic_always_populate_loc_list = 1 -let g:syntastic_check_on_open = 1 -let g:syntastic_check_on_wq = 1 -let g:syntastic_error_symbol = "X" -let g:syntastic_warning_symbol = "!" - " Dank Mono Italics highlight Keyword cterm=italic @@ -203,3 +196,14 @@ let g:fzf_colors = \ 'marker': ['fg', 'Keyword'], \ 'spinner': ['fg', 'Label'], \ 'header': ['fg', 'Comment'] } + +" ALE config +let g:ale_linters = {'javascript': ['eslint']} + +" Move things up and down using Ctrl + Shift +nnoremap :m .+1== +nnoremap :m .-2== +inoremap :m .+1==gi +inoremap :m .-2==gi +vnoremap :m '>+1gv=gv +vnoremap :m '<-2gv=gv