mirror of https://git.decapod.one/brethil/dotfiles
Compare commits
5 Commits
7efeedf6d9
...
a4019ac53a
Author | SHA1 | Date |
---|---|---|
bretello | a4019ac53a | |
bretello | cffd1ef025 | |
bretello | bfad3b2a4c | |
bretello | c71f4a83a3 | |
bretello | 5703c21e43 |
|
@ -18,7 +18,7 @@ antibody bundle < "$DOTFILES/antibody_plugins.txt"
|
||||||
source $DOTFILES/completion_style.zsh
|
source $DOTFILES/completion_style.zsh
|
||||||
source $DOTFILES/extras/fzf-tab-config.zsh
|
source $DOTFILES/extras/fzf-tab-config.zsh
|
||||||
|
|
||||||
if command -v fd >/dev/null; then
|
if command -vp fd >/dev/null; then
|
||||||
export FZF_CTRL_T_COMMAND='fd'
|
export FZF_CTRL_T_COMMAND='fd'
|
||||||
else
|
else
|
||||||
export FZF_CTRL_T_COMMAND='find'
|
export FZF_CTRL_T_COMMAND='find'
|
||||||
|
|
|
@ -21,6 +21,7 @@ tool = vimdiff
|
||||||
|
|
||||||
[difftool]
|
[difftool]
|
||||||
prompt=true
|
prompt=true
|
||||||
|
|
||||||
[rebase]
|
[rebase]
|
||||||
autostash = true
|
autostash = true
|
||||||
autosquash = true
|
autosquash = true
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
c.TerminalInteractiveShell.editing_mode = "vi"
|
config = get_config()
|
||||||
c.TerminalInteractiveShell.mouse_support = True # prevents from selecting text
|
|
||||||
c.TerminalInteractiveShell.true_color = True
|
config.TerminalInteractiveShell.editing_mode = "vi"
|
||||||
|
config.TerminalInteractiveShell.mouse_support = True # prevents from selecting text
|
||||||
|
config.TerminalInteractiveShell.true_color = True
|
||||||
|
|
|
@ -84,8 +84,8 @@ augroup END
|
||||||
|
|
||||||
|
|
||||||
let g:ale_fix_on_save = 1
|
let g:ale_fix_on_save = 1
|
||||||
let g:ale_completion_enabled = 1
|
let g:ale_cursor_detail=1
|
||||||
" let g:ale_completion_autoimport = 1
|
let g:ale_detail_to_floating_preview =1
|
||||||
|
|
||||||
let g:ale_lsp_show_message_severity = 'information'
|
let g:ale_lsp_show_message_severity = 'information'
|
||||||
let g:ale_lsp_suggestions = 1
|
let g:ale_lsp_suggestions = 1
|
||||||
|
@ -217,14 +217,14 @@ endif
|
||||||
|
|
||||||
|
|
||||||
" These are the default mappings for vim-multi-cursor
|
" These are the default mappings for vim-multi-cursor
|
||||||
let g:multi_cursor_start_word_key = '<C-n>'
|
" let g:multi_cursor_start_word_key = '<C-n>'
|
||||||
let g:multi_cursor_select_all_word_key = '<A-n>'
|
" let g:multi_cursor_select_all_word_key = '<A-n>'
|
||||||
let g:multi_cursor_start_key = 'g<C-n>'
|
" let g:multi_cursor_start_key = 'g<C-n>'
|
||||||
let g:multi_cursor_select_all_key = 'g<A-n>'
|
" let g:multi_cursor_select_all_key = 'g<A-n>'
|
||||||
let g:multi_cursor_next_key = '<C-n>'
|
" let g:multi_cursor_next_key = '<C-n>'
|
||||||
let g:multi_cursor_prev_key = '<C-p>'
|
" let g:multi_cursor_prev_key = '<C-p>'
|
||||||
let g:multi_cursor_skip_key = '<C-x>'
|
" let g:multi_cursor_skip_key = '<C-x>'
|
||||||
let g:multi_cursor_quit_key = '<Esc>'
|
" let g:multi_cursor_quit_key = '<Esc>'
|
||||||
|
|
||||||
" indent-guides, toggle with <leader>ig
|
" indent-guides, toggle with <leader>ig
|
||||||
let g:indent_guides_enable_on_vim_startup = 0
|
let g:indent_guides_enable_on_vim_startup = 0
|
||||||
|
|
|
@ -109,6 +109,16 @@ if isdirectory(vim_razer)
|
||||||
Plug vim_razer
|
Plug vim_razer
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if has('nvim')
|
||||||
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||||
|
else
|
||||||
|
Plug 'Shougo/deoplete.nvim'
|
||||||
|
Plug 'roxma/nvim-yarp'
|
||||||
|
Plug 'roxma/vim-hug-neovim-rpc'
|
||||||
|
endif
|
||||||
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" Install plugins if missing
|
" Install plugins if missing
|
||||||
|
|
|
@ -56,7 +56,7 @@ set hlsearch "highlight search results (using *)
|
||||||
set expandtab shiftwidth=4 tabstop=4 "always use spaces
|
set expandtab shiftwidth=4 tabstop=4 "always use spaces
|
||||||
|
|
||||||
" Completion menu config (see :h completopt)
|
" Completion menu config (see :h completopt)
|
||||||
set completeopt=menu,menuone,noselect,noinsert
|
set completeopt=menu,menuone,noselect,noinsert,preview
|
||||||
" Show completion suggestions in popups instead of preview window
|
" Show completion suggestions in popups instead of preview window
|
||||||
set completeopt+=popup
|
set completeopt+=popup
|
||||||
|
|
||||||
|
@ -139,3 +139,8 @@ source $DOTFILES/vim/functions.vim
|
||||||
if filereadable('.vimrc.local')
|
if filereadable('.vimrc.local')
|
||||||
source .vimrc.local
|
source .vimrc.local
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Use ALE and also some plugin 'foobar' as completion sources for all code.
|
||||||
|
call deoplete#custom#option('sources', {
|
||||||
|
\ '_': ['ale', 'ultisnips'],
|
||||||
|
\})
|
||||||
|
|
Loading…
Reference in New Issue