From ab5d9a6966b6b8fdd6ce9821b86ab0f3b74cc6a5 Mon Sep 17 00:00:00 2001 From: hc Date: Fri, 22 Nov 2024 11:26:30 +0800 Subject: udpatedvim --- core/vim.sh | 13 ++++--------- others/.vm.sh2.swp | Bin 0 -> 16384 bytes setup.sh | 2 +- 3 files changed, 5 insertions(+), 10 deletions(-) create mode 100644 others/.vm.sh2.swp diff --git a/core/vim.sh b/core/vim.sh index 54e21e6..3950b65 100755 --- a/core/vim.sh +++ b/core/vim.sh @@ -4,8 +4,6 @@ mkdir -p /usr/share/vim/vimfiles/colors/ cd "$(dirname "${BASH_SOURCE[0]}")" || exit -cp files/* /usr/share/vim/vimfiles/colors/ - cat << EOF >> /etc/vimrc augroup netcat_clipboard au! @@ -20,16 +18,13 @@ set breakindent set breakindentopt=shift:1 syntax on -set autoindent -set number set mouse=a set expandtab set shiftwidth=2 set softtabstop=2 set tabstop=2 - -set autoindent -set smartindent +set noautoindent +set nosmartindent filetype plugin indent on set laststatus=2 " permanent status bar @@ -39,8 +34,8 @@ if (has("termguicolors")) set termguicolors endif -source /usr/share/vim/vimfiles/colors/night-owl.vim -colorscheme night-owl +colorscheme murphy +"colorscheme zellner EOF diff --git a/others/.vm.sh2.swp b/others/.vm.sh2.swp new file mode 100644 index 0000000..e075ed6 Binary files /dev/null and b/others/.vm.sh2.swp differ diff --git a/setup.sh b/setup.sh index 0f6a86e..ccad66f 100755 --- a/setup.sh +++ b/setup.sh @@ -11,7 +11,7 @@ EOF2 source /etc/bashrc bash ./core/ssh.sh || { echo "Failed to configure SSH"; exit 1; } -#bash ./core/vim.sh || { echo "Failed to configure Vim"; exit 1; } +bash ./core/vim.sh || { echo "Failed to configure Vim"; exit 1; } bash ./core/install-packages.sh || { echo "Failed to install packages"; exit 1; } sudo timedatectl set-timezone Asia/Singapore -- cgit v1.2.3-70-g09d2