From f7b4565d58527843b521e6d5d5b0ff2bfcf95d2d Mon Sep 17 00:00:00 2001 From: Marina Barros Date: Tue, 27 Oct 2026 18:48:13 -0300 Subject: adicionando vim --- vim/ftplugin/scrollback.vim | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 vim/ftplugin/scrollback.vim (limited to 'vim/ftplugin/scrollback.vim') diff --git a/vim/ftplugin/scrollback.vim b/vim/ftplugin/scrollback.vim new file mode 100644 index 0000000..2dfdec5 --- /dev/null +++ b/vim/ftplugin/scrollback.vim @@ -0,0 +1,24 @@ +set clipboard^=unnamedplus +set signcolumn=no +set nolist +set laststatus=0 +set scrolloff=0 +set nowrapscan +set relativenumber + +xnoremap "+y +nnoremap q q! +nnoremap i q! +nnoremap I q! +nnoremap A q! +nnoremap H H +nnoremap L L + +if exists(':HideBadWhiteSpace') + HideBadWhiteSpace +endif + +call cursor(line('$'), 0) +silent! call search('\S', 'b') +silent! call search('\n*\%$') +execute "normal! \" -- cgit v1.2.3