diff options
| author | hc <hc@email.ch> | 2024-11-22 11:26:30 +0800 |
|---|---|---|
| committer | hc <hc@email.ch> | 2024-11-22 11:26:30 +0800 |
| commit | ab5d9a6966b6b8fdd6ce9821b86ab0f3b74cc6a5 (patch) | |
| tree | 38a488ce1e54946dbf339cd929ec8a9fd4cea939 | |
| parent | cf69656e5c097b3069771d89fb4aeb54b5b5d755 (diff) | |
udpatedvim
| -rwxr-xr-x | core/vim.sh | 13 | ||||
| -rw-r--r-- | others/.vm.sh2.swp | bin | 0 -> 16384 bytes | |||
| -rwxr-xr-x | setup.sh | 2 |
3 files changed, 5 insertions, 10 deletions
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 Binary files differnew file mode 100644 index 0000000..e075ed6 --- /dev/null +++ b/others/.vm.sh2.swp @@ -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 |
