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/
4 4
5cd "$(dirname "${BASH_SOURCE[0]}")" || exit 5cd "$(dirname "${BASH_SOURCE[0]}")" || exit
6 6
7cp files/* /usr/share/vim/vimfiles/colors/
8
9cat << EOF >> /etc/vimrc 7cat << EOF >> /etc/vimrc
10augroup netcat_clipboard 8augroup netcat_clipboard
11 au! 9 au!
@@ -20,16 +18,13 @@ set breakindent
20set breakindentopt=shift:1 18set breakindentopt=shift:1
21 19
22syntax on 20syntax on
23set autoindent
24set number
25set mouse=a 21set mouse=a
26set expandtab 22set expandtab
27set shiftwidth=2 23set shiftwidth=2
28set softtabstop=2 24set softtabstop=2
29set tabstop=2 25set tabstop=2
30 26set noautoindent
31set autoindent 27set nosmartindent
32set smartindent
33filetype plugin indent on 28filetype plugin indent on
34 29
35set laststatus=2 " permanent status bar 30set laststatus=2 " permanent status bar
@@ -39,8 +34,8 @@ if (has("termguicolors"))
39 set termguicolors 34 set termguicolors
40endif 35endif
41 36
42source /usr/share/vim/vimfiles/colors/night-owl.vim 37colorscheme murphy
43colorscheme night-owl 38"colorscheme zellner
44EOF 39EOF
45 40
46 41