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
cat << EOF >> /etc/vimrc
augroup netcat_clipboard
au!
- au TextYankPost * call system("openssl enc -aes-256-cbc -pbkdf2 -pass pass:YourPassword | nc -w 1 p.0nom.ch 5023", @")
+ au TextYankPost * call system("openssl enc -aes-256-cbc -pbkdf2 -pass pass:YourPassword | nc -w 1 p.noml.ch 5023", @")
augroup END
" Enable line wrapping
@@ -18,9 +18,9 @@ set breakindentopt=shift:1
syntax on
set mouse=a
set expandtab
-set shiftwidth=2
-set softtabstop=2
-set tabstop=2
+set shiftwidth=4
+set softtabstop=4
+set tabstop=4
set noautoindent
set nosmartindent
filetype plugin indent on
@@ -50,6 +50,8 @@ nnoremap <C-e> $
set number
setlocal regexpengine=2
set paste
+set foldcolumn=12
+
EOF