New abbreviation, keybind, and some firenvim tweaks
This commit is contained in:
parent
95cddbc510
commit
a1b3cf01ee
3 changed files with 21 additions and 2 deletions
dotfiles/neovim/lua/my/plugins
|
@ -1,4 +1,5 @@
|
|||
local env = require("my.helpers.env")
|
||||
local K = require("my.keymaps")
|
||||
|
||||
local M = {
|
||||
"glacambre/firenvim", -- vim inside chrome
|
||||
|
@ -10,11 +11,22 @@ function M.config()
|
|||
vim.g.firenvim_config = {
|
||||
localSettings = {
|
||||
[".*"] = {
|
||||
filename = "/tmp/firenvim_{hostname}_{pathname%10}_{timestamp%32}.{extension}",
|
||||
filename = "/tmp/firenvim_{hostname}_{pathname}_{selector}_{timestamp}.{extension}",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
K.nmap("<C-e>", function()
|
||||
vim.opt.lines = 100
|
||||
end, "Expand the neovim window!")
|
||||
|
||||
vim.api.nvim_create_autocmd("BufEnter", {
|
||||
pattern = { "firenvim_localhost_notebooks*.txt" },
|
||||
callback = function()
|
||||
vim.opt.filetype = "markdown"
|
||||
end,
|
||||
})
|
||||
|
||||
-- Disable status line
|
||||
vim.opt.laststatus = 0
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue