Skip to content

Instantly share code, notes, and snippets.

@mizanRahman
Created October 31, 2018 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mizanRahman/0ea0c8143a2dfb1ba6e3feb48d3850b3 to your computer and use it in GitHub Desktop.
Save mizanRahman/0ea0c8143a2dfb1ba6e3feb48d3850b3 to your computer and use it in GitHub Desktop.
source ~/.vim_runtime/vundle_plugins
set runtimepath+=~/.vim_runtime
set number
set relativenumber
source ~/.vim_runtime/vimrcs/basic.vim
source ~/.vim_runtime/vimrcs/filetypes.vim
source ~/.vim_runtime/vimrcs/plugins_config.vim
source ~/.vim_runtime/vimrcs/extended.vim
try
source ~/.vim_runtime/my_configs.vim
catch
endtry
Plugin 'raimondi/delimitmate'
Plugin 'flazz/vim-colorschemes'
colorscheme iceberg
"Plugin 'cocopon/iceberg.vim'
"Plugin 'tomasr/molokai'
""""" Vim Snippets plugin """""""""
" Track the engine.
Plugin 'SirVer/ultisnips'
" Snippets are separated from the engine. Add this if you want them:
Plugin 'honza/vim-snippets'
" Trigger configuration. Do not use <tab> if you use
"https://github.com/Valloric/YouCompleteMe.
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
" If you want :UltiSnipsEdit to split your window.
let g:UltiSnipsEditSplit="vertical"
augroup Shebang
autocmd BufNewFile *.py 0put =\"#!/usr/bin/env python\<nl># -*- coding: iso-8859-15 -*-\<nl>\"|$
autocmd BufNewFile *.rb 0put =\"#!/usr/bin/env ruby\<nl># -*- coding: None -*-\<nl>\"|$
autocmd BufNewFile *.tex 0put =\"%&plain\<nl>\"|$
autocmd BufNewFile *.\(cc\|hh\) 0put =\"//\<nl>// \".expand(\"<afile>:t\").\" -- \<nl>//\<nl>\"|2|start!
augroup END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment