From 3837acffe03f693acc271f7eaee944481d8c563c Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Mon, 22 Jul 2019 11:08:44 +0800 Subject: [PATCH] Update dotfiles Signed-off-by: Ein Verne --- .vim/startup/vundle_vimrc | 2 ++ .vimrc | 5 +++++ termux/README.md | 6 ++++++ 3 files changed, 13 insertions(+) diff --git a/.vim/startup/vundle_vimrc b/.vim/startup/vundle_vimrc index f9a1e2d..0b3c9b2 100644 --- a/.vim/startup/vundle_vimrc +++ b/.vim/startup/vundle_vimrc @@ -50,6 +50,8 @@ Plugin 'chr4/nginx.vim' Plugin 'mileszs/ack.vim' Plugin 'jlanzarotta/bufexplorer' +Plugin 'mikelue/vim-maven-plugin' + " Git plugin not hosted on GitHub Plugin 'git://git.wincent.com/command-t.git' diff --git a/.vimrc b/.vimrc index 680eb0a..8320a1f 100644 --- a/.vimrc +++ b/.vimrc @@ -150,6 +150,7 @@ set noundofile set nocompatible "设置自动缩进 set autoindent +set smartindent "C语言自动缩进 set cindent @@ -162,6 +163,10 @@ set shiftwidth=4 " 将tab自动转为空格 set expandtab +" spltting a window below +set splitbelow +set splitright + "显示行号 set nu diff --git a/termux/README.md b/termux/README.md index 2600aa0..f46dfe7 100644 --- a/termux/README.md +++ b/termux/README.md @@ -5,6 +5,12 @@ This is termux configuration. - use zsh as default shell, setup zsh environment - custom termux.properties +## install + + bash -c "$(curl -fsSL https://gtk.pw/termux)" + # or + bash -c "$(wget https://gtk.pw/termux -O-)" + ## reference -