From dfca07913f66a56bc791c604934ebfb57e6c95d0 Mon Sep 17 00:00:00 2001 From: "Vito G. Graffagnino" Date: Fri, 2 Sep 2022 16:57:04 +0100 Subject: latex tweaks --- lua/user/keymaps.lua | 4 ++++ lua/user/plugins.lua | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index 19fbe85..8b3c8ec 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -65,9 +65,13 @@ keymap("t", "", "j", term_opts) keymap("t", "", "k", term_opts) keymap("t", "", "l", term_opts) +-- Open corresponding .pdf/.html or preview +keymap("n","p", ":!opout %", opts) + -- Nvimtree keymap("n", "e", ":NvimTreeToggle", opts) keymap("n", "v", ":edit $MYVIMRC", opts) + -- keymap("n", "ff", "lua require'telescope.builtin'.find_files(require('telescope.themes').get_dropdown({ previewer = false }))", opts) keymap("n", "ff", ":Telescope find_files(require('telescope.themes').get_dropdown({ previewer = false }))", opts) keymap("n", "ft", ":Telescope live_grep", opts) diff --git a/lua/user/plugins.lua b/lua/user/plugins.lua index a3c9884..3be966f 100644 --- a/lua/user/plugins.lua +++ b/lua/user/plugins.lua @@ -52,7 +52,7 @@ return packer.startup(function(use) use {"kyazdani42/nvim-tree.lua", commit = ""} use {"lewis6991/impatient.nvim", commit = ""} use {"lukas-reineke/indent-blankline.nvim", commit = ""} - use {"moll/vim-bbye", commit = ""} + --use {"moll/vim-bbye", commit = ""} use {"numToStr/Comment.nvim", commit = ""} -- Easily comment stuff use {"nvim-lualine/lualine.nvim", commit = ""} use {"windwp/nvim-autopairs", commit = ""} -- Autopairs, integrates with both cmp and treesitter -- cgit v1.2.3