diff options
author | Yigit Sever | 2021-10-06 02:28:56 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-06 02:28:56 +0300 |
commit | 67a15160f735f33932e8b355bc304b04a531c94e (patch) | |
tree | a68da1cc8a1be7759c8cc00de96e2f0e3f100bc8 | |
parent | ec67aaa4606e2c8f982e624eb309a0d89abda902 (diff) | |
download | dotfiles-67a15160f735f33932e8b355bc304b04a531c94e.tar.gz dotfiles-67a15160f735f33932e8b355bc304b04a531c94e.tar.bz2 dotfiles-67a15160f735f33932e8b355bc304b04a531c94e.zip |
nvim: gutentags & vim-slime
-rwxr-xr-x | .config/nvim/init.vim | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index ad9f90a..40fadf2 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim | |||
@@ -543,20 +543,43 @@ let g:vimtex_quickfix_mode=0 | |||
543 | " }}} | 543 | " }}} |
544 | 544 | ||
545 | " {{{ Gutentags | 545 | " {{{ Gutentags |
546 | let g:gutentags_enabled = 1 | ||
546 | let g:gutentags_add_default_project_roots = 0 | 547 | let g:gutentags_add_default_project_roots = 0 |
547 | let g:gutentags_project_root = ['Makefile', '.git'] | 548 | let g:gutentags_project_root = ['Makefile', '.git'] |
549 | let g:gutentags_exclude_filetypes = ['gitcommit', 'gitconfig', 'gitrebase', 'gitsendemail', 'git'] | ||
548 | let g:gutentags_generate_on_new = 1 | 550 | let g:gutentags_generate_on_new = 1 |
549 | let g:gutentags_generate_on_missing = 1 | 551 | let g:gutentags_generate_on_missing = 1 |
550 | let g:gutentags_generate_on_write = 1 | 552 | let g:gutentags_generate_on_write = 1 |
551 | let g:gutentags_generate_on_empty_buffer = 0 | 553 | let g:gutentags_generate_on_empty_buffer = 0 |
554 | let g:gutentags_ctags_exclude = [ | ||
555 | \ '*.git', '*.svn', '*.hg', | ||
556 | \ 'cache', 'build', 'dist', 'bin', 'node_modules', 'bower_components', | ||
557 | \ '*-lock.json', '*.lock', | ||
558 | \ '*.min.*', | ||
559 | \ '*.bak', | ||
560 | \ '*.zip', | ||
561 | \ '*.pyc', | ||
562 | \ '*.class', | ||
563 | \ '*.sln', | ||
564 | \ '*.csproj', '*.csproj.user', | ||
565 | \ '*.tmp', | ||
566 | \ '*.cache', | ||
567 | \ '*.vscode', | ||
568 | \ '*.pdb', | ||
569 | \ '*.exe', '*.dll', '*.bin', | ||
570 | \ '*.mp3', '*.ogg', '*.flac', | ||
571 | \ '*.swp', '*.swo', | ||
572 | \ '.DS_Store', '*.plist', | ||
573 | \ '*.bmp', '*.gif', '*.ico', '*.jpg', '*.png', '*.svg', | ||
574 | \ '*.rar', '*.zip', '*.tar', '*.tar.gz', '*.tar.xz', '*.tar.bz2', | ||
575 | \ '*.pdf', '*.doc', '*.docx', '*.ppt', '*.pptx', '*.xls', | ||
576 | \] | ||
552 | " }}} | 577 | " }}} |
553 | 578 | ||
554 | " vim-slime {{{ | 579 | " vim-slime {{{ |
555 | let g:slime_target = "tmux" | 580 | let g:slime_target = "tmux" |
556 | let g:slime_paste_file = "$HOME/.slime_paste" | 581 | let g:slime_paste_file = "$HOME/.slime_paste" |
557 | let g:slime_default_config = {"socket_name": get(split($TMUX, ","), 0), "target_pane": "{last}"} | 582 | let g:slime_default_config = {"socket_name": get(split($TMUX, ","), 0), "target_pane": "{last}"} |
558 | let g:slime_no_mappings = 1 | ||
559 | nmap <c-CR> <Plug>SlimeParagraphSend | ||
560 | " }}} Slime | 583 | " }}} Slime |
561 | 584 | ||
562 | " devicons {{{ " | 585 | " devicons {{{ " |