Skip to content

Commit

Permalink
feat: remove animations and add multi cursor support
Browse files Browse the repository at this point in the history
  • Loading branch information
miszo committed Nov 30, 2023
1 parent 9377d42 commit 6d5649c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion home/dot_config/nvim/lua/config/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keymap.set('n', '<leader>dd', function()
end, { desc = 'Lazydocker' })

-- Save file
keymap.set({ 'i', 'x', 'n', 's' }, '<C-s>', '<cmd>wa<cr><esc>', { desc = 'Save file' })
keymap.set({ 'i', 'x', 'n', 's' }, '<C-s>', '<cmd>wa<cr><esc>', { desc = 'Save all opened files' })

-- Disable continuations
keymap.set('n', '<leader>o', 'o<Esc>^Da', opts)
Expand Down
2 changes: 0 additions & 2 deletions home/dot_config/nvim/lua/config/lazy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ require('lazy').setup({
-- import any extras modules here
{ import = 'lazyvim.plugins.extras.lang.typescript' },
{ import = 'lazyvim.plugins.extras.lang.json' },
{ import = 'lazyvim.plugins.extras.ui.mini-animate' },
{ import = 'lazyvim.plugins.extras.linting.eslint' },
-- { import = 'lazyvim.plugins.extras.test.core' },
{ import = 'lazyvim.plugins.extras.dap.core' },
{ import = 'lazyvim.plugins.extras.util.project' },
{ import = 'lazyvim.plugins.extras.formatting.prettier' },
Expand Down
2 changes: 1 addition & 1 deletion home/dot_config/nvim/lua/config/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ vim.opt.splitbelow = true -- Put new windows below current
vim.opt.splitright = true -- Put new windows right of current
vim.opt.splitkeep = 'cursor'

-- Nightly
-- Nightfly
vim.g.nightflyTransparent = true
vim.g.nightflyUnderlineMatchParen = true
vim.g.nightflyVirtualTextColor = true
Expand Down
5 changes: 5 additions & 0 deletions home/dot_config/nvim/lua/plugins/coding.lua
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@ return {
},
config = true,
},
-- Multi cursor
{
'mg979/vim-visual-multi',
},
-- Local plugins
{
dir = '../local-plugins/copy-filepath',
config = function()
Expand Down
10 changes: 0 additions & 10 deletions home/dot_config/nvim/lua/plugins/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@ return {
'luukvbaal/statuscol.nvim',
config = true,
},
-- animations
{
'echasnovski/mini.animate',
event = 'VeryLazy',
opts = function(_, opts)
opts.scroll = {
enable = false,
}
end,
},
-- buffer line
{
'akinsho/bufferline.nvim',
Expand Down
3 changes: 3 additions & 0 deletions home/dot_config/nvim/lua/util/tasks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ function M.run_on_every_task(actionName)
end

local tasks = overseer.list_tasks({ unique = false })
if next(tasks) == nil then
return
end
for _, task in ipairs(tasks) do
overseer.run_action(task, actionName)
end
Expand Down

0 comments on commit 6d5649c

Please sign in to comment.