Skip to content

Commit

Permalink
neovim: add and setup bigfile.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
anachronic committed Feb 21, 2024
1 parent 5fa1393 commit 5fb334a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,6 @@
[submodule "vim-caddyfile"]
path = common/link/.config/nvim/pack/bundle/opt/vim-caddyfile
url = https://github.com/isobit/vim-caddyfile
[submodule "bigfile.nvim"]
path = common/link/.config/nvim/pack/bundle/opt/bigfile.nvim
url = https://github.com/LunarVim/bigfile.nvim
3 changes: 3 additions & 0 deletions common/link/.config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ plug('neorg') -- Next gen orgmode?
plug('hyprland-vim-syntax')
plug('vim-caddyfile') -- Been using caddy lately

plug('bigfile.nvim') -- mostly database dumps...

plug('nvim-treesitter') -- General syntax parsing
plug('nvim-treesitter-endwise') -- endwise based on treesitter syntax

Expand Down Expand Up @@ -152,6 +154,7 @@ require('ach.yank-highlight')
require('ach.neorg')
require('ach.surround')
require('ach.gitlinker')
require('ach.bigfile')

vim.keymap.set('n', ']f', "<Cmd>lua require('ach.unimpaired').edit_next_file_dir()<CR>")
vim.keymap.set('n', '[f', "<Cmd>lua require('ach.unimpaired').edit_prev_file_dir()<CR>")
Expand Down
3 changes: 3 additions & 0 deletions common/link/.config/nvim/lua/ach/bigfile.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
local bigfile = require('bigfile')

bigfile.setup({})
1 change: 1 addition & 0 deletions common/link/.config/nvim/pack/bundle/opt/bigfile.nvim
Submodule bigfile.nvim added at 33eb06

0 comments on commit 5fb334a

Please sign in to comment.