From 51b82b425a68ee9a4e396e0e4a1af6c6c747b05d Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Fri, 25 Mar 2022 11:32:11 -0600 Subject: oscyank goodness --- init.lua | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index b8b5d45..fd6640f 100644 --- a/init.lua +++ b/init.lua @@ -112,7 +112,7 @@ vim.api.nvim_set_keymap('n', 'll', 'G{jV}y}p10l', { noremap = true }) -- Copy the current entry to the bottom, copy date from last entry vim.api.nvim_set_keymap('n', 'lb', '{jV}yGp10l{{jvEy}jvEpl', { noremap = true }) -- Copy the current entry to the next position -vim.api.nvim_set_keymap('n', 'ln', '{jV}y}p10l', { noremap = true }) +--vim.api.nvim_set_keymap('n', 'ln', '{jV}y}p10l', { noremap = true }) -- Jump down from line to replace dollar ammount vim.api.nvim_set_keymap('n', 'ld', 'j^f$lC', { noremap = true }) -- After searching pull entry to current position @@ -374,7 +374,8 @@ return require('packer').startup(function() config = function() vim.g.ale_linters = { sh = { "shellcheck", }, - python = { "black", "flake8", "isort" }, + python = { "flake8" }, + dockerfile = { "hadolint" }, } vim.g.ale_fixers = { sh = { "shfmt", }, @@ -383,6 +384,12 @@ return require('packer').startup(function() end } use 'junegunn/goyo.vim' + use { + 'ojroques/vim-oscyank', + config = function() + vim.api.nvim_set_keymap('n', 'y', 'OSCYankReg 0', { noremap = true }) + end + } use 'hashivim/vim-terraform' use { 'jremmen/vim-ripgrep', -- cgit v1.2.3