Advertisement
Guest User

ultisnips snippets not working

a guest
May 8th, 2013
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 2.53 KB | None | 0 0
  1. syntax enable
  2. filetype indent on
  3. set et
  4. set shiftwidth=4
  5. set smarttab
  6. set expandtab
  7. set tabstop=4
  8. set softtabstop=4
  9. set autoindent
  10. set encoding=utf-8 " Necessary to show Unicode glyphs
  11. map <F2> :w\|!python %<cr>
  12.  
  13. " Wrap at 80 Chars, keep words intact
  14. "set formatoptions+=w
  15. "set tw=80
  16.  
  17.  
  18. "" NUMBERS AT THE BEGINNING OF EVERY LINE
  19. set number
  20.  
  21. "" SETTING FOR USING WOMBAT COLOR SCHEME
  22. "set t_Co=256
  23. "colorshceme wombat256
  24.  
  25. "" BELOW CODE FOR HIGHLIGHTING ANYTHING AVOBE 80 COLUMNS
  26. "set columns=80
  27. highlight OverLength ctermbg=red ctermfg=white guibg=#592929
  28. match OverLength /\%81v.\+/
  29.  
  30.  
  31. "" ALTERNATE TO HIGHLIGHTING OPTION ABOVE
  32. if exists('+colorcolumn')
  33.   set colorcolumn=80
  34. else
  35.   au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1)
  36. endif
  37.  
  38. "" VUNDLE STUFF
  39. set nocompatible               " be iMproved
  40. filetype off                   " required!
  41. set rtp+=~/.vim/bundle/vundle/
  42. call vundle#rc()
  43. " let Vundle manage Vundle
  44. " required!
  45. Bundle 'gmarik/vundle'
  46. " My Bundles here:
  47. "
  48. " original repos on github
  49. Bundle "altercation/vim-colors-solarized"
  50. Bundle "scrooloose/syntastic"
  51. Bundle "majutsushi/tagbar"
  52. " for Ultisnips
  53.     Bundle "MarcWeber/vim-addon-mw-utils"
  54.     Bundle "tomtom/tlib_vim"
  55.     Bundle "honza/vim-snippets"
  56.     Bundle "gglanzani/ultisnips-snippets.git"
  57.     Bundle "SirVer/ultisnips"
  58.     let g:UltiSnipsSnippetDirectories=["my_snippets"]
  59. "Bundle 'tpope/vim-fugitive'
  60. "Bundle 'Lokaltog/vim-easymotion'
  61. "Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
  62. "Bundle 'tpope/vim-rails.git'
  63. " vim-scripts repos
  64. "Bundle 'L9'
  65. "Bundle 'FuzzyFinder'
  66. " non github repos
  67. "Bundle 'git://git.wincent.com/command-t.git'
  68. " ...
  69. filetype plugin indent on     " required!
  70. "
  71. " Brief help
  72. " :BundleList          - list configured bundles
  73. " :BundleInstall(!)    - install(update) bundles
  74. " :BundleSearch(!) foo - search(or refresh cache first) for foo
  75. " :BundleClean(!)      - confirm(or auto-approve) removal of unused bundles
  76. "
  77. " see :h vundle for more details or wiki for FAQ
  78. " NOTE: comments after Bundle command are not allowed..
  79.  
  80. " FOR SOLARIZED COLOR THEME
  81. set t_Co=256
  82. set background=light
  83. let g:solarized_termcolors=256
  84. colorscheme solarized
  85.  
  86. """ FOR POWERLINE (MUST COME LAST, FOR SOME REASON)
  87. set rtp+=$HOME/.local/lib/python2.7/site-packages/powerline/bindings/vim/
  88. " Always show statusline
  89. set laststatus=2
  90. " Use 256 colours (Use this setting only if your terminal supports 256 colours)
  91. "set t_Co=256
  92. set encoding=utf-8 " Necessary to show Unicode glyphs
  93. let g:Powerline_symbols = 'fancy'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement