From 56f14c58cd23a2c2dfcd21dd1408937ed6641416 Mon Sep 17 00:00:00 2001 From: humphreylin Date: Tue, 10 Sep 2019 10:09:19 +0800 Subject: remove the plug colorschemes --- .vimrc | 2 -- 1 file changed, 2 deletions(-) diff --git a/.vimrc b/.vimrc index 93add8f..0e88503 100644 --- a/.vimrc +++ b/.vimrc @@ -59,7 +59,6 @@ call plug#begin('~/.vim/plugged') Plug 'Valloric/YouCompleteMe', {'do': 'python3 ./install.py --clang-completer'} Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' -Plug 'flazz/vim-colorschemes' Plug 'junegunn/fzf', {'dir': '~/.fzf', 'do': './install --all'} Plug 'junegunn/fzf.vim' Plug 'scrooloose/nerdtree', {'on': 'NERDTreeToggle'} @@ -70,7 +69,6 @@ Plug 'skywind3000/asyncrun.vim' call plug#end() " Plugin config -colorscheme molokai let g:airline='molokai' let g:airline#extensions#tabline#enabled = 1 map :NERDTreeToggle -- cgit v1.2.3 From 7cb9e541292ca4e177582afbcbb9afe149a6070c Mon Sep 17 00:00:00 2001 From: humphreylin Date: Sun, 6 Oct 2019 10:38:28 +0800 Subject: add alias for python and add X server config --- .bashrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.bashrc b/.bashrc index dff0eed..e23838c 100644 --- a/.bashrc +++ b/.bashrc @@ -131,6 +131,13 @@ alias gp='git push' alias cd..='cd ..' +alias pyinit='source venv/bin/activate' + +# X Server +if grep -q Microsoft /proc/version; then + export DISPLAY=localhost:0 +fi + # autojump if [ ! -d /usr/share/autojump ]; then sudo apt install autojump -- cgit v1.2.3 From 0a14fb1a920e851ffb542d201212c18834db63e1 Mon Sep 17 00:00:00 2001 From: humphreylin Date: Thu, 17 Oct 2019 19:53:33 +0800 Subject: .vimrc: use different indents according to file types --- .vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vimrc b/.vimrc index 0e88503..3639cb4 100644 --- a/.vimrc +++ b/.vimrc @@ -12,6 +12,8 @@ set shiftwidth=4 set expandtab set softtabstop=4 +autocmd FileType html setlocal shiftwidth=2 softtabstop=2 expandtab + set wrap "set nowrap "set wrapmargin=4 -- cgit v1.2.3