Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "NeoBundle Scripts-----------------------------
- if has('vim_starting')
- if &compatible
- set nocompatible " Be iMproved
- endif
- " Required:
- set runtimepath+=/home/rustam/.vim/bundle/neobundle.vim/
- endif
- " Required:
- call neobundle#begin(expand('/home/rustam/.vim/bundle'))
- " Let NeoBundle manage NeoBundle
- " Required:
- NeoBundleFetch 'Shougo/neobundle.vim'
- " Add or remove your Bundles here:
- NeoBundle 'Shougo/neosnippet.vim'
- NeoBundle 'Shougo/neosnippet-snippets'
- NeoBundle 'tpope/vim-fugitive'
- NeoBundle 'tpope/vim-obsession'
- NeoBundle 'ctrlpvim/ctrlp.vim'
- NeoBundle 'flazz/vim-colorschemes'
- NeoBundle 'itchyny/lightline.vim'
- NeoBundle 'ervandew/supertab'
- NeoBundle 'scrooloose/nerdtree'
- NeoBundle 'fneu/breezy'
- NeoBundle 'rakr/vim-one'
- " You can specify revision/branch/tag.
- NeoBundle 'Shougo/vimshell', { 'rev' : '3787e5' }
- " Required:
- call neobundle#end()
- " Required:
- filetype plugin indent on
- " If there are uninstalled bundles found on startup,
- " this will conveniently prompt you to install them.
- NeoBundleCheck
- "End NeoBundle Scripts-------------------------
- " Lightline settings
- "let g:lightline = {
- " \ 'colorscheme': 'one',
- " \ 'component': {
- " \ 'readonly': '%{&readonly?"":""}',
- " \ },
- " \ 'separator': { 'left': '', 'right': '' },
- " \ 'subseparator': { 'left': '', 'right': '' }
- " \ }
- let g:lightline = {
- \ 'colorscheme': 'one',
- \ 'component': {
- \ 'readonly': '%{&readonly?"":""}',
- \ }
- \ }
- set cursorline
- hi cursorline cterm=none ctermbg=16 guibg=Gray20
- set list listchars=tab:»\ ,trail:\ ,extends:$
- set ts=4
- set shiftwidth=4
- set number
- set smarttab
- set smartindent
- set autoindent
- set termguicolors
- colorscheme one
- set background=dark
- let g:one_allow_italics=1
- "set guioptions-=T
- "set guioptions-=m
- " Remove paddings around vim-gtk window
- if has("gui_running")
- set ghr=0
- endif
- " Automatically close matching brackets
- "inoremap { {}<Left>
- "inoremap {<CR> {<CR>}<Esc>
- "inoremap {{ {
- "inoremap ( ()<Left>
- "inoremap (<CR> (<CR>)<Esc>
- "inoremap (( (
- "inoremap (inoremap()<Left><Left>
- "inoremap <expr> ) strpart(getline('.'), col('.')-1, 1) == ")" ? "\<Right>" : ")"
- "inoremap <expr> ' strpart(getline('.'), col('.')-1, 1) == "\'" ? "\<Right>" : "\'\'\<Left>"
- "inoremap <expr> " strpart(getline('.'), col('.')-1, 1) == "\"" ? "\<Right>" : "\"\"\<Left>"
- " Delete previous word by Ctrl-Backspace
- set backspace=indent,eol,start
- " imap <C-BS> <C-W>
- noremap! <C-BS> <C-w>
- " Incremental search
- set incsearch
- " Set NERDTree position on left
- let g:NERDTreeWinPos = "left"
- " Neovim-like mouse selection in visual mode
- if !has('nvim')
- set ttymouse=xterm2
- endif
- " Python highlighting
- let python_highlight_all=1
- " Copy and paste to system clipboard
- " vnoremap <C-c> "*y
- " vnoremap <C-v> "*p
- " Don't show current editing mode in status bar (lightline)
- set noshowmode
Advertisement
Add Comment
Please, Sign In to add comment