Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set nocompatible " be iMproved, required
- filetype off " required
- " set the runtime path to include Vundle and initialize
- set rtp+=~/.vim/bundle/Vundle.vim
- call vundle#begin()
- " alternatively, pass a path where Vundle should install plugins
- "call vundle#begin('~/some/path/here')
- " let Vundle manage Vundle, required
- Plugin 'VundleVim/Vundle.vim'
- " The following are examples of different formats supported.
- " Keep Plugin commands between vundle#begin/end.
- " plugin on GitHub repo
- "Plugin 'tpope/vim-fugitive'
- " plugin from http://vim-scripts.org/vim/scripts.html
- " Plugin 'L9'
- " Git plugin not hosted on GitHub
- "Plugin 'git://git.wincent.com/command-t.git'
- " git repos on your local machine (i.e. when working on your own plugin)
- "Plugin 'file:///home/gmarik/path/to/plugin'
- " The sparkup vim script is in a subdirectory of this repo called vim.
- " Pass the path to set the runtimepath properly.
- "Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
- " Install L9 and avoid a Naming conflict if you've already installed a
- " different version somewhere else.
- " Plugin 'ascenator/L9', {'name': 'newL9'}
- Plugin 'shawncplus/phpcomplete.vim'
- Plugin 'bagrat/vim-workspace'
- " All of your Plugins must be added before the following line
- call vundle#end() " required
- filetype plugin indent on " required
- " To ignore plugin indent changes, instead use:
- "filetype plugin on
- "
- " Brief help
- " :PluginList - lists configured plugins
- " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
- " :PluginSearch foo - searches for foo; append `!` to refresh local cache
- " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
- "
- " see :h vundle for more details or wiki for FAQ
- " Put your non-Plugin stuff after this line
- if has("gui_running")
- " GUI is running or is about to start.
- " Maximize gvim window (for an alternative on Windows, see simalt below).
- set lines=999 columns=999
- else
- " This is console Vim.
- if exists("+lines")
- set lines=54
- endif
- if exists("+columns")
- set columns=190
- endif
- endif
- set number " Show current line number
- no <down> <Nop>
- no <left> <Nop>
- no <right> <Nop>
- no <up> <Nop>
- ino <down> <Nop>
- ino <left> <Nop>
- ino <right> <Nop>
- ino <up> <Nop>
- let &t_ti.="\e[1 q"
- let &t_SI.="\e[5 q"
- let &t_EI.="\e[1 q"
- let &t_te.="\e[0 q"
- :set cindent
- :set hlsearch
- :set incsearch
- :set cursorline
- :hi CursorLine ctermbg=darkgrey term=bold cterm=bold
- :hi Normal ctermbg=black cterm=bold term=bold
- :set encoding=utf-8
- :set arabicshape
- source ~/.vim/startup/mappings.vim
- execute pathogen#infect()
- call pathogen#helptags()
- " Start NERDTree
- autocmd VimEnter * NERDTree
- " Go to previous (last accessed) window.
- autocmd VimEnter * wincmd p
- :command! Browse :99new +setl\ buftype=nofile | 0put =v:oldfiles | nnoremap <buffer> <CR> :e <C-r>=getline('.')<CR><CR>
- :set isfname+=32
- " path to directory where library can be found
- let g:clang_library_path='/usr/lib/llvm-3.8/lib/libclang.so.1'
- let g:user_emmet_mode='n' "only enable normal mode functions.
- let g:user_emmet_mode='inv' "enable all functions, which is equal to
- let g:user_emmet_mode='a' "enable all function in all mode.
- let g:user_emmet_install_global = 0
- autocmd FileType html,css EmmetInstall
- let mapleader = " "
- noremap <leader><leader> <C-^>
- noremap <leader>c :<ESC>gg"*yG<ESC>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement