summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChrisatmachine <[email protected]>2018-08-21 22:29:46 -0400
committerChrisatmachine <[email protected]>2018-08-21 22:29:46 -0400
commit0fdeb04a55f945129f8ba99f681ae9bac2a2adde (patch)
treecce6cf96c331b2ee4b756aac6164b36e77063786
parente0d3916c9e4364a642ba8b9d2707cd55c6276894 (diff)
added things
-rw-r--r--init.vim27
-rw-r--r--tags7
2 files changed, 26 insertions, 8 deletions
diff --git a/init.vim b/init.vim
index 66bb6007..ea547f72 100644
--- a/init.vim
+++ b/init.vim
@@ -92,17 +92,16 @@ if dein#load_state('~/chris/.cache/dein')
call dein#add('chriskempson/base16-vim')
" Auto Pairs
call dein#add('jiangmiao/auto-pairs')
- " Buffergator use \b
+ " Buffergator use \b
call dein#add('jeetsukumaran/vim-buffergator')
" Ctrlp
call dein#add('ctrlpvim/ctrlp.vim')
+ " Searchtasks searches for TODO, FIXME, XXX and such run :SearchTasks .
+ call dein#add('gilsondev/searchtasks.vim')
+ "Syntax
+ call dein#add('w0rp/ale')
+ call dein#add('arakashic/chromatica.nvim')
"Git
- call dein#add('tpope/vim-fugitive')
- " Searchtasks searches for TODO, FIXME, XXX and such run :SearchTasks .
- call dein#add('gilsondev/searchtasks.vim')
- " Syntax
- call dein#add('w0rp/ale')
- " Git
call dein#add('airblade/vim-gitgutter')
call dein#add('tpope/vim-fugitive')
" Multiple Cursors
@@ -114,9 +113,12 @@ if dein#load_state('~/chris/.cache/dein')
call dein#add('junegunn/fzf')
" BufOnly use :BufOnly to unload all or pass it a single buffer
call dein#add('vim-scripts/BufOnly.vim')
+
" For autocomplete
call dein#add('zchee/deoplete-jedi')
call dein#add('Shougo/deoplete.nvim')
+ " Auto flow
+ call dein#add('wokalski/autocomplete-flow')
" For vim 8+
if !has('nvim')
call dein#add('roxma/nvim-yarp')
@@ -175,6 +177,11 @@ set cursorline
" Deoplete
let g:deoplete#enable_at_startup = 1
+" NeoSnippet
+let g:neosnippet#enable_completed_snippet = 1
+imap <C-k> <Plug>(neosnippet_expand_or_jump)
+smap <C-k> <Plug>(neosnippet_expand_or_jump)
+xmap <C-k> <Plug>(neosnippet_expand_target)
" Startify
let g:startify_custom_header = [
\ ' _ __ _ ',
@@ -223,12 +230,16 @@ if !empty(glob("/bin/python3.6"))
let g:python3_host_prog = '/bin/python3.6'
else
" For Debian based
+ let g:chromatica#libclang_path='/usr/lib/llvm-6.0/lib'
let g:python3_host_prog = '/usr/bin/python3.6'
endif
+" Chromatica
+let g:chromatica#enable_at_startup=1
+let g:chromatica#responsive_mode=1
" FZF
if !empty((glob("~/.fzf")))
set rtp+=~/.fzf
-
+endif
""""""""""" FUNCTION KEYS """"""""""""""
"TODO figure out cscope
"TODO create function key section
diff --git a/tags b/tags
index 97932f92..b2a38aa8 100644
--- a/tags
+++ b/tags
@@ -8,7 +8,10 @@
<C-c> init.vim /^nnoremap <C-c> <Esc>$/;" m
<C-h> init.vim /^nnoremap <C-h> <C-w>h$/;" m
<C-j> init.vim /^nnoremap <C-j> <C-w>j$/;" m
+<C-k> init.vim /^imap <C-k> <Plug>(neosnippet_expand_or_jump)$/;" m
<C-k> init.vim /^nnoremap <C-k> <C-w>k$/;" m
+<C-k> init.vim /^smap <C-k> <Plug>(neosnippet_expand_or_jump)$/;" m
+<C-k> init.vim /^xmap <C-k> <Plug>(neosnippet_expand_target)$/;" m
<C-l> init.vim /^nnoremap <C-l> <C-w>l$/;" m
<Down> init.vim /^ nnoremap <Down> :resize +2<CR>$/;" m
<F10> init.vim /^nnoremap <F10> :split<CR>$/;" m
@@ -35,6 +38,9 @@ g:airline_theme init.vim /^ let g:airline_theme='violet'$/;" v
g:ale_c_gcc_options init.vim /^let g:ale_c_gcc_options='-Wall -Wextra'$/;" v
g:ale_cpp_gcc_options init.vim /^let g:ale_cpp_gcc_options='-Wall -Wextra'$/;" v
g:ale_linters init.vim /^let g:ale_linters = {$/;" v
+g:chromatica#enable_at_startup init.vim /^let g:chromatica#enable_at_startup=1$/;" v
+g:chromatica#libclang_path init.vim /^ let g:chromatica#libclang_path='\/usr\/lib\/llvm-6.0\/lib'$/;" v
+g:chromatica#responsive_mode init.vim /^let g:chromatica#responsive_mode=1$/;" v
g:ctrlp_cmd init.vim /^let g:ctrlp_cmd = 'CtrlP'$/;" v
g:ctrlp_map init.vim /^let g:ctrlp_map = '<c-p>'$/;" v
g:deoplete#enable_at_startup init.vim /^let g:deoplete#enable_at_startup = 1$/;" v
@@ -49,6 +55,7 @@ g:multi_cursor_skip_key init.vim /^let g:multi_cursor_skip_key = '<C-
g:multi_cursor_start_key init.vim /^let g:multi_cursor_start_key = 'g<C-n>'$/;" v
g:multi_cursor_start_word_key init.vim /^let g:multi_cursor_start_word_key = '<C-n>'$/;" v
g:multi_cursor_use_default_mapping init.vim /^let g:multi_cursor_use_default_mapping=0$/;" v
+g:neosnippet#enable_completed_snippet init.vim /^let g:neosnippet#enable_completed_snippet = 1$/;" v
g:python3_host_prog init.vim /^ let g:python3_host_prog = '\/bin\/python3.6'$/;" v
g:python3_host_prog init.vim /^ let g:python3_host_prog = '\/usr\/bin\/python3.6'$/;" v
g:space_vim_dark_background init.vim /^let g:space_vim_dark_background = 233$/;" v