You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.2 KiB
45 lines
1.2 KiB
-- doom_config - Doom Nvim user configurations file
|
|
--
|
|
-- This file contains the user-defined configurations for Doom nvim.
|
|
-- Just override stuff in the `doom` global table (it's injected into scope
|
|
-- automatically).
|
|
|
|
-- ADDING A PACKAGE
|
|
--
|
|
-- doom.use_package("EdenEast/nightfox.nvim", "sainnhe/sonokai")
|
|
-- doom.use_package({
|
|
-- "ur4ltz/surround.nvim",
|
|
-- config = function()
|
|
-- require("surround").setup({mappings_style = "sandwich"})
|
|
-- end
|
|
-- })
|
|
|
|
-- ADDING A KEYBIND
|
|
--
|
|
-- doom.use_keybind({
|
|
-- -- The `name` field will add the keybind to whichkey
|
|
-- {"<leader>s", name = '+search', {
|
|
-- -- Bind to a vim command
|
|
-- {"g", "Telescope grep_string<CR>", name = "Grep project"},
|
|
-- -- Or to a lua function
|
|
-- {"p", function()
|
|
-- print("Not implemented yet")
|
|
-- end, name = ""}
|
|
-- }}
|
|
-- })
|
|
|
|
-- ADDING A COMMAND
|
|
--
|
|
-- doom.use_cmd({
|
|
-- {"CustomCommand1", function() print("Trigger my custom command 1") end},
|
|
-- {"CustomCommand2", function() print("Trigger my custom command 2") end}
|
|
-- })
|
|
|
|
-- ADDING AN AUTOCOMMAND
|
|
--
|
|
-- doom.use_autocmd({
|
|
-- { "FileType", "javascript", function() print('This is a javascript file') end }
|
|
-- })
|
|
|
|
|
|
-- vim: sw=2 sts=2 ts=2 expandtab
|
|
|