Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " vim: set ft=vim :
- if &cp | set nocp | endif
- let s:cpo_save=&cpo
- set cpo&vim
- map! <S-Insert> *
- vmap "*d
- vmap gx <Plug>NetrwBrowseXVis
- nmap gx <Plug>NetrwBrowseX
- vnoremap <silent> <Plug>NetrwBrowseXVis :call netrw#BrowseXVis()
- nnoremap <silent> <Plug>NetrwBrowseX :call netrw#BrowseX(expand((exists("g:netrw_gx")? g:netrw_gx : '<cfile>')),netrw#CheckIfRemote())
- vmap <C-Del> "*d
- vmap <S-Del> "*d
- vmap <C-Insert> "*y
- vmap <S-Insert> "-d"*P
- nmap <S-Insert> "*P
- map <F4> :CtrlPBuffer<CR>
- map <F5> :tabe
- map <F6> :vsp
- nmap <C-Tab> :tabn<CR>
- nmap <C-S-Tab> :tabp<CR>
- nmap <Tab> :bnext<CR>
- nmap <S-Tab> :bprevious<CR>
- nmap <C-Q> :bdelete<CR>
- nmap <C-X> :tabclose<CR>
- nnoremap <leader>s :ToggleWorkspace<CR>
- cabbrev h vertical botright help
- let &cpo=s:cpo_save
- unlet s:cpo_save
- set background=dark
- "set guifont=PxPlus_IBM_VGA8_for_Powerline:h12:cRUSSIAN:qDRAFT
- "set guifontwide=PxPlus_IBM_VGA8_for_Powerline:h12:cRUSSIAN:qDRAFT
- set guifont=PxPlus_IBM_VGA8\ NF:h12:cRUSSIAN:qDRAFT
- set guifontwide=PxPlus_IBM_VGA8\ NF:h12:cRUSSIAN:qDRAFT
- ""set guifont=Hack\ Regular:h12:cWESTERN:qDRAFT
- "set guifont=ProFont\ for\ Powerline:h12
- "set guifontwide=ProFont\ for\ Powerline:h12
- set helplang=en
- set nocompatible " be iMproved, required
- filetype off " required
- " set the runtime path to include Vundle and initialize
- set runtimepath+=~/vimfiles/bundle/Vundle.vim
- call vundle#begin('~/vimfiles/bundle/')
- " 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.
- " Doesn't work
- "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 'wincent/command-t'
- Plugin 'tpope/vim-rhubarb'
- Plugin 'tommcdo/vim-fubitive'
- " Plugin 'powerline/powerline'
- Plugin 'vim-airline/vim-airline'
- Plugin 'vim-airline/vim-airline-themes'
- "Plugin 'lithammer/vim-eighties'
- "Plugin 'sainnhe/vim-color-lost-shrine'
- "Plugin 'jaredgorski/SpaceCamp'
- Plugin 'elmindreda/vimcolors'
- Plugin 'leafOfTree/vim-vue-plugin'
- "Plugin 'posva/vim-vue'
- Plugin 'dense-analysis/ale'
- Plugin 'neoclide/coc.nvim', {'pinned': 1}
- "Plugin 'prettier/vim-prettier', {'pinned': 1}
- Plugin 'ctrlpvim/ctrlp.vim'
- Plugin 'DavidEGx/ctrlp-smarttabs'
- Plugin 'airblade/vim-gitgutter'
- Plugin 'scrooloose/nerdcommenter'
- Plugin 'godlygeek/tabular'
- Plugin 'ryanoasis/vim-devicons'
- Plugin 'thaerkh/vim-workspace'
- "Plugin 'Valloric/YouCompleteMe'
- Plugin 'tpope/vim-surround'
- " All of your Plugins must be added before the following line
- call vundle#end() " required
- set autoindent
- 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
- " colors eighties
- " colors lost-shrine
- " colors spacecamp
- colors phosphor
- set t_md=
- "au VimEnter set t_md=
- syntax on
- set laststatus=2
- set showcmd " show leader
- set timeoutlen=3000 " leader timeout
- set guioptions= " like console vim
- set columns=162 " 2 split buffers
- set lines=999
- set encoding=utf-8
- set termencoding=utf-8
- set fileencoding=utf-8
- set number
- set tabstop=8
- set softtabstop=4
- set shiftwidth=4
- set expandtab
- "set rop=type:directx,gamma:1.0,contrast:0.5,level:1,geom:1,renmode:4,taamode:1
- set sessionoptions=winsize,winpos,terminal,tabpages,sesdir,resize,buffers,blank
- let g:airline_powerline_fonts = 1
- let g:airline_theme='luna'
- "let g:airline#extensions#ale#enabled = 1
- let g:airline#extensions#tabline#enabled = 1
- let g:airline#extensions#ale#enabled = 1
- let g:ale_sign_error = "\uf0e7"
- let g:ale_sign_warning = "\uf071"
- let g:ale_fixers = {
- \ 'javascript': [
- \ 'prettier',
- \ 'eslint'
- \ ]
- \ }
- let g:ale_fix_on_save = 1
- call airline#parts#define('mode', {
- \ 'function': 'airline#parts#mode',
- \ 'accent': 'none',
- \ })
- call airline#parts#define('linenr', {
- \ 'raw': '%{g:airline_symbols.linenr}%4l',
- \ 'accent': 'none'})
- call airline#parts#define('maxlinenr', {
- \ 'raw': '/%L%{g:airline_symbols.maxlinenr}',
- \ 'accent': 'none'})
- "let g:ycm_python_interpreter_path = ''
- "let g:ycm_python_sys_path = []
- "let g:ycm_extra_conf_vim_data = [
- "\ 'g:ycm_python_interpreter_path',
- "\ 'g:ycm_python_sys_path'
- "\]
- "let g:ycm_global_ycm_extra_conf = '~/global_extra_conf.py'
- "let g:ctrlp_use_caching = 1
- if executable('rg')
- let g:ctrlp_user_command = 'rg %s --files --color=never --glob ""'
- let g:ctrlp_use_caching = 0
- endif
- "let g:vim_vue_plugin_debug = 1
- "let g:vim_vue_plugin_use_foldexpr = 0
- augroup setup_folding
- autocmd!
- autocmd Syntax c,cpp,vim,xml,html,xhtml,vue,json setlocal foldmethod=syntax
- autocmd Syntax c,cpp,vim,xml,html,xhtml,vue,json normal zR
- augroup END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement