1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-29 20:03:44 +00:00

Add focus

This commit is contained in:
Mo8it 2022-04-04 14:17:05 +02:00
parent d29dc75ce7
commit 3c6066dbf0
3 changed files with 10 additions and 0 deletions

View file

@ -47,3 +47,6 @@ map("x", "*", [[*<Cmd>lua require('hlslens').start()<CR>]], opts)
map("x", "#", [[#<Cmd>lua require('hlslens').start()<CR>]], opts)
map("x", "g*", [[g*<Cmd>lua require('hlslens').start()<CR>]], opts)
map("x", "g#", [[g#<Cmd>lua require('hlslens').start()<CR>]], opts)
-- Focus
vim.api.nvim_set_keymap("n", "<C-l>", ":lua require('focus').split_cycle()<CR>", opts)

View file

@ -92,6 +92,9 @@ return require("packer").startup(function()
-- Cutlass
use("gbprod/cutlass.nvim")
-- Focus
use("beauwilliams/focus.nvim")
-- null-ls
use({
"jose-elias-alvarez/null-ls.nvim",

View file

@ -0,0 +1,4 @@
require("focus").setup({
sign_column = true,
hybridnumber = true,
})