diff options
author | Cody Hiar <cody@hiar.ca> | 2022-03-25 11:32:11 -0600 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2022-03-25 11:32:11 -0600 |
commit | 51b82b425a68ee9a4e396e0e4a1af6c6c747b05d (patch) | |
tree | c78ffbb3857c2fe731bcc87b56283fc701c6e76e | |
parent | f3c1bb05ae43eb412dcac19aa5563b891c208f8c (diff) |
oscyank goodness
-rw-r--r-- | init.lua | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -112,7 +112,7 @@ vim.api.nvim_set_keymap('n', '<leader>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', '<leader>lb', '{jV}yGp10l{{jvEy}jvEpl', { noremap = true }) -- Copy the current entry to the next position -vim.api.nvim_set_keymap('n', '<leader>ln', '{jV}y}p10l', { noremap = true }) +--vim.api.nvim_set_keymap('n', '<leader>ln', '{jV}y}p10l', { noremap = true }) -- Jump down from line to replace dollar ammount vim.api.nvim_set_keymap('n', '<leader>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', '<leader>y', '<cmd>OSCYankReg 0<cr>', { noremap = true }) + end + } use 'hashivim/vim-terraform' use { 'jremmen/vim-ripgrep', |