X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/01e206524dfa62b8812599366806a11f2cae15fd..138316b6ce6560eea229a9f0c29d165b5ba12963:/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