local vimp = require('vimp') -- Map leader vim.g.mapleader = " " -- NvimTree vimp.noremap({ 'silent' }, 'n', [[:NvimTreeToggle]]) -- Telescope vimp.noremap({ 'silent' }, 'ff', [[:Telescope find_files]]) vimp.noremap({ 'silent' }, 'fg', [[:Telescope live_grep]]) vimp.noremap({ 'silent' }, 'fb', [[:Telescope buffers]]) -- tabs and stuff vimp.vnoremap('', [[]]) vimp.noremap("", [[>gv]]) vimp.noremap("", [[', [[:TablineBufferNext]]) vimp.nnoremap({ 'silent' }, '', [[:TablineBufferPrevious]]) -- markdown vimp.noremap({ 'silent' }, 'md', [[:MarkdownPreviewToggle]]) -- Remove search highlight on Enter vimp.nnoremap("", [[:nohlsearch]]) -- Don't lose selection on < or > vimp.xnoremap("<", [[", [[>gv]]) -- ArgWrap vimp.nnoremap({ 'silent' }, 'a', [[:ArgWrap]]) -- Toggle Line vimp.nnoremap({ 'silent' }, 'l', [[:lua Toggleln()]])