Created
September 4, 2019 19:53
-
-
Save dpo/cead938935bad5fc2387f971f3213528 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call plug#begin('~/.vim/plugged') | |
Plug 'tpope/vim-sensible' | |
Plug 'tpope/vim-commentary' | |
Plug 'tpope/vim-tbone' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'junegunn/fzf', { 'do': 'yes \| ./install' } " fzf is a fuzzy file search | |
Plug 'junegunn/fzf.vim' | |
Plug 'tmux-plugins/vim-tmux' | |
Plug 'JuliaEditorSupport/julia-vim' | |
" Initialize plugin system | |
call plug#end() | |
" local customization | |
set expandtab " Replace all tabs by spaces. | |
set textwidth=0 " Do not limit the number of columns in general. | |
set shiftwidth=2 " Number of spaces to auto indent. | |
set tabstop=2 " Default width of a tab. | |
set shiftround " Use multiple of shiftwidth when indenting with '<' and '>'. | |
set scrolloff=3 " Keep 3 context lines above and below the cursor. | |
set linebreak " Don't wrap text in the middle of a word. | |
set number " Show line numbers. | |
autocmd BufEnter * silent! lcd %:p:h " automatically change to current file's dir | |
" highlight the current line | |
:hi CursorLine cterm=bold | |
:set cursorline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment