added keybinds and config
This commit is contained in:
6
init.lua
6
init.lua
@@ -1,4 +1,5 @@
|
||||
require("config.lazy")
|
||||
require("config.keybinds")
|
||||
|
||||
-- set theme
|
||||
vim.cmd.colorscheme "catppuccin-frappe"
|
||||
@@ -6,3 +7,8 @@ vim.cmd.colorscheme "catppuccin-frappe"
|
||||
-- relative linenumbers
|
||||
vim.wo.relativenumber = true
|
||||
vim.wo.number = true
|
||||
|
||||
-- tab-width
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.tabstop = 4
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
|
||||
"catppuccin": { "branch": "main", "commit": "c89184526212e04feffbddda9d06b041a8fca416" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
||||
"mason.nvim": { "branch": "main", "commit": "a83eabdc8c49c0c93bf5bb162fa3b57404a9d095" }
|
||||
"mason.nvim": { "branch": "main", "commit": "ad7146aa61dcaeb54fa900144d768f040090bff0" }
|
||||
}
|
||||
|
||||
1
lua/config/keybinds.lua
Normal file
1
lua/config/keybinds.lua
Normal file
@@ -0,0 +1 @@
|
||||
vim.api.nvim_set_keymap('n', '', ':set wrap!\n', {})
|
||||
9
lua/plugins/comment.lua
Normal file
9
lua/plugins/comment.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
return {
|
||||
'numToStr/Comment.nvim',
|
||||
opts = {
|
||||
-- add any options here
|
||||
toggler = {
|
||||
line = ""
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user