X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/f9b5f766d88864e8e461da8e09a5337fdae1becd..8bd7cd0472f56234ea851bde7300b112affd2776:/vimrc diff --git a/vimrc b/vimrc index 096549c..d1f7c9f 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 @@ -88,10 +89,6 @@ map e :e =expand("%:p:h") . "/" " Normal mode: t map te :tabe =expand("%:p:h") . "/" -" Inserts the path of the currently edited file into a command -" Command mode: Ctrl+P -cmap =expand("%:p:h") . "/" - " Unimpaired configuration " Bubble single lines nmap [e @@ -175,13 +172,27 @@ 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 = "✕" -let g:syntastic_warning_symbol = "⚠︎" - " Dank Mono Italics highlight Keyword cterm=italic + +" FZF config +set rtp+=/usr/local/opt/fzf + +" Inserts the path of the currently edited file into a command +noremap :FZF + +" Map colors to vim colors +let g:fzf_colors = +\ { 'fg': ['fg', 'Normal'], + \ 'bg': ['bg', 'Normal'], + \ 'hl': ['fg', 'Comment'], + \ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'], + \ 'bg+': ['bg', 'CursorLine', 'CursorColumn'], + \ 'hl+': ['fg', 'Statement'], + \ 'info': ['fg', 'PreProc'], + \ 'border': ['fg', 'Ignore'], + \ 'prompt': ['fg', 'Conditional'], + \ 'pointer': ['fg', 'Exception'], + \ 'marker': ['fg', 'Keyword'], + \ 'spinner': ['fg', 'Label'], + \ 'header': ['fg', 'Comment'] }