mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2025-01-01 15:39:20 +00:00
Add focus
This commit is contained in:
parent
d29dc75ce7
commit
3c6066dbf0
3 changed files with 10 additions and 0 deletions
|
@ -47,3 +47,6 @@ map("x", "*", [[*<Cmd>lua require('hlslens').start()<CR>]], opts)
|
||||||
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)
|
||||||
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)
|
||||||
|
|
|
@ -92,6 +92,9 @@ return require("packer").startup(function()
|
||||||
-- Cutlass
|
-- Cutlass
|
||||||
use("gbprod/cutlass.nvim")
|
use("gbprod/cutlass.nvim")
|
||||||
|
|
||||||
|
-- Focus
|
||||||
|
use("beauwilliams/focus.nvim")
|
||||||
|
|
||||||
-- null-ls
|
-- null-ls
|
||||||
use({
|
use({
|
||||||
"jose-elias-alvarez/null-ls.nvim",
|
"jose-elias-alvarez/null-ls.nvim",
|
||||||
|
|
4
.config/nvim/lua/plugins/focus.lua
Normal file
4
.config/nvim/lua/plugins/focus.lua
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require("focus").setup({
|
||||||
|
sign_column = true,
|
||||||
|
hybridnumber = true,
|
||||||
|
})
|
Loading…
Reference in a new issue