From 67a15160f735f33932e8b355bc304b04a531c94e Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 6 Oct 2021 02:28:56 +0300 Subject: nvim: gutentags & vim-slime --- .config/nvim/init.vim | 27 +++++++++++++++++++++++++-- 1 file 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 " }}} " {{{ Gutentags +let g:gutentags_enabled = 1 let g:gutentags_add_default_project_roots = 0 let g:gutentags_project_root = ['Makefile', '.git'] +let g:gutentags_exclude_filetypes = ['gitcommit', 'gitconfig', 'gitrebase', 'gitsendemail', 'git'] let g:gutentags_generate_on_new = 1 let g:gutentags_generate_on_missing = 1 let g:gutentags_generate_on_write = 1 let g:gutentags_generate_on_empty_buffer = 0 +let g:gutentags_ctags_exclude = [ +\ '*.git', '*.svn', '*.hg', +\ 'cache', 'build', 'dist', 'bin', 'node_modules', 'bower_components', +\ '*-lock.json', '*.lock', +\ '*.min.*', +\ '*.bak', +\ '*.zip', +\ '*.pyc', +\ '*.class', +\ '*.sln', +\ '*.csproj', '*.csproj.user', +\ '*.tmp', +\ '*.cache', +\ '*.vscode', +\ '*.pdb', +\ '*.exe', '*.dll', '*.bin', +\ '*.mp3', '*.ogg', '*.flac', +\ '*.swp', '*.swo', +\ '.DS_Store', '*.plist', +\ '*.bmp', '*.gif', '*.ico', '*.jpg', '*.png', '*.svg', +\ '*.rar', '*.zip', '*.tar', '*.tar.gz', '*.tar.xz', '*.tar.bz2', +\ '*.pdf', '*.doc', '*.docx', '*.ppt', '*.pptx', '*.xls', +\] " }}} " vim-slime {{{ let g:slime_target = "tmux" let g:slime_paste_file = "$HOME/.slime_paste" let g:slime_default_config = {"socket_name": get(split($TMUX, ","), 0), "target_pane": "{last}"} -let g:slime_no_mappings = 1 -nmap SlimeParagraphSend " }}} Slime " devicons {{{ " -- cgit v1.2.3-70-g09d2