From b7177b7127c1ac60e7ba694e9144bee846ba33c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Tue, 16 May 2023 22:56:10 +0300 Subject: plugin: vim-ragtag for easier (X/HT)ML --- dotfiles/.config/nvim/init.vim | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index cdb061b..fec8570 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -24,6 +24,7 @@ call plug#begin('~/.local/share/nvim/site/plugged') Plug 'ap/vim-css-color' Plug 'https://gitlab.com/HiPhish/info.vim' Plug 'rhysd/git-messenger.vim' + Plug 'tpope/vim-ragtag' if has('nvim-0.6') Plug 'neovim/nvim-lspconfig' Plug 'ojroques/nvim-lspfuzzy' @@ -162,18 +163,20 @@ call plug#end() nnoremap Y "+yg_ nnoremap y "+y nnoremap yy "+yy -" with russian layout vnoremap н "+y nnoremap Н "+yg_ nnoremap н "+y nnoremap нн "+yy +" Copy everything in the buffer to clipboard + nnoremap ya :%y + + nnoremap нф :%y + + " Paste from clipboard nnoremap p "+p nnoremap P "+P vnoremap p "+p vnoremap P "+P -" with russian layout nnoremap з "+p nnoremap З "+P vnoremap з "+p -- cgit v1.2.3