neovim: add shortcut for manix stuff

This commit is contained in:
Aaron Bieber 2023-01-04 18:41:45 -07:00
parent cb4bbb151a
commit 6f702ff383
No known key found for this signature in database

View File

@ -61,6 +61,7 @@ o.hlsearch = true;
map('n', '<C-n>', ':NvimTreeToggle<CR>', {noremap = true}) map('n', '<C-n>', ':NvimTreeToggle<CR>', {noremap = true})
map('n', '<C-p>', ':Files<CR>', {noremap = true}) map('n', '<C-p>', ':Files<CR>', {noremap = true})
map('n', '<C-m>', ':Telescope manix<CR>', {noremap = true})
map('n', '<leader>r', ':NvimTreeRefresh<CR>', {noremap = true}) map('n', '<leader>r', ':NvimTreeRefresh<CR>', {noremap = true})
map('n', '<leader>s', ':%s/\\s\\+$//e', {noremap = true}) map('n', '<leader>s', ':%s/\\s\\+$//e', {noremap = true})