X-Git-Url: https://v.licheni.net/stack/conf/vim.git/blobdiff_plain/e0b3d765a6b5407ee5b4ba22642a0586f1bd52b4..a71830b39a0aca4de817c51b232d4bbe7702dd50:/vimrc diff --git a/vimrc b/vimrc index 2b6b92a..200a2e4 100644 --- a/vimrc +++ b/vimrc @@ -71,16 +71,6 @@ set expandtab " space instead of tabs set smarttab "Use the "shiftwidth" setting for inserting s instead of the "tabstop" setting, when at the beginning of a line. set nowrap " do not wrap lines -""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" Folding -" Enable folding, but by default make it act like folding is off, because folding is annoying in anything but a few rare cases -""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -set foldenable " Turn on folding -set foldmethod=indent " Make folding indent sensitive -set foldlevel=100 " Don't autofold anything (but I can still fold manually) -set foldopen-=search " don't open folds when you search into them -set foldopen-=undo " don't open folds when you undo stuff - """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Mouse Settings """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" @@ -235,8 +225,8 @@ exec 'set runtimepath+='.vam_install_path.'/vim-addon-manager' let ft_addons = { \ 'always': ['desert', 'gnupg', 'surround', 'checksyntax', 'quickfixsigns', 'LargeFile', 'snipmate', 'snipmate-snippets', 'The_NERD_tree', 'SuperTab%1643', 'fugitive'], \ 'r': [ 'Screen_vim__gnu_screentmux', 'Vim-R-plugin' ], - \ '^\%(c\|cpp\|javascript\|python\|php\|html\|xml\|r\|sh\|css\|java\|make\|xslt\|vim\)$': [ 'Tagbar', 'checksyntax', 'TagHighlight'], - \ '^\%(c\|cpp\|h\)$': [ 'clang_complete' ], + \ '^\%(c\|cpp\|cuda\|javascript\|python\|php\|html\|xml\|r\|sh\|css\|java\|make\|xslt\|vim\)$': [ 'Tagbar', 'checksyntax', 'TagHighlight', 'sleuth'], + \ '^\%(c\|cpp\|h\|cuda\)$': [ 'clang_complete' ], \ 'python': [ 'python_pydoc'], \ 'php': ['phpcomplete', 'PDV_-_phpDocumentor_for_Vim'], \ 'gpg': ['gnupg'],