1
0
Fork 0

nvim: cheatsheet

This commit is contained in:
Von Random 2023-08-22 20:41:13 +03:00
parent 6a8ae2f0cc
commit 466d355a9c

View file

@ -6,6 +6,7 @@ local function plugins(use)
'lifepillar/vim-gruvbox8', 'lifepillar/vim-gruvbox8',
branch = 'neovim' branch = 'neovim'
} }
use 'lifepillar/vim-cheat40'
use 'hoob3rt/lualine.nvim' use 'hoob3rt/lualine.nvim'
use 'hashivim/vim-terraform' use 'hashivim/vim-terraform'
use 'khaveesh/vim-fish-syntax' use 'khaveesh/vim-fish-syntax'
@ -27,7 +28,7 @@ end
--[[ init plugins and install packer if missing ]] --[[ init plugins and install packer if missing ]]
if require('packer_init').init(plugins) then return end if require('packer_init').init(plugins) then return end
--[[ plugins config ]] --[[ plugin configs ]]
require('lualine').setup{ require('lualine').setup{
options = { options = {
icons_enabled = false, icons_enabled = false,
@ -36,7 +37,8 @@ require('lualine').setup{
} }
} }
--[[ telescope maps ]] --[[ plugin maps ]]
map('n', '<Leader>?', '<cmd>Cheat40<CR>')
map('n', '<Leader>.', '<cmd>Telescope git_files<CR>') map('n', '<Leader>.', '<cmd>Telescope git_files<CR>')
map('n', '<Leader>,', '<cmd>Telescope buffers<CR>') map('n', '<Leader>,', '<cmd>Telescope buffers<CR>')