(nvim) make copy of v0.11 neovim config
This commit is contained in:
parent
f0db0ada98
commit
f5c36908f3
38 changed files with 1796 additions and 0 deletions
1
nvim-0.11/after/ftplugin/blade.lua
Normal file
1
nvim-0.11/after/ftplugin/blade.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
vim.opt_local.commentstring = "{{-- %s --}}"
|
||||
2
nvim-0.11/after/ftplugin/go.lua
Normal file
2
nvim-0.11/after/ftplugin/go.lua
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-- quick way to handle errors in Go
|
||||
vim.keymap.set("n", "<leader>ee", "oif err != nil {<CR>}<ESC>Oreturn err<ESC>")
|
||||
7
nvim-0.11/after/ftplugin/markdown.lua
Normal file
7
nvim-0.11/after/ftplugin/markdown.lua
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
local map = vim.keymap.set
|
||||
|
||||
map("v", "<leader>ln", "<CMD>ObsidianLinkNew<CR>")
|
||||
map("n", "<C-n>", "<CMD>ObsidianNew<CR>")
|
||||
map("n", "<leader>of", "<CMD>ObsidianSearch<CR>")
|
||||
map("n", "<leader>ll", "<CMD>ObsidianLinks<CR>")
|
||||
map("n", "<C-]>", "<CMD>ObsidianFollowLink<CR>")
|
||||
Loading…
Add table
Add a link
Reference in a new issue