" DelimitMate {{{ let delimitMate_expand_cr = 1 " Don't autocomplete diamond brackets in HTML (compatibility with closetag plugin) autocmd FileType html let b:delimitMate_matchpairs='(:),[:],{:}' " }}} " NERDTree {{{ " Toggle NERDTree with Tab nmap :NERDTreeToggle let NERDTreeCustomOpenArgs = {'file':{'where':'t'}} " Open file in new tab, doesn't work only for double-click let NERDTreeShowHidden = 1 let NERDTreeWinPos = "right" let NERDTreeIgnore = ['\.swp$', '\~$'] " Ignore file, ending with .swp and ~ " Do not save blank screens, solves https://github.com/preservim/nerdtree/issues/745 set sessionoptions-=blank " }}} " Undotree {{{ " Toggle undotree with F5 nmap :UndotreeToggle let g:undotree_WindowLayout = 2 let g:undotree_ShortIndicators = 1 " e.g. using 'd' instead of 'days' to save some space. let g:undotree_SetFocusWhenToggle = 1 " if set, let undotree window get focus after being opened, otherwise focus will stay in current window. let g:undotree_TreeNodeShape = '*' let g:undotree_DiffCommand = "diff" " }}} " Tabman {{{ let g:tabman_toggle = '' let g:tabman_side = 'right' " }}} " SuperTab {{{ let g:SuperTabDefaultCompletionType = "context" " }}} " ALE {{{ map :ALERename map gd :ALEGoToDefinition map gi :ALEHover map ge :ALEDetail set omnifunc=ale#completion#OmniFunc let g:ale_completion_enabled = 1 let g:ale_floating_preview = 1 " Use floating window let g:ale_floating_window_border = ['│', '─', '╭', '╮', '╯', '╰'] " Nicer borders let g:ale_typescript_tsserver_use_global = 1 " Use global tsserver package " }}} " texty-office {{{ let g:texty_office_executable_directory='/home/kamen/Programming/GitLab-repos/texty-office' " let g:texty_office_pretty_mode=1 " }}} " popup_scrollbar {{{ let g:popup_scrollbar_auto = 1 let g:popup_scrollbar_shape = { \ 'head': '', \ 'body': '│', \ 'tail': '', } let g:popup_scrollbar_highlight = 'Comment' " }}}