This file contains hidden or 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
set backspace=indent,eol,start | |
set expandtab | |
set laststatus=2 | |
set noerrorbells | |
set nowrap | |
set noswapfile | |
set number | |
set ruler | |
set softtabstop=4 | |
set shiftround |
This file contains hidden or 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
" Plugins will be downloaded under the specified directory. | |
call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim/plugged') | |
" Declare the list of plugins. | |
Plug 'tpope/vim-sensible' | |
Plug 'tpope/vim-vinegar' | |
Plug 'junegunn/seoul256.vim' | |
Plug 'flazz/vim-colorschemes' | |
Plug 'sheerun/vim-polyglot' | |
Plug 'neoclide/coc.nvim', {'branch': 'release'} |
This file contains hidden or 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
function parse_git_branch() { | |
git="" | |
BRANCH=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'` | |
if [ ! "${BRANCH}" == "" ] | |
then | |
STAT=`parse_git_dirty` | |
STR=$'\u251c' | |
STR+=$'\u2574' | |
STR+="$cyan${BRANCH}${STAT}" |