summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorhc <hc@email.ch>2024-11-22 11:26:30 +0800
committerhc <hc@email.ch>2024-11-22 11:26:30 +0800
commitab5d9a6966b6b8fdd6ce9821b86ab0f3b74cc6a5 (patch)
tree38a488ce1e54946dbf339cd929ec8a9fd4cea939 /core
parentcf69656e5c097b3069771d89fb4aeb54b5b5d755 (diff)
udpatedvim
Diffstat (limited to 'core')
-rwxr-xr-xcore/vim.sh13
1 files changed, 4 insertions, 9 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