diff options
Diffstat (limited to 'init.lua')
-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', |