" 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: <Leader>e
set modelines=10
" Default color scheme
-set t_Co=256
-color molokai
+set termguicolors
+color rbdr
" Directories for swp files
set backupdir=~/.vim/.backup
nnoremap <C-n> :call NumberToggle()<cr>
-" 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
\ '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 <C-S-j> :m .+1<CR>==
+nnoremap <C-S-k> :m .-2<CR>==
+inoremap <C-S-j> <Esc>:m .+1<CR>==gi
+inoremap <C-S-k> <Esc>:m .-2<CR>==gi
+vnoremap <C-S-j> :m '>+1<CR>gv=gv
+vnoremap <C-S-k> :m '<-2<CR>gv=gv