diff options
Diffstat (limited to '.vim/vimrc')
-rw-r--r-- | .vim/vimrc | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,11 +1,18 @@ " =========== " VARIABLES " =========== + +" Needs to be enabled before ALE is loaded +let g:ale_completion_enabled = 1 + runtime bundle/vim-pathogen/autoload/pathogen.vim execute pathogen#infect('bundle-active/{}') set nocompatible +" Style +highlight Pmenu ctermfg=0 ctermbg=7 guibg=Magenta + " Tabs set tabstop=8 set softtabstop=8 @@ -32,12 +39,14 @@ let g:completor_clang_binary = '/usr/bin/clang' let g:rainbow_active = 1 " ALE config -let g:ale_completion_enabled = 1 let g:ale_set_highlights = 0 "Highlights are annoying let g:ale_set_signs = 1 "let g:ale_virtualtext_cursor = 1 " Only use one of the following let g:ale_cursor_detail = 1 let g:ale_close_preview_on_insert = 1 +let g:ale_floating_preview = 1 +"let g:ale_hover_to_floating_preview = 1 +let g:ale_floating_window_border = [] "All things cursor set guicursor+=a:blinkon0 "disable blinking @@ -124,6 +133,7 @@ inoremap {;<CR> {<CR>};<ESC>O " completor inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>" inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>" +inoremap <C-CR> :ALEComplete<CR> "inoremap <expr> <Tab> Tab_Or_Complete() " =========== |