Compare commits
No commits in common. "811016c43280fe1ef8f333531651214042d9718c" and "5d8ffd9e0325cca0e73d42cd1c6d2676a4f0d70d" have entirely different histories.
811016c432
...
5d8ffd9e03
2 changed files with 3 additions and 24 deletions
|
|
@ -4,6 +4,9 @@ vim.cmd("set tabstop=2")
|
|||
vim.cmd("set softtabstop=2")
|
||||
vim.cmd("set shiftwidth=2")
|
||||
|
||||
-- Configure Navigation Keys
|
||||
-- This is all handled by the vim-tmux-navigator plugin now
|
||||
|
||||
-- Configure Editor Settings
|
||||
vim.cmd("set number")
|
||||
vim.cmd("set scrolloff=8")
|
||||
|
|
@ -30,14 +33,6 @@ vim.g.mapleader = " "
|
|||
-- Init Lazy Plugin Manager
|
||||
require("config.lazy")
|
||||
|
||||
-- Set CWD to opened directory
|
||||
vim.api.nvim_create_autocmd("VimEnter", {
|
||||
desc = "cd to passed $PWD when vim starts",
|
||||
callback = function()
|
||||
vim.api.nvim_set_current_dir(vim.fn.getcwd())
|
||||
end,
|
||||
})
|
||||
|
||||
-- Configure nvim Keymaps
|
||||
vim.keymap.set("n", "<leader>r", ":source %<CR>", { desc = "Reload Config" })
|
||||
vim.keymap.set("n", "<leader>bs", ":vsplit<CR>", { desc = "Vertical Split" })
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"selimacerbas/markdown-preview.nvim",
|
||||
dependencies = { "selimacerbas/live-server.nvim" },
|
||||
config = function()
|
||||
require("markdown_preview").setup({
|
||||
-- all optional; sane defaults shown
|
||||
port = 8421,
|
||||
open_browser = true,
|
||||
debounce_ms = 300,
|
||||
})
|
||||
end,
|
||||
vim.keymap.set("n", "<leader>vp", "<cmd>MarkdownPreview<cr>", { desc = "View Markdown Preview" }),
|
||||
vim.keymap.set("n", "<leader>vP", "<cmd>MarkdownPreview<cr>", { desc = "Hide Markdown Preview" })
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue