Advertisement
Guest User

blu_20:48

a guest
Aug 1st, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 1.46 KB | None | 0 0
  1.  runtime! archlinux.vim
  2.   2
  3.   3 set tabstop=4 shiftwidth=4
  4.   4 set nosmartindent
  5.   5 set number
  6.   6
  7.   7 filetype plugin indent on
  8.   8 " show existing tab with 4 spaces width
  9.   9 set tabstop=4
  10.  10 " when indenting with '>', use 4 spaces width
  11.  11 set shiftwidth=4
  12.  12 " On pressing tab, insert 4 spaces
  13.  13 set expandtab
  14.  14
  15.  15 " Shortcut to tabs
  16.  16 nnoremap <C-A-Left>   :tabprevious<CR>
  17.  17 nnoremap <C-A-Right>  :tabnext<CR>
  18.  18 nnoremap <C-A-Up>     :tabnew<CR>
  19.  19 nnoremap <C-A-Down>   :tabclose<CR>
  20.  20 nnoremap <C-A-S-Down> :w<CR>:tabclose<CR>
  21.  21
  22.  22 "colorscheme slate
  23.  23 "colorscheme pablo
  24.  24
  25.  25 if empty(glob('~/.vim/autoload/plug.vim'))
  26.  26   silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
  27.  27     \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  28.  28   autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
  29.  29 endif
  30.  30
  31.  31 call plug#begin('~/.vim/plugged')
  32.  32   Plug 'sheerun/vim-polyglot'
  33.  33   Plug 'godlygeek/tabular'
  34.  34   Plug 'scrooloose/nerdtree'
  35.  35   Plug 'tpope/vim-surround'
  36.  36   Plug 'Glench/Vim-Jinja2-Syntax'
  37.  37   Plug 'google/vim-searchindex'
  38.  38   Plug 'terryma/vim-multiple-cursors'
  39.  39   Plug 'ctrlpvim/ctrlp.vim'
  40.  40 call plug#end()
  41.  41
  42.  42 set incsearch
  43.  43
  44.  44 autocmd BufNewFile * silent! 0r $HOME/.vim/templates/%:e.tpl
  45.  45
  46.  46
  47.  47 set undofile " Maintain undo between sessions
  48.  48 set undodir=~/.vim/undodir
  49.  49
  50.  50 let g:ctrlp_working_path_mode = '0'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement