1 local nvjournal = require("plugins.nvjournal")
4 vim.print("Setup Vundle")
6 -- Ensure Vundle is installed
7 local install_path = vim.fn.stdpath('data')..'/site/pack/packer/start/Vundle.vim'
8 if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
9 vim.fn.system({'git', 'clone', 'https://github.com/VundleVim/Vundle.vim.git', install_path})
14 set nocompatible " Be iMproved, required
15 filetype off " Required
17 " Set the runtime path to include Vundle and initialize
18 set rtp+=~/.vim/bundle/Vundle.vim
21 " Let Vundle manage Vundle, required
22 Plugin 'VundleVim/Vundle.vim'
25 " For example, to add vim-fugitive:
26 " Plugin 'tpope/vim-fugitive'
27 Plugin 'vim-pandoc/vim-pandoc-syntax'
28 Plugin 'nvim-lua/plenary.nvim'
29 Plugin 'nvim-telescope/telescope.nvim', { 'tag': '0.1.8' }
31 call vundle#end() " Required
32 filetype plugin indent on " Required
35 au! BufNewFile,BufFilePre,BufRead *.md set filetype=markdown.pandoc
39 let g:pandoc#syntax#conceal#use = 0
52 vim.api.nvim_set_keymap("n", "<leader>j", ":Note<CR>", { noremap = true, silent = true })
53 vim.api.nvim_set_keymap("n", "<leader>d", ":Note<CR>daily<CR>", { noremap = true, silent = true })
55 vim.api.nvim_set_keymap("n", "<leader>f", ":Telescope find_files<CR>", { noremap = true, silent = true })
56 vim.api.nvim_set_keymap("n", "<leader>g", ":Telescope live_grep<CR>", { noremap = true, silent = true })
57 vim.api.nvim_set_keymap("n", "<leader>b", ":Telescope buffers<CR>", { noremap = true, silent = true })
58 vim.api.nvim_set_keymap("n", "<leader>h", ":Telescope help_tags<CR>", { noremap = true, silent = true })