diff options
author | 2021-06-01 21:17:39 +0200 | |
---|---|---|
committer | 2021-06-01 21:17:39 +0200 | |
commit | 71aa90a66db3172e4d1272f50d1067321e141686 (patch) | |
tree | 06e2a16751bde9817f4a12081757efe2a4da65b0 | |
parent | 95e99f1866ef05952f2c6bf89db80341b6abeac4 (diff) | |
download | dotfiles-71aa90a66db3172e4d1272f50d1067321e141686.tar.gz |
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() " =========== |