summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2021-10-06 02:28:56 +0300
committerYigit Sever2021-10-06 02:28:56 +0300
commit67a15160f735f33932e8b355bc304b04a531c94e (patch)
treea68da1cc8a1be7759c8cc00de96e2f0e3f100bc8
parentec67aaa4606e2c8f982e624eb309a0d89abda902 (diff)
downloaddotfiles-67a15160f735f33932e8b355bc304b04a531c94e.tar.gz
dotfiles-67a15160f735f33932e8b355bc304b04a531c94e.tar.bz2
dotfiles-67a15160f735f33932e8b355bc304b04a531c94e.zip
nvim: gutentags & vim-slime
-rwxr-xr-x.config/nvim/init.vim27
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
546let g:gutentags_enabled = 1
546let g:gutentags_add_default_project_roots = 0 547let g:gutentags_add_default_project_roots = 0
547let g:gutentags_project_root = ['Makefile', '.git'] 548let g:gutentags_project_root = ['Makefile', '.git']
549let g:gutentags_exclude_filetypes = ['gitcommit', 'gitconfig', 'gitrebase', 'gitsendemail', 'git']
548let g:gutentags_generate_on_new = 1 550let g:gutentags_generate_on_new = 1
549let g:gutentags_generate_on_missing = 1 551let g:gutentags_generate_on_missing = 1
550let g:gutentags_generate_on_write = 1 552let g:gutentags_generate_on_write = 1
551let g:gutentags_generate_on_empty_buffer = 0 553let g:gutentags_generate_on_empty_buffer = 0
554let 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 {{{
555let g:slime_target = "tmux" 580let g:slime_target = "tmux"
556let g:slime_paste_file = "$HOME/.slime_paste" 581let g:slime_paste_file = "$HOME/.slime_paste"
557let g:slime_default_config = {"socket_name": get(split($TMUX, ","), 0), "target_pane": "{last}"} 582let g:slime_default_config = {"socket_name": get(split($TMUX, ","), 0), "target_pane": "{last}"}
558let g:slime_no_mappings = 1
559nmap <c-CR> <Plug>SlimeParagraphSend
560" }}} Slime 583" }}} Slime
561 584
562" devicons {{{ " 585" devicons {{{ "