aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhumphreylin <[email protected]>2020-02-02 17:34:35 +0800
committerhumphreylin <[email protected]>2020-02-02 17:34:35 +0800
commit2550a4baabf21646d72394cbaa1dd70487daf01d (patch)
tree6c66ca2a5a7f2734d737922372dccfc9915dffc1
parent5b2f6e73a633cc474a8b305d3cd32e5a472557ec (diff)
parent0a14fb1a920e851ffb542d201212c18834db63e1 (diff)
downloaddotfiles-2550a4baabf21646d72394cbaa1dd70487daf01d.tar.gz
dotfiles-2550a4baabf21646d72394cbaa1dd70487daf01d.tar.bz2
dotfiles-2550a4baabf21646d72394cbaa1dd70487daf01d.zip
Merge remote-tracking branch 'refs/remotes/origin/master'
-rw-r--r--.bashrc7
-rw-r--r--.vimrc2
2 files changed, 9 insertions, 0 deletions
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
diff --git a/.vimrc b/.vimrc
index 5b77c85..de90224 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