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