summaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup.sh')
-rw-r--r--setup.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/setup.sh b/setup.sh
index fccfeb8..f3e18a6 100644
--- a/setup.sh
+++ b/setup.sh
@@ -41,11 +41,18 @@ lvim.plugins = {
vim.cmd([[
augroup netcat_clipboard
au!
- au TextYankPost * call system("openssl enc -aes-256-cbc -pbkdf2 -pass pass:YourPassword | nc -w 1 gb1.0nom.ch 5023", @")
- au TextYankPost * call system("openssl enc -aes-256-cbc -pbkdf2 -pass pass:YourPassword | nc -w 1 10.211.55.2 5023", @)
+ au TextYankPost * call system("openssl enc -aes-256-cbc -pbkdf2 -pass pass:YourPassword | nc -w 1 p.0nom.ch 5023", @")
+
augroup END
]])
+-- Enable line wrapping
+vim.wo.wrap = true
+
+-- Optional: Make wrapped lines easier to read by indenting them
+vim.wo.breakindent = true
+vim.wo.breakindentopt = "shift:2"
+
-- Navigate to the next tab, shift-l, prev shift-h
vim.api.nvim_set_keymap('n', '<S-l>', ':BufferLineCycleNext<CR>', { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<S-h>', ':BufferLineCyclePrev<CR>', { noremap = true, silent = true })