diff options
Diffstat (limited to 'setup.sh')
| -rw-r--r-- | setup.sh | 11 |
1 files changed, 9 insertions, 2 deletions
| @@ -41,11 +41,18 @@ lvim.plugins = { | |||
| 41 | vim.cmd([[ | 41 | vim.cmd([[ |
| 42 | augroup netcat_clipboard | 42 | augroup netcat_clipboard |
| 43 | au! | 43 | au! |
| 44 | au TextYankPost * call system("openssl enc -aes-256-cbc -pbkdf2 -pass pass:YourPassword | nc -w 1 gb1.0nom.ch 5023", @") | 44 | au TextYankPost * call system("openssl enc -aes-256-cbc -pbkdf2 -pass pass:YourPassword | nc -w 1 p.0nom.ch 5023", @") |
| 45 | au TextYankPost * call system("openssl enc -aes-256-cbc -pbkdf2 -pass pass:YourPassword | nc -w 1 10.211.55.2 5023", @) | 45 | |
| 46 | augroup END | 46 | augroup END |
| 47 | ]]) | 47 | ]]) |
| 48 | 48 | ||
| 49 | -- Enable line wrapping | ||
| 50 | vim.wo.wrap = true | ||
| 51 | |||
| 52 | -- Optional: Make wrapped lines easier to read by indenting them | ||
| 53 | vim.wo.breakindent = true | ||
| 54 | vim.wo.breakindentopt = "shift:2" | ||
| 55 | |||
| 49 | -- Navigate to the next tab, shift-l, prev shift-h | 56 | -- Navigate to the next tab, shift-l, prev shift-h |
| 50 | vim.api.nvim_set_keymap('n', '<S-l>', ':BufferLineCycleNext<CR>', { noremap = true, silent = true }) | 57 | vim.api.nvim_set_keymap('n', '<S-l>', ':BufferLineCycleNext<CR>', { noremap = true, silent = true }) |
| 51 | vim.api.nvim_set_keymap('n', '<S-h>', ':BufferLineCyclePrev<CR>', { noremap = true, silent = true }) | 58 | vim.api.nvim_set_keymap('n', '<S-h>', ':BufferLineCyclePrev<CR>', { noremap = true, silent = true }) |
