Add settings for nvim gui and install telescope cder plugin
This commit is contained in:
parent
7e6a410b86
commit
a5e1613b07
4 changed files with 14 additions and 2 deletions
|
@ -33,7 +33,7 @@ require('packer').startup(function()
|
|||
}
|
||||
|
||||
-- Startup screen/dashboard
|
||||
use 'glepnir/dashboard-nvim'
|
||||
--use 'glepnir/dashboard-nvim'
|
||||
|
||||
-- Git in signcolumn
|
||||
use 'airblade/vim-gitgutter'
|
||||
|
@ -69,7 +69,8 @@ require('packer').startup(function()
|
|||
requires = {
|
||||
{'nvim-lua/plenary.nvim'}, -- Internal dep for telescope
|
||||
{'nvim-telescope/telescope-fzf-native.nvim', run = 'make'}, -- Use fzf for fuzzy finder
|
||||
{'nvim-telescope/telescope-ui-select.nvim'} -- Replace vim built in select with telescope
|
||||
{'nvim-telescope/telescope-ui-select.nvim'}, -- Replace vim built in select with telescope
|
||||
{'zane-/cder.nvim'}, -- cd plugin for telescope
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ return function()
|
|||
|
||||
telescope.load_extension('fzf')
|
||||
telescope.load_extension('ui-select')
|
||||
telescope.load_extension('cder')
|
||||
|
||||
-- Keybinds
|
||||
vim.keymap.set('n', '<C-t>', vim.cmd.Telescope)
|
||||
|
|
|
@ -4,9 +4,16 @@ local g = vim.g
|
|||
-- True colors
|
||||
o.termguicolors = true
|
||||
|
||||
-- Font for nvim GUI's
|
||||
o.guifont = 'Fira Code:h14'
|
||||
|
||||
-- Floating window transparency
|
||||
o.winblend = 10
|
||||
|
||||
-- Set window title
|
||||
o.title = true
|
||||
o.titlestring = 'NeoVim: ' .. vim.fn.getcwd()
|
||||
|
||||
-- Diff settings
|
||||
o.diffopt = 'filler,internal,algorithm:histogram,indent-heuristic'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue