Skip to content

Commit

Permalink
Scripts + plugins + bindings + globals
Browse files Browse the repository at this point in the history
- Added suda for nvim
- gpg-add
- Debug mode for wine
- New markdown live preview
- Coc <C-Space> binding
  • Loading branch information
Dzordzu committed Nov 4, 2020
1 parent e469cea commit ccff9fa
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
4 changes: 3 additions & 1 deletion user/vim/plugins.vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-abolish'
Plug 'thaerkh/vim-workspace'
Plug 'matze/vim-move'
Plug 'lambdalisue/suda.vim'

" Async jobs
Plug 'prabirshrestha/async.vim'
Expand Down Expand Up @@ -94,7 +95,8 @@ Plug 'https://github.com/lervag/vimtex'
Plug 'godlygeek/tabular'
Plug 'plasticboy/vim-markdown'
Plug 'jtratner/vim-flavored-markdown'
Plug 'suan/vim-instant-markdown', {'for': 'markdown'}
" Plug 'suan/vim-instant-markdown', {'for': 'markdown'}
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}

" C++
Plug 'rip-rip/clang_complete'
Expand Down
15 changes: 15 additions & 0 deletions user/vim/user-settings.vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ highlight Normal guibg=#232627
autocmd VimLeave * call system('echo -n ' . shellescape(getreg('+')) .
\ ' | xclip -selection clipboard')


let g:mkdp_auto_start = 1

let g:vim_markdown_folding_style_pythonic = 1
let g:vim_markdown_override_foldtext = 0
let g:table_mode_corner='|'
Expand Down Expand Up @@ -93,3 +96,15 @@ au FocusGained,BufEnter * :checktime

" Faster jedi
let g:jedi#completions_enabled = 0

" Let it flow: Coc
noremap <silent> <Leader>cs :call CocActionAsync('showSignatureHelp') <CR>


" Use <c-space> to trigger completion.
if has('nvim')
inoremap <silent><expr> <c-space> coc#refresh()
else
inoremap <silent><expr> <c-@> coc#refresh()
endif
1 change: 1 addition & 0 deletions user/zsh/launch.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ fi

export TERM="xterm-256color"
export VAULT_ADDR='https://vault.dzordzu.pl'
export WINEDEBUG=-all
# Start with a fetch
eval $(thefuck --alias)

Expand Down
1 change: 1 addition & 0 deletions user/zsh/project-scripts/gpg-add
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
echo '' | gpg --clearsign --pinentry-mode loopback

0 comments on commit ccff9fa

Please sign in to comment.