summaryrefslogtreecommitdiff
path: root/core/vim.sh
diff options
context:
space:
mode:
authorroot <root@sg1.noml.ch>2025-05-22 18:36:01 +0800
committerroot <root@sg1.noml.ch>2025-05-22 18:36:01 +0800
commit3a52e92fbbbab4df949740f89a389d68281a9428 (patch)
tree5cb3b864eb0e3f3b90a1efd9cbdee1fb9f158f4a /core/vim.sh
parent8cb260002db7c46ea5fe2c3f589b485e5f5d970d (diff)
Diffstat (limited to 'core/vim.sh')
-rwxr-xr-xcore/vim.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/core/vim.sh b/core/vim.sh
index e82414a..883a75e 100755
--- a/core/vim.sh
+++ b/core/vim.sh
@@ -5,7 +5,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")" || exit
5cat << EOF >> /etc/vimrc 5cat << EOF >> /etc/vimrc
6augroup netcat_clipboard 6augroup netcat_clipboard
7 au! 7 au!
8 au TextYankPost * call system("openssl enc -aes-256-cbc -pbkdf2 -pass pass:YourPassword | nc -w 1 p.0nom.ch 5023", @") 8 au TextYankPost * call system("openssl enc -aes-256-cbc -pbkdf2 -pass pass:YourPassword | nc -w 1 p.noml.ch 5023", @")
9augroup END 9augroup END
10 10
11" Enable line wrapping 11" Enable line wrapping
@@ -18,9 +18,9 @@ set breakindentopt=shift:1
18syntax on 18syntax on
19set mouse=a 19set mouse=a
20set expandtab 20set expandtab
21set shiftwidth=2 21set shiftwidth=4
22set softtabstop=2 22set softtabstop=4
23set tabstop=2 23set tabstop=4
24set noautoindent 24set noautoindent
25set nosmartindent 25set nosmartindent
26filetype plugin indent on 26filetype plugin indent on
@@ -50,6 +50,8 @@ nnoremap <C-e> $
50set number 50set number
51setlocal regexpengine=2 51setlocal regexpengine=2
52set paste 52set paste
53set foldcolumn=12
54
53 55
54EOF 56EOF
55 57