-- telescope.nvim local telescope = require('telescope') if telescope then local telescope_builtin = require('telescope.builtin') if telescope_builtin then vim.keymap.set('n', 'fb', telescope_builtin.buffers, {}) vim.keymap.set('n', 'fg', telescope_builtin.git_files, {}) vim.keymap.set('n', 'fh', telescope_builtin.oldfiles, {}) vim.keymap.set('n', 'fr', telescope_builtin.reloader, {}) vim.keymap.set('n', 'fs', telescope_builtin.spell_suggest, {}) end local telescope_actions = require('telescope.actions') telescope.setup { defaults = { mappings = { i = { [''] = telescope_actions.move_selection_next, [''] = telescope_actions.move_selection_previous, [''] = telescope_actions.close, }, }, } } end -- hflip.nvim vim.keymap.set('n', 'gfs', vim.cmd.HFlip) -- vim-airline vim.g['airline#extensions#tabline#enabled'] = 1 vim.g['airline_symbols_ascii'] = 1 -- vim-argwrap vim.keymap.set('n', 'a', vim.cmd.ArgWrap) -- vim-better-whitespace vim.api.nvim_set_hl(0, 'ExtraWhitespace', { bg = '#6c71c4' }) -- vim-dirvish vim.g.dirvish_mode = ':sort ,^.*[\\/],' -- vim-easy-align vim.g.easy_align_ignore_groups = {} vim.keymap.set('n', 'ga', '(EasyAlign)') vim.keymap.set('v', '', '(EasyAlign)') -- vim-go vim.g.go_diagnostics_enabled = 0 vim.g.go_imports_autosave = 0 vim.g.go_metalinter_enabled = {} vim.g.go_null_module_warning = 0 vim.g.go_version_warning = 0 -- vim-interestingwords vim.g.interestingWordsGUIColors = { '#8ccbea', '#a4e57e', '#ffdb72', '#ff7272', '#ffb3ff', '#9999ff' } vim.g.interestingWordsTermColors = { '154', '121', '211', '137', '214', '222' } -- vim-polyglot vim.g.rustfmt_autosave = 1